wip procgen
This commit is contained in:
parent
a653eae745
commit
79a678f162
18 changed files with 1317 additions and 127 deletions
|
|
@ -294,9 +294,11 @@ SDL_AppResult SDL_AppEvent(void* appstate, SDL_Event* event) {
|
|||
break;
|
||||
|
||||
case SDL_EVENT_KEY_DOWN: {
|
||||
#ifdef DEBUG
|
||||
if (event->key.key == SDLK_ESCAPE) {
|
||||
game->running = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
SDL_Scancode scancode = event->key.scancode;
|
||||
if (scancode < 256) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue