Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

35 lignes
902 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 NaCl or Android, override main() with our version */
  18. #if __native_client__
  19. # define main lol_nacl_main
  20. #elif __ANDROID__
  21. # define main lol_android_main
  22. #endif
  23. /* If using SDL on Windows or OS X, let it override main() */
  24. #if (LOL_USE_SDL || LOL_USE_OLD_SDL) && (_WIN32 || __APPLE__)
  25. # include <SDL_main.h>
  26. #endif
  27. #include <lol/public.h>
  28. #include <lol/extras.h>