projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed unused array for SDL key state
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_graphics.c
diff --git
a/src/game_bd/bd_graphics.c
b/src/game_bd/bd_graphics.c
index 4ae1390a8aef30fc25c3a6451476af10e4ae76b2..aab4330160292ff3727b75f758cd0a99efda7313 100644
(file)
--- 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;
// 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
static int cell_size = 0;
// graphic info for game objects/frames and players/actions/frames
@@
-113,8
+111,6
@@
void set_play_area(int w, int h)
void gd_init_keystate(void)
{
set_play_area(SXSIZE, SYSIZE);
void gd_init_keystate(void)
{
set_play_area(SXSIZE, SYSIZE);
-
- gd_keystate = SDL_GetKeyboardState(NULL);
}
/*
}
/*