pal_config.h 796 B

12345678910111213141516171819202122232425
  1. #ifndef PAL_CONFIG_H
  2. # define PAL_CONFIG_H
  3. # define PAL_HAS_JOYSTICKS 1
  4. # define PAL_HAS_MOUSE 0
  5. # define PAL_PREFIX "SD:/apps/sdlpal/"
  6. # define PAL_SAVE_PREFIX "SD:/apps/sdlpal/"
  7. # define PAL_DEFAULT_WINDOW_WIDTH 640
  8. # define PAL_DEFAULT_WINDOW_HEIGHT 480
  9. # if SDL_VERSION_ATLEAST(2,0,0)
  10. # define PAL_VIDEO_INIT_FLAGS (SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE)
  11. # else
  12. # define PAL_VIDEO_INIT_FLAGS (SDL_SWSURFACE | (gConfig.fFullScreen ? SDL_FULLSCREEN : 0))
  13. # endif
  14. # define PAL_SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_CDROM | SDL_INIT_NOPARACHUTE | SDL_INIT_JOYSTICK)
  15. # define PAL_SCALE_SCREEN FALSE
  16. # define PAL_PLATFORM "Nintendo WII"
  17. # define PAL_CREDIT "Rikku2000"
  18. # define PAL_PORTYEAR "2012"
  19. #endif