Adds the initial structure for the InspectorWindow and SceneExplorer editor windows, providing a foundation for implementing editor functionality. Also adds file browser and other editor windows
24 lines
393 B
C++
24 lines
393 B
C++
//
|
|
// Created by spenc on 5/14/2025.
|
|
//
|
|
|
|
#include "Editor.h"
|
|
#include "Core.h"
|
|
|
|
int main()
|
|
{
|
|
using namespace OX;
|
|
|
|
// Note: You must add the layers to the Core BEFORE initializing the core.
|
|
Core core;
|
|
|
|
|
|
core.AddLayer(std::make_unique<Editor>(OX_EDITOR_VERSION));
|
|
|
|
//core.AddLayer(std::make_unique<OX::DummyLayer>());
|
|
|
|
core.Init();
|
|
core.Run();
|
|
core.Shutdown();
|
|
}
|