5 Commits

Author SHA1 Message Date
Hanse-14
1eb795f959 Change key event 'q'
pressing 'q' while playing current game will be closed and leaderboard would be shown
2024-05-05 19:35:47 +02:00
jonny_l480
119f9a106d Fix compiler errors and warnings, Cleanup main.cpp
- Remove old comments and unused code from main.cpp
- Fix the following compiler errors and warnings (compiles now):

WARNING: main.cpp:64:23: warning: comparison between ‘gameState_t’ {aka ‘enum gameState_t’} and ‘enum menus_t’ if(game.gameState == PAUSE)

WARNING: menu.c:111:9: warning: implicit declaration of function ‘renderSettings’

ERROR: multiple definitions / redefinition of 'int recordsInFile'
2023-12-22 11:40:40 +01:00
Hanse-14
f01630fe67 Change scores in leaderboard to 10 2023-12-21 10:19:48 +01:00
Hanse-14
1a9a348793 fix scoreboard 2023-12-20 16:35:25 +01:00
Hanse-14
b5e85de24c Add module 'files'
- write score after death
- read a number of scores
2023-12-18 04:47:44 +01:00