1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef PAL_CONFIG_H
- # define PAL_CONFIG_H
- #if defined (__SYMBIAN32__)
- #undef _WIN32
- #undef SDL_INIT_JOYSTICK
- #define SDL_INIT_JOYSTICK 0
- #define PAL_HAS_MOUSE 1
- #define PAL_PREFIX "e:/data/pal/"
- #define PAL_SAVE_PREFIX "e:/data/pal/"
- # ifdef __S60_5X__
- # define PAL_DEFAULT_WINDOW_WIDTH 640
- # define PAL_DEFAULT_WINDOW_HEIGHT 360
- # else
- # define PAL_DEFAULT_WINDOW_WIDTH 320
- # define PAL_DEFAULT_WINDOW_HEIGHT 240
- # endif
- # if SDL_VERSION_ATLEAST(2,0,0)
- # define PAL_VIDEO_INIT_FLAGS (SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE)
- # else
- # define PAL_VIDEO_INIT_FLAGS (SDL_SWSURFACE | (gConfig.fFullScreen ? SDL_FULLSCREEN : 0))
- # endif
- # define PAL_SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_CDROM | SDL_INIT_NOPARACHUTE | SDL_INIT_JOYSTICK)
- # define PAL_PLATFORM " Symbian S60 \x79FB\x690D (c) 2009, netwan."
- # define PAL_CREDIT "netwan"
- # define PAL_PORTYEAR "2009"
- # define PAL_LARGE static
- # if !defined (__S60_5X__)
- # define PAL_SCALE_SCREEN FALSE
- # endif
- #elif defined(NDS)
- #define PAL_PREFIX "./"
- #define PAL_SAVE_PREFIX "./"
- # define PAL_DEFAULT_WINDOW_WIDTH 293
- # define PAL_DEFAULT_WINDOW_HEIGHT 196
- # if SDL_VERSION_ATLEAST(2,0,0)
- # define PAL_VIDEO_INIT_FLAGS (SDL_WINDOW_SHOWN)
- # else
- # define PAL_VIDEO_INIT_FLAGS (SDL_SWSURFACE | SDL_FULLSCREEN)
- # endif
- # define PAL_SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_CDROM | SDL_INIT_NOPARACHUTE | SDL_INIT_JOYSTICK)
- # define PAL_PLATFORM "Nintendo DS"
- # define PAL_CREDIT "(Unknown)"
- # define PAL_PORTYEAR "2012"
- #endif
- #endif
|