X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fgui%2Ftouchscreengui.h;h=1f9adda2204bdcb7b98b4cb17b8dd71a4194efd9;hb=cb00632e23a41d8d171631de9d85e168b251b80e;hp=5102f188bf913578599d838018e2ac71c05d7ff3;hpb=7ebc229b0d2d59e367b8ba64a41535d79fdd4204;p=dragonfireclient.git diff --git a/src/gui/touchscreengui.h b/src/gui/touchscreengui.h index 5102f188b..1f9adda22 100644 --- a/src/gui/touchscreengui.h +++ b/src/gui/touchscreengui.h @@ -27,13 +27,14 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include "client/tile.h" -#include "game.h" +#include "client/game.h" using namespace irr; using namespace irr::core; using namespace irr::gui; -typedef enum { +typedef enum +{ jump_id = 0, crunch_id, zoom_id, @@ -61,7 +62,8 @@ typedef enum { joystick_center_id } touch_gui_button_id; -typedef enum { +typedef enum +{ j_forward = 0, j_backward, j_left, @@ -69,7 +71,8 @@ typedef enum { j_special1 } touch_gui_joystick_move_id; -typedef enum { +typedef enum +{ AHBB_Dir_Top_Bottom, AHBB_Dir_Bottom_Top, AHBB_Dir_Left_Right, @@ -81,7 +84,7 @@ typedef enum { #define BUTTON_REPEAT_DELAY 0.2f #define SETTINGS_BAR_Y_OFFSET 5 -#define RARE_CONTROLS_BAR_Y_OFFSET 4 +#define RARE_CONTROLS_BAR_Y_OFFSET 5 extern const char **touchgui_button_imagenames; extern const char **touchgui_joystick_imagenames;