1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 21:42:59 +00:00

migrated to SDL3

This commit is contained in:
Zeno Rogue
2025-06-07 16:16:57 +02:00
parent 41ffba600f
commit a80b74dc62
25 changed files with 435 additions and 235 deletions

View File

@@ -384,7 +384,7 @@ bool last_mkey = false;
extern int mousepx, mousepy;
void game_frame() {
const Uint8 *keystate = SDL12_GetKeyState(NULL);
const sdl_keystate_type *keystate = SDL12_GetKeyState(NULL);
if(keystate['3'])
current_room->place_block_full(mousepx / block_x, mousepy / block_y, 0);
if(keystate['1'])