]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/ColorFade.h
switched geometric scalars from floating to fixed
[l2e.git] / src / graphics / ColorFade.h
index 26942726e5c6d7e772c313e634b318fc4a0b9b29..3396ba37130fabaead4b69553ed1a1541b14ccd9 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * ColorFade.h
- *
- *  Created on: Oct 7, 2012
- *      Author: holy
- */
-
 #ifndef GRAPHICS_COLORFADE_H_
 #define GRAPHICS_COLORFADE_H_
 
@@ -28,14 +21,14 @@ public:
 
 public:
        virtual void HandleEvents(const app::Input &);
-       virtual void UpdateWorld(float deltaT);
+       virtual void UpdateWorld(Uint32 deltaT);
        virtual void Render(SDL_Surface *);
 
 private:
-       virtual void OnEnterState(app::Application &ctrl, SDL_Surface *screen);
-       virtual void OnExitState(app::Application &ctrl, SDL_Surface *screen);
-       virtual void OnResumeState(app::Application &ctrl, SDL_Surface *screen);
-       virtual void OnPauseState(app::Application &ctrl, SDL_Surface *screen);
+       virtual void OnEnterState(SDL_Surface *screen);
+       virtual void OnExitState(SDL_Surface *screen);
+       virtual void OnResumeState(SDL_Surface *screen);
+       virtual void OnPauseState(SDL_Surface *screen);
 
        virtual void OnResize(int width, int height);
 
@@ -45,7 +38,6 @@ private:
 
 private:
        app::Timer<Uint32> timer;
-       app::Application *ctrl;
        app::State *slave;
        SDL_Surface *blinds;
        Uint32 color;