Commit Graph

6 Commits (fix-mingw)

Author SHA1 Message Date
Nakidai e2d01db144 Refactor
- Fix bug when Make cannot create obj/platform
- Remove some mallocs
2023-12-09 00:35:49 +03:00
Nakidai 1685dc927b Remove functions for free screen and player as they're unused 2023-12-01 23:07:02 +03:00
Nakidai 4b208ab1c4 Move some functions
- Remove platform.c, instead use inlines
- Some small functions in screen.c are now inline too
- Make functions in sleep.c and input.c not specified in header static
2023-11-30 17:52:46 +03:00
Nakidai 758dbf9cc2
Some fixes
- Fix UB in playerCreate (it had no return)
- Now Screen has field of Points, not chars
2023-10-30 02:36:03 +03:00
Nakidai b402dc177c
Add gameplay
- wasd - turn snake
- q - leave
2023-10-30 01:55:20 +03:00
Nakidai 03481db05f
Add files 2023-10-29 20:03:23 +03:00