Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

quad.cpp 793 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // Lol Engine - Debug Quad test program
  3. //
  4. // Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://sam.zoy.org/projects/COPYING.WTFPL for more details.
  9. //
  10. #if defined HAVE_CONFIG_H
  11. # include "config.h"
  12. #endif
  13. #include "core.h"
  14. #include "lolgl.h"
  15. #include "loldebug.h"
  16. using namespace std;
  17. using namespace lol;
  18. #if USE_SDL
  19. # include <SDL_main.h>
  20. #endif
  21. int main(int argc, char **argv)
  22. {
  23. Application app("Quad", ivec2(640, 480), 60.0f);
  24. /* Register some debug stuff */
  25. new DebugFps(5, 5);
  26. //new DebugQuad();
  27. app.Run();
  28. return EXIT_SUCCESS;
  29. }