// 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
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);
}
/*
return (gd_elements[element & O_MASK].properties & P_DIGGABLE) != 0;
}
+#if 0
// returns true if the element is collectible
static inline boolean el_collectible(const int element)
{
return (gd_elements[element & O_MASK].properties & P_COLLECTIBLE) != 0;
}
+#endif
// returns true if the element is pushable
static inline boolean el_pushable(const int element)