X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fbd_graphics.c;h=0194f4429b043ec7cfbc02fb0ce6c1392f1e94bf;hb=ed0e6a47f8df7c4342c54f2bb3c501c8458ba90d;hp=aab4330160292ff3727b75f758cd0a99efda7313;hpb=edaa850fd2d2cae7ec31961fae3d56487e710c71;p=rocksndiamonds.git diff --git a/src/game_bd/bd_graphics.c b/src/game_bd/bd_graphics.c index aab43301..0194f442 100644 --- a/src/game_bd/bd_graphics.c +++ b/src/game_bd/bd_graphics.c @@ -108,7 +108,7 @@ 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); } @@ -538,11 +538,13 @@ static inline boolean el_diggable(const int element) 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)