From 2eeaeafb40a6b04b811714c793fb97ce4de41254 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 30 Jan 2021 14:14:01 +0000 Subject: Split into main app and library the rest for testing --- application/main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'application/main.cpp') diff --git a/application/main.cpp b/application/main.cpp index b2c2a5e..94a3b0f 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -1,16 +1,16 @@ -#include "game/terrain.h" -#include "gfx/window.h" -#include "inputHandler.h" -#include "manualCameraController.h" #include #include #include +#include #include #include #include #include #include +#include +#include #include +#include #include #include #include @@ -53,7 +53,7 @@ public: return false; } - void + int run() { Collection windows; @@ -92,6 +92,8 @@ public: } t_start = t_end; } + + return 0; } private: @@ -111,7 +113,5 @@ private: int main(int, char **) { - std::make_shared()->run(); - - return 0; + return std::make_shared()->run(); } -- cgit v1.2.3