pal_config.h 735 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef PAL_CONFIG_H
  2. # define PAL_CONFIG_H
  3. # define PAL_PREFIX UTIL_BasePath()
  4. # define PAL_SAVE_PREFIX UTIL_SavePath()
  5. # define PAL_HAS_TOUCH 1
  6. # define PAL_DEFAULT_WINDOW_WIDTH 320
  7. # define PAL_DEFAULT_WINDOW_HEIGHT 200
  8. # if SDL_VERSION_ATLEAST(2,0,0)
  9. # define PAL_VIDEO_INIT_FLAGS (SDL_WINDOW_SHOWN)
  10. # else
  11. # define PAL_VIDEO_INIT_FLAGS (SDL_HWSURFACE | SDL_FULLSCREEN)
  12. # endif
  13. #define PAL_SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_CDROM | SDL_INIT_NOPARACHUTE | SDL_INIT_JOYSTICK)
  14. # define PAL_PLATFORM "Apple iOS"
  15. # define PAL_CREDIT "(Unknown)"
  16. # define PAL_PORTYEAR "2015"
  17. LPCSTR
  18. UTIL_BasePath(
  19. VOID
  20. );
  21. LPCSTR
  22. UTIL_SavePath(
  23. VOID
  24. );
  25. #endif