pal_config.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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:/sdlpal/"
  6. # define PAL_SAVE_PREFIX "sd:/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,palxex"
  18. # define PAL_PORTYEAR "2017"
  19. # define PAL_FILESYSTEM_IGNORE_CASE 1
  20. # define PAL_HAS_PLATFORM_SPECIFIC_UTILS 1
  21. # define PAL_HAS_PLATFORM_STARTUP 1
  22. # include <gctypes.h>
  23. # include <dirent.h>
  24. # include <strings.h>
  25. extern int alphasort(const struct dirent **d1, const struct dirent **d2);
  26. #endif