summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2008-05-07 08:38:56 +0000
committerbjarni <bjarni@openttd.org>2008-05-07 08:38:56 +0000
commit8fea5a62c9190cb86128c89f92c89ea1c656c3f0 (patch)
treecdcdab7184c33c4552eaef3624b9bd3c0b03cb32 /src/video
parentca4349b5175daa0e7a06db1b95bda8e31908a176 (diff)
downloadopenttd-8fea5a62c9190cb86128c89f92c89ea1c656c3f0.tar.xz
(svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files
Diffstat (limited to 'src/video')
-rw-r--r--src/video/cocoa/cocoa_v.mm1
-rw-r--r--src/video/cocoa/event.mm1
-rw-r--r--src/video/cocoa/wnd_quartz.mm1
-rw-r--r--src/video/cocoa/wnd_quickdraw.mm1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm
index 2a5eea7be..1ffeff86d 100644
--- a/src/video/cocoa/cocoa_v.mm
+++ b/src/video/cocoa/cocoa_v.mm
@@ -62,6 +62,7 @@ extern "C" OSErr CPSSetFrontProcess(CPSProcessSerNum* psn);
#include "../../blitter/factory.hpp"
#include "../../fileio.h"
#include "../../gfx_func.h"
+#include "../../functions.h"
@interface OTTDMain : NSObject
diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm
index 3e8fc68c1..4f92621be 100644
--- a/src/video/cocoa/event.mm
+++ b/src/video/cocoa/event.mm
@@ -48,6 +48,7 @@
#include "../../gfx_func.h"
#include "../../network/network.h"
#include "../../core/random_func.hpp"
+#include "../../texteff.hpp"
/* Right Mouse Button Emulation enum */
diff --git a/src/video/cocoa/wnd_quartz.mm b/src/video/cocoa/wnd_quartz.mm
index a85ce283b..9538a52cb 100644
--- a/src/video/cocoa/wnd_quartz.mm
+++ b/src/video/cocoa/wnd_quartz.mm
@@ -44,6 +44,7 @@
#include "cocoa_v.h"
#include "../../core/math_func.hpp"
#include "../../gfx_func.h"
+#include "../../functions.h"
#undef Rect
diff --git a/src/video/cocoa/wnd_quickdraw.mm b/src/video/cocoa/wnd_quickdraw.mm
index df4411db5..0d9b3ee4d 100644
--- a/src/video/cocoa/wnd_quickdraw.mm
+++ b/src/video/cocoa/wnd_quickdraw.mm
@@ -44,6 +44,7 @@
#include "cocoa_v.h"
#include "../../core/math_func.hpp"
#include "../../gfx_func.h"
+#include "../../functions.h"
#undef Rect