equal
deleted
inserted
replaced
2 |
2 |
3 /** @file gfx.cpp */ |
3 /** @file gfx.cpp */ |
4 |
4 |
5 #include "stdafx.h" |
5 #include "stdafx.h" |
6 #include "openttd.h" |
6 #include "openttd.h" |
7 #include "functions.h" |
|
8 #include "gfx_func.h" |
7 #include "gfx_func.h" |
9 #include "spritecache.h" |
8 #include "spritecache.h" |
10 #include "string.h" |
9 #include "string.h" |
11 #include "table/palettes.h" |
10 #include "table/palettes.h" |
12 #include "table/sprites.h" |
11 #include "table/sprites.h" |
18 #include "zoom_func.h" |
17 #include "zoom_func.h" |
19 #include "texteff.hpp" |
18 #include "texteff.hpp" |
20 #include "blitter/factory.hpp" |
19 #include "blitter/factory.hpp" |
21 #include "video/video_driver.hpp" |
20 #include "video/video_driver.hpp" |
22 #include "strings_func.h" |
21 #include "strings_func.h" |
|
22 #include "core/math_func.hpp" |
23 |
23 |
24 byte _dirkeys; ///< 1 = left, 2 = up, 4 = right, 8 = down |
24 byte _dirkeys; ///< 1 = left, 2 = up, 4 = right, 8 = down |
25 bool _fullscreen; |
25 bool _fullscreen; |
26 CursorVars _cursor; |
26 CursorVars _cursor; |
27 bool _ctrl_pressed; ///< Is Ctrl pressed? |
27 bool _ctrl_pressed; ///< Is Ctrl pressed? |