X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame_bd%2Fbd_caveengine.h;h=b4c44f5b104e6d073e7b8cf72238c33b4024573f;hb=refs%2Fheads%2Fmaster-next-major-release;hp=12c456dec3e6da0d8354c2b210bdea7c6c63e38e;hpb=7fb08abe58b2c84e36a5ed247d2103e08ae98aa4;p=rocksndiamonds.git diff --git a/src/game_bd/bd_caveengine.h b/src/game_bd/bd_caveengine.h index 12c456de..b4c44f5b 100644 --- a/src/game_bd/bd_caveengine.h +++ b/src/game_bd/bd_caveengine.h @@ -17,12 +17,12 @@ #ifndef BD_CAVEENGINE_H #define BD_CAVEENGINE_H -#include - #include "bd_cave.h" -/* the game itself */ +// the game itself +boolean is_player(const GdCave *cave, const int x, const int y); +boolean can_be_pushed_dir(const GdCave *cave, const int x, const int y, const GdDirection dir); GdDirection gd_direction_from_keypress(boolean up, boolean down, boolean left, boolean right); void gd_cave_iterate(GdCave *cave, GdDirection player_move, boolean player_fire, boolean suicide); void set_initial_cave_speed(GdCave *cave);