src/video/cocoa_v.m
changeset 5587 167d9a91ef02
parent 5581 cf2b8ba6556b
child 5592 90d40244b04c
--- a/src/video/cocoa_v.m	Wed Jan 10 18:44:52 2007 +0000
+++ b/src/video/cocoa_v.m	Wed Jan 10 18:56:51 2007 +0000
@@ -46,18 +46,11 @@
 # 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 @@
 #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 @@
 	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];