equal
deleted
inserted
replaced
3 #ifndef VIDEO_COCOA_H |
3 #ifndef VIDEO_COCOA_H |
4 #define VIDEO_COCOA_H |
4 #define VIDEO_COCOA_H |
5 |
5 |
6 #include "../hal.h" |
6 #include "../hal.h" |
7 |
7 |
8 #ifndef __cplusplus |
8 #include "../openttd.h" |
9 /* Really ugly workaround |
|
10 * It should be solved right as soon as possible */ |
|
11 typedef uint32 SpriteID; |
|
12 #endif //__cplusplus |
|
13 |
|
14 #include "../gfx.h" |
9 #include "../gfx.h" |
15 |
|
16 #ifdef __cplusplus |
|
17 extern "C" { |
|
18 #endif //__cplusplus |
|
19 |
10 |
20 extern const HalVideoDriver _cocoa_video_driver; |
11 extern const HalVideoDriver _cocoa_video_driver; |
21 |
12 |
22 #ifdef __cplusplus |
|
23 } // extern "C" |
|
24 #endif //__cplusplus |
|
25 |
|
26 #endif |
13 #endif |