diff --git a/neercs/neercs.cpp b/neercs/neercs.cpp index bdd650b..0558688 100644 --- a/neercs/neercs.cpp +++ b/neercs/neercs.cpp @@ -39,9 +39,9 @@ void Neercs::TickGame(float seconds) WorldEntity::TickGame(seconds); } -void Neercs::TickDraw(float seconds) +void Neercs::TickDraw(float seconds, Scene &scene) { - WorldEntity::TickDraw(seconds); + WorldEntity::TickDraw(seconds, scene); } Neercs::~Neercs() diff --git a/neercs/neercs.h b/neercs/neercs.h index 41c4289..dd6e115 100644 --- a/neercs/neercs.h +++ b/neercs/neercs.h @@ -27,7 +27,7 @@ public: protected: virtual void TickGame(float seconds); - virtual void TickDraw(float seconds); + virtual void TickDraw(float seconds, Scene &scene); private: Term *m_term; diff --git a/neercs/term/term.cpp b/neercs/term/term.cpp index 5a6179c..568cced 100644 --- a/neercs/term/term.cpp +++ b/neercs/term/term.cpp @@ -165,9 +165,9 @@ void Term::TickGame(float seconds) #endif } -void Term::TickDraw(float seconds) +void Term::TickDraw(float seconds, Scene &scene) { - Entity::TickDraw(seconds); + Entity::TickDraw(seconds, scene); } Term::~Term() diff --git a/neercs/term/term.h b/neercs/term/term.h index 0baa460..566dd14 100644 --- a/neercs/term/term.h +++ b/neercs/term/term.h @@ -92,7 +92,7 @@ public: protected: virtual void TickGame(float seconds); - virtual void TickDraw(float seconds); + virtual void TickDraw(float seconds, Scene &scene); private: /* Terminal emulation main entry point */ diff --git a/neercs/video/render.cpp b/neercs/video/render.cpp index 906cdc6..927fca6 100644 --- a/neercs/video/render.cpp +++ b/neercs/video/render.cpp @@ -1078,7 +1078,7 @@ void Render::Pause() m_pause=!m_pause; } -void Render::TickDraw(float seconds) +void Render::TickDraw(float seconds, Scene &scene) { /* keyboard manager */ #if 0 @@ -1379,7 +1379,7 @@ void Render::TickDraw(float seconds) } #endif - Entity::TickDraw(seconds); + Entity::TickDraw(seconds, scene); if (!m_ready) { diff --git a/neercs/video/render.h b/neercs/video/render.h index ea3e69f..4e31234 100644 --- a/neercs/video/render.h +++ b/neercs/video/render.h @@ -15,7 +15,7 @@ public: protected: virtual void TickGame(float seconds); - virtual void TickDraw(float seconds); + virtual void TickDraw(float seconds, Scene &scene); void Draw2D(); void Draw3D();