Age | Commit message (Collapse) | Author |
|
Introduce Pause mechanics and mention it in README.md.
Makefile: replace unnecessary "-MMD -MP" with just "-MD" flag, so it
allows to compile with tcc too.
Refactor: Rename game.isStarted field to game.started field. Move
arrKeys container to engine.c and remove it from main.c. Refactor char
iterator in utf8to32_strcpy function.
|
|
Refactor controls a little: move key repeat clocks reset to the keys
handler.
Refactor field: rename rotation function (add "clockwise" postfix).
|
|
|
|
Introduce phantom shape feature, yay!
Refactor field: rename attribute of invisible empty cells, remove
"color" member from struct shape, introduce shape movement functions
with embedded collision checking and success reporting,
|
|
Check "Three next shapes". Remove silly "Main menu with beauties" entry.
Declare shaders in "Look with sprites" entry. Change gameplay
screenshot.
|
|
Fix memleak in KeyMap, fix memleak caused by loading a yaml file in
main.c. Change Copyright information. Rename functions.c and .h to
engine.c and .h. Take field and shape related functions to separate file
(still not all of them) and refactor them a lot. Refactor collision
detection. Add more warnings. Add sanitizer option commented out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|