X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fbd_caveengine.h;h=b4c44f5b104e6d073e7b8cf72238c33b4024573f;hb=3b292f6abf8f677bbfdbd9b583c54113b8e64959;hp=0c1a67cfe2a71d240a26872a977a349d1956c042;hpb=93a37840d8ff4a84fc878f148e3abfeecb701821;p=rocksndiamonds.git diff --git a/src/game_bd/bd_caveengine.h b/src/game_bd/bd_caveengine.h index 0c1a67cf..b4c44f5b 100644 --- a/src/game_bd/bd_caveengine.h +++ b/src/game_bd/bd_caveengine.h @@ -21,6 +21,8 @@ // 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);