You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sdlapp.h 709 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-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. //
  11. // The SdlApp class
  12. // ----------------
  13. //
  14. #if !defined __LOL_SDLAPP_H__
  15. #define __LOL_SDLAPP_H__
  16. #include "matrix.h"
  17. namespace lol
  18. {
  19. class SdlAppData;
  20. class SdlApp
  21. {
  22. public:
  23. SdlApp(char const *title, vec2i res, float fps);
  24. virtual ~SdlApp();
  25. void Run();
  26. private:
  27. SdlAppData *data;
  28. };
  29. } /* namespace lol */
  30. #endif // __LOL_SDLAPP_H__