cleanup of unnecessarily convoluted function call
[rocksndiamonds.git] / src / game_bd / bd_caveengine.h
index 12c456dec3e6da0d8354c2b210bdea7c6c63e38e..b4c44f5b104e6d073e7b8cf72238c33b4024573f 100644 (file)
 #ifndef BD_CAVEENGINE_H
 #define BD_CAVEENGINE_H
 
-#include <glib.h>
-
 #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);