diff options
author | KUDr <KUDr@openttd.org> | 2007-01-13 14:43:46 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2007-01-13 14:43:46 +0000 |
commit | 8ad471c3214570fe1b19152e031aec4b22a17551 (patch) | |
tree | e3d52067937be20667c58358b00642dad348d0d2 /src/gfx.cpp | |
parent | 6f51ba941827ad2457a83a2242a4ff67ce00aadb (diff) | |
download | openttd-8ad471c3214570fe1b19152e031aec4b22a17551.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.cpp | 18 |
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]; |