From 123f741e3f5374b93ac39887b62bfa0d66762ae2 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sun, 22 May 2022 23:05:03 -0700 Subject: Changeset: 36 Add basic machinery for levels (no saving/loading yet) --- source/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/main.cpp') 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, -- cgit v1.2.3-70-g09d2