diff options
author | bjarni <bjarni@openttd.org> | 2008-05-07 08:38:56 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2008-05-07 08:38:56 +0000 |
commit | 8fea5a62c9190cb86128c89f92c89ea1c656c3f0 (patch) | |
tree | cdcdab7184c33c4552eaef3624b9bd3c0b03cb32 | |
parent | ca4349b5175daa0e7a06db1b95bda8e31908a176 (diff) | |
download | openttd-8fea5a62c9190cb86128c89f92c89ea1c656c3f0.tar.xz |
(svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files
-rw-r--r-- | src/tile_cmd.h | 1 | ||||
-rw-r--r-- | src/video/cocoa/cocoa_v.mm | 1 | ||||
-rw-r--r-- | src/video/cocoa/event.mm | 1 | ||||
-rw-r--r-- | src/video/cocoa/wnd_quartz.mm | 1 | ||||
-rw-r--r-- | src/video/cocoa/wnd_quickdraw.mm | 1 |
5 files changed, 5 insertions, 0 deletions
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 |