Ported all instances, now the hard part

This commit is contained in:
Vulpovile
2023-11-07 17:21:21 -08:00
parent 944afec7a3
commit ce808f672f
16 changed files with 1382 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ DataModelInstance::DataModelInstance(void)
parentDataModel = this;
workspace = new WorkspaceInstance();
//guiRoot = new GuiRootInstance();
guiRoot = new GuiRootInstance();
level = new LevelInstance();
//thumbnailGenerator = new ThumbnailGeneratorInstance();
soundService = new SoundService();
@@ -27,6 +27,7 @@ DataModelInstance::DataModelInstance(void)
level->setParent(this);
soundService->setParent(this);
lightingInstance->setParent(this);
guiRoot->setParent(this);
running = false;
xplicitNgine = NULL;
@@ -305,10 +306,10 @@ WorkspaceInstance* DataModelInstance::getWorkspace()
}
//TODO implement
/*GuiRootInstance* DataModelInstance::getGuiRoot()
GuiRootInstance* DataModelInstance::getGuiRoot()
{
return guiRoot;
}*/
}
SelectionService* DataModelInstance::getSelectionService()
{