Improves asset management by adding a shutdown procedure that safely terminates the asset scanning thread. This prevents crashes and ensures a clean exit. Enhances shader management by introducing shader naming and improved error logging. This makes debugging easier. Also renames the sprite shader. Fixes a minor bug related to sprite drawing position. Adds Git mappings for submodules.
20 lines
311 B
C++
20 lines
311 B
C++
//
|
|
// Created by spenc on 5/14/2025.
|
|
//
|
|
|
|
#include "Editor.h"
|
|
#include "Core.h"
|
|
|
|
int main()
|
|
{
|
|
OX::Core core{};
|
|
|
|
core.AddLayer(std::make_unique<OX::Editor>(OX_EDITOR_VERSION));
|
|
|
|
//core.AddLayer(std::make_unique<OX::DummyLayer>("Dummy Layer"));
|
|
|
|
core.Init();
|
|
core.Run();
|
|
core.Shutdown();
|
|
}
|