(svn r9844) -Codechange: replace zoomlevel with an enum

-Codechange: use predefined enums for viewport zoomlevels
This commit is contained in:
truelight
2007-05-15 14:08:39 +00:00
parent 3615d2aeee
commit dc191785db
22 changed files with 108 additions and 59 deletions

View File

@@ -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 {