X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fbd_caveengine.h;h=b4c44f5b104e6d073e7b8cf72238c33b4024573f;hb=b197ad86c0801f6139e4f147bf22bd375c9dfb63;hp=88b2675704fb678312cd19ac1df680d67486a8ee;hpb=bd560c53129c84976b87827f1978ddf8de4ed57a;p=rocksndiamonds.git diff --git a/src/game_bd/bd_caveengine.h b/src/game_bd/bd_caveengine.h index 88b26757..b4c44f5b 100644 --- a/src/game_bd/bd_caveengine.h +++ b/src/game_bd/bd_caveengine.h @@ -20,7 +20,9 @@ #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);