src/video/cocoa_v.h
changeset 6192 c6adfc929c6b
parent 5932 fe0b8f92f014
child 6268 4b5241e5dd10
equal deleted inserted replaced
6191:12d69f54e920 6192:c6adfc929c6b
     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