pal_config.h 1001 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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_FILESYSTEM_IGNORE_CASE 1
  21. LPCSTR
  22. UTIL_BasePath(
  23. VOID
  24. );
  25. LPCSTR
  26. UTIL_SavePath(
  27. VOID
  28. );
  29. LPCSTR
  30. UTIL_ConfigPath(
  31. VOID
  32. );
  33. LPCSTR
  34. UTIL_ScreenShotPath(
  35. VOID
  36. );
  37. BOOL
  38. UTIL_TouchEnabled(
  39. VOID
  40. );