diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-02 20:27:48 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:57:00 +0200 |
commit | ea5cd08dd67f9bc4351ecebdda9e310a8072ae32 (patch) | |
tree | d867c198e886ffd9ed233a72f1fe35bb771f999e | |
parent | 2d8e52e59af27fc68f4ff5b63d1b53e8d6d4c043 (diff) |
refactor: move main function to engine
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/engine/main.cpp (renamed from src/game_of_life.cpp) | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7c7c58f..85ef2b9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,13 +9,13 @@ function(target_link_libraries_system target) endfunction(target_link_libraries_system) file(GLOB SOURCES - game_of_life.cpp bootstrap.cpp util/color.cpp game/game.cpp game/status_manager.cpp game/generation_tracker.cpp engine/engine.cpp + engine/main.cpp engine/data/vector2.cpp engine/data/bounds.cpp engine/graphics/scene.cpp diff --git a/src/game_of_life.cpp b/src/engine/main.cpp index c0f8630..b4955b5 100644 --- a/src/game_of_life.cpp +++ b/src/engine/main.cpp @@ -10,3 +10,4 @@ auto main() noexcept -> int engine->start(); } + |