summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2007-01-13 14:43:46 +0000
committerKUDr <kudr@openttd.org>2007-01-13 14:43:46 +0000
commit0edc029f9f37077143adf9b0a619d27b19eb1b11 (patch)
treee3d52067937be20667c58358b00642dad348d0d2 /src/gfx.cpp
parent57a366e6d843d00c660ba37197155d86c3f63b18 (diff)
downloadopenttd-0edc029f9f37077143adf9b0a619d27b19eb1b11.tar.xz
(svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h to gfx.h
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index de90ca461..ba6de033a 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -21,6 +21,24 @@
bool _dbg_screen_rect;
#endif
+byte _dirkeys; // 1 = left, 2 = up, 4 = right, 8 = down
+bool _fullscreen;
+CursorVars _cursor;
+bool _ctrl_pressed; // Is Ctrl pressed?
+bool _shift_pressed; // Is Shift pressed?
+byte _fast_forward;
+bool _left_button_down;
+bool _left_button_clicked;
+bool _right_button_down;
+bool _right_button_clicked;
+DrawPixelInfo _screen;
+bool _exit_game;
+bool _networking; ///< are we in networking mode?
+byte _game_mode;
+byte _pause;
+int _pal_first_dirty;
+int _pal_last_dirty;
+
Colour _cur_palette[256];
byte _stringwidth_table[FS_END][224];