pal_config.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #ifndef PAL_HAS_JOYSTICKS
  3. # define PAL_HAS_JOYSTICKS 1
  4. #endif
  5. #define PAL_PREFIX "./"
  6. #define PAL_SAVE_PREFIX "./"
  7. #define PAL_DEFAULT_WINDOW_WIDTH 640
  8. #define PAL_DEFAULT_WINDOW_HEIGHT 400
  9. #define PAL_DEFAULT_FULLSCREEN_HEIGHT 480
  10. #if SDL_VERSION_ATLEAST(2,0,0)
  11. # define PAL_VIDEO_INIT_FLAGS (SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE | (gConfig.fFullScreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0))
  12. #else
  13. # define PAL_VIDEO_INIT_FLAGS (SDL_HWSURFACE | SDL_RESIZABLE | (gConfig.fFullScreen ? SDL_FULLSCREEN : 0))
  14. # define PAL_FATAL_OUTPUT(s) MessageBoxA(0, (s), "FATAL ERROR", MB_ICONERROR)
  15. # define PAL_ALLOW_KEYREPEAT 1
  16. # define PAL_HAS_SDLCD 1
  17. #endif
  18. #define PAL_SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_CDROM | SDL_INIT_NOPARACHUTE | SDL_INIT_JOYSTICK)
  19. #define PAL_PLATFORM NULL
  20. #define PAL_CREDIT NULL
  21. #define PAL_PORTYEAR NULL
  22. #define PAL_HAS_NATIVEMIDI 1
  23. #define PAL_HAS_CONFIG_PAGE 1
  24. #define PAL_FILESYSTEM_IGNORE_CASE 1
  25. #define PAL_HAS_NATIVEMIDI 1