]> git.localhorst.tv Git - space.git/blobdiff - src/app/Application.h
split render function
[space.git] / src / app / Application.h
index 4d2dd2dbf38f6545320d7e92cf7c85e4d40306f0..fa1d92f82887d7a280431b2715758d6c8abe3e8c 100644 (file)
@@ -5,6 +5,7 @@
 #include "../graphics/Camera.h"
 #include "../graphics/Moveable.h"
 #include "../graphics/Vector.h"
+#include "../ui/DualGauge.h"
 #include "../world/Universe.h"
 
 #include <SDL.h>
@@ -33,6 +34,10 @@ private:
        void Update(int delta_ms);
 
        void Render();
+       void RenderBackground();
+       void RenderGrid();
+       void RenderShips();
+       void RenderUI();
 
 private:
        Canvas &canvas;
@@ -45,6 +50,9 @@ private:
        Ship *controlled;
        Vector<int> control;
 
+       DualGauge linGauge;
+       DualGauge rotGauge;
+
        Autopilot autopilot;
        bool apEnabled;;