summaryrefslogtreecommitdiff
path: root/src/gfx.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-05-15 14:08:39 +0000
committertruelight <truelight@openttd.org>2007-05-15 14:08:39 +0000
commitd3f375231f194f0d29ac4020337cfafd46ede9bf (patch)
tree8be72fe02f196559ceab115af10a4a7e142fc46a /src/gfx.h
parent196ddae1db750e9e502bf972352f2cee747100aa (diff)
downloadopenttd-d3f375231f194f0d29ac4020337cfafd46ede9bf.tar.xz
(svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
Diffstat (limited to 'src/gfx.h')
-rw-r--r--src/gfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gfx.h b/src/gfx.h
index 8eefb2a3e..418fc277c 100644
--- a/src/gfx.h
+++ b/src/gfx.h
@@ -6,6 +6,7 @@
#define GFX_H
#include "openttd.h"
+#include "zoom.hpp"
enum WindowKeyCodes {
WKC_SHIFT = 0x8000,
@@ -136,7 +137,7 @@ struct DrawPixelInfo {
Pixel *dst_ptr;
int left, top, width, height;
int pitch;
- uint16 zoom;
+ ZoomLevel zoom;
};
struct Colour {