(svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure

This commit is contained in:
rubidium
2011-12-08 18:13:29 +00:00
parent 9e8b76650a
commit 2ccbd2a6f5
17 changed files with 80 additions and 77 deletions

View File

@@ -42,14 +42,17 @@
#define Rect OTTDRect
#define Point OTTDPoint
#define WindowClass OTTDWindowClass
#define ScriptOrder OTTDScriptOrder
#define ScriptOrder OTTDScriptOrder
#define Palette OTTDPalette
#include <CoreServices/CoreServices.h>
#include <ApplicationServices/ApplicationServices.h>
#undef Rect
#undef Point
#undef WindowClass
#undef ScriptOrder
#undef Palette
/* remove the variables that CoreServices defines, but we define ourselves too */
#undef bool