diff options
Diffstat (limited to 'src/video/cocoa_v.m')
-rw-r--r-- | src/video/cocoa_v.m | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/video/cocoa_v.m b/src/video/cocoa_v.m index 46518445b..79551c865 100644 --- a/src/video/cocoa_v.m +++ b/src/video/cocoa_v.m @@ -46,18 +46,11 @@ extern void HideMenuBar(void); # endif #endif + #include "../stdafx.h" -#include "../openttd.h" #include "../debug.h" -#include "../functions.h" -#include "../gfx.h" #include "../macros.h" -#include "../sdl.h" -#include "../window.h" -#include "../network/network.h" -#include "../variables.h" #include "../os/macosx/splash.h" - #include "cocoa_v.h" #include "cocoa_keys.h" @@ -65,6 +58,7 @@ extern void HideMenuBar(void); #undef Rect + /* Subclass of NSWindow to fix genie effect and support resize events */ @interface OTTD_QuartzWindow : NSWindow - (void)miniaturize:(id)sender; @@ -162,7 +156,7 @@ static struct CocoaVideoData { NSQuickDrawView *qdview; #define MAX_DIRTY_RECTS 100 - OTTDRect dirty_rects[MAX_DIRTY_RECTS]; + Rect dirty_rects[MAX_DIRTY_RECTS]; int num_dirty_rects; uint16 palette16[256]; |