From 8fea5a62c9190cb86128c89f92c89ea1c656c3f0 Mon Sep 17 00:00:00 2001 From: bjarni Date: Wed, 7 May 2008 08:38:56 +0000 Subject: (svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files --- src/tile_cmd.h | 1 + src/video/cocoa/cocoa_v.mm | 1 + src/video/cocoa/event.mm | 1 + src/video/cocoa/wnd_quartz.mm | 1 + src/video/cocoa/wnd_quickdraw.mm | 1 + 5 files changed, 5 insertions(+) diff --git a/src/tile_cmd.h b/src/tile_cmd.h index 0ad4d1fe3..08a363b92 100644 --- a/src/tile_cmd.h +++ b/src/tile_cmd.h @@ -15,6 +15,7 @@ #include "player_type.h" #include "direction_type.h" #include "track_type.h" +#include "openttd.h" /** The returned bits of VehicleEnterTile. */ enum VehicleEnterTileStatus { 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 -- cgit v1.2.3-54-g00ecf