pal_config.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #pragma once
  2. #define PAL_PREFIX UTIL_BasePath()
  3. #define PAL_SAVE_PREFIX UTIL_SavePath()
  4. #define PAL_CONFIG_PREFIX UTIL_ConfigPath()
  5. #define PAL_SCREENSHOT_PREFIX UTIL_ScreenShotPath()
  6. #define PAL_HAS_TOUCH 1
  7. #define PAL_AUDIO_DEFAULT_BUFFER_SIZE 4096
  8. #define PAL_DEFAULT_WINDOW_WIDTH 320
  9. #define PAL_DEFAULT_WINDOW_HEIGHT 200
  10. #if SDL_VERSION_ATLEAST(2,0,0)
  11. # define PAL_VIDEO_INIT_FLAGS (SDL_WINDOW_SHOWN)
  12. #else
  13. # define PAL_VIDEO_INIT_FLAGS (SDL_HWSURFACE | SDL_RESIZABLE | (gConfig.fFullScreen ? SDL_FULLSCREEN : 0))
  14. #endif
  15. #define PAL_SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_AUDIO)
  16. #define PAL_PLATFORM "Windows Runtime"
  17. #define PAL_CREDIT "(Unknown)"
  18. #define PAL_PORTYEAR "2015"
  19. #define PAL_HAS_CONFIG_PAGE 1
  20. #define PAL_HAS_NATIVEMIDI 1
  21. #define PAL_FILESYSTEM_IGNORE_CASE 1
  22. LPCSTR
  23. UTIL_BasePath(
  24. VOID
  25. );
  26. LPCSTR
  27. UTIL_SavePath(
  28. VOID
  29. );
  30. LPCSTR
  31. UTIL_ConfigPath(
  32. VOID
  33. );
  34. LPCSTR
  35. UTIL_ScreenShotPath(
  36. VOID
  37. );
  38. BOOL
  39. UTIL_TouchEnabled(
  40. VOID
  41. );