]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/Application.h
made application and battle state resizable
[l2e.git] / src / app / Application.h
index e43faf44e1692b0905d079d25b95084f5262edaf..909942b829730020ecd598e368bcbaefc4d7edcb 100644 (file)
@@ -11,7 +11,7 @@
 #include "../sdl/InitScreen.h"
 
 #include <stack>
-#include <SDL/SDL.h>
+#include <SDL.h>
 
 
 namespace app {
@@ -21,7 +21,7 @@ class State;
 class Application {
 
 public:
-       explicit Application(SDL_Surface *screen, State *initialState);
+       Application(sdl::InitScreen *screen, State *initialState);
        ~Application(void);
 private:
        Application(const Application &);
@@ -49,7 +49,7 @@ private:
        void Render(void);
 
 private:
-       SDL_Surface *screen;
+       sdl::InitScreen *screen;
        std::stack<State *> states;
        Uint32 last;