25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
919 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright © 2010—2016 Sam Hocevar <sam@hocevar.net>
  5. //
  6. // Lol Engine is free software. It comes without any warranty, to
  7. // the extent permitted by applicable law. You can redistribute it
  8. // and/or modify it under the terms of the Do What the Fuck You Want
  9. // to Public License, Version 2, as published by the WTFPL Task Force.
  10. // See http://www.wtfpl.net/ for more details.
  11. //
  12. #pragma once
  13. //
  14. // The main header (for all applications)
  15. // --------------------------------------
  16. //
  17. /* If using Android, override main() with our version */
  18. #if __ANDROID__
  19. # define main lol_android_main
  20. #endif
  21. // If using NX, do that, too
  22. #if __NX__
  23. # define main lol_nx_main
  24. #endif
  25. /* If using SDL on Windows or OS X, let it override main() */
  26. #if LOL_USE_SDL && (_WIN32 || __APPLE__)
  27. # include <SDL_main.h>
  28. #endif
  29. #include <lol/public.h>
  30. #include <lol/extras.h>
  31. #include <lol/legacy.h>