diff options
author | bjarni <bjarni@openttd.org> | 2005-12-10 11:16:45 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-12-10 11:16:45 +0000 |
commit | 50a1e16943b03a77c908d938eabcf075390e0dff (patch) | |
tree | b00faf47a1ca2028f095a2c406983e4e94fd533e /os/macosx/splash.h | |
parent | c0218be57ad25083f425db089327a5e5cf7527b8 (diff) | |
download | openttd-50a1e16943b03a77c908d938eabcf075390e0dff.tar.xz |
(svn r3281) -Feature: [OSX] added native cocoa sound and video drivers (egladil)
you can still use SDL drivers if you like and you have to run "make upgradeconf" to start using the cocoa drivers (or manually write WITH_COCOA:=1)
since SDL breaks the cocoa drivers, you can't compile with both SDL and cocoa support
Using cocoa drivers makes it easier to make universal binaries and it solves:
-FS#18 [OSX] SDL is weird in universal binaries
-FS#2 [OSX] lazy pointer crash on exit
-FS#10 [OSX] linking error when linking statically to SDL 1.2.8 (needless to explain this, but it means it should be able to compile statically with the default settings now)
-[ 1215073 ] Switching to large size out of fullscreen crashes
Using SDL drivers will still have those issues though
Diffstat (limited to 'os/macosx/splash.h')
-rw-r--r-- | os/macosx/splash.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/macosx/splash.h b/os/macosx/splash.h new file mode 100644 index 000000000..7454ccaa0 --- /dev/null +++ b/os/macosx/splash.h @@ -0,0 +1,9 @@ + +#ifndef SPLASH_H +#define SPLASH_H + +#define SPLASH_IMAGE_FILE "splash.png" + +void DisplaySplashImage(void); + +#endif |