add selected shape drawing

This commit is contained in:
2025-01-29 10:45:28 +01:00
parent 16f5380ef4
commit 1a342d764c
3 changed files with 56 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ static void update_input(GameData* game_data, const uint8_t* keys) {
game_data->selected.x--;
if (keys[SDL_SCANCODE_RIGHT] || keys[SDL_SCANCODE_D])
game_data->selected.y++;
game_data->selected.x++;
}