aboutsummaryrefslogtreecommitdiff
path: root/source/main.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-22 23:05:03 -0700
committerrtk0c <[email protected]>2022-05-22 23:05:03 -0700
commit123f741e3f5374b93ac39887b62bfa0d66762ae2 (patch)
treecedbc4b2dd87e2caadfde48a0c12a0336672bdd3 /source/main.cpp
parentc568f0a8c9f0aef00c770b494ee1ff3a89ab48de (diff)
Changeset: 36 Add basic machinery for levels (no saving/loading yet)
Diffstat (limited to 'source/main.cpp')
-rw-r--r--source/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/main.cpp b/source/main.cpp
index c0668d0..c49fc0b 100644
--- a/source/main.cpp
+++ b/source/main.cpp
@@ -4,6 +4,7 @@
#include "CommonVertexIndex.hpp"
#include "EditorGuizmo.hpp"
#include "Ires.hpp"
+#include "Level.hpp"
#include "Material.hpp"
#include "Shader.hpp"
@@ -247,6 +248,9 @@ int main(int argc, char* argv[]) {
IresManager::instance = new IresManager();
IresManager::instance->DiscoverFilesDesignatedLocation();
+ LevelManager::instance = new LevelManager();
+ LevelManager::instance->DiscoverFilesDesignatedLocation();
+
gVformatStandard.Attach(new VertexFormat());
gVformatStandard->AddElement(VertexElementFormat{
.bindingIndex = 0,