X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fbd_graphics.c;h=f1558c277da10ab2cf210063960276db7398c867;hb=11f100237c5f4e22a11df896c15e144eea2be887;hp=4ae1390a8aef30fc25c3a6451476af10e4ae76b2;hpb=d734f10b6ace4fb67c2d260607349a6409fbdb57;p=rocksndiamonds.git diff --git a/src/game_bd/bd_graphics.c b/src/game_bd/bd_graphics.c index 4ae1390a..f1558c27 100644 --- a/src/game_bd/bd_graphics.c +++ b/src/game_bd/bd_graphics.c @@ -58,8 +58,6 @@ static int scroll_x, scroll_y; // quit, global variable which is set to true if the application should quit boolean gd_quit = FALSE; -const byte *gd_keystate; - static int cell_size = 0; // graphic info for game objects/frames and players/actions/frames @@ -110,11 +108,9 @@ void set_play_area(int w, int h) play_area_h = h; } -void gd_init_keystate(void) +void gd_init_play_area(void) { set_play_area(SXSIZE, SYSIZE); - - gd_keystate = SDL_GetKeyboardState(NULL); } /*