26 using std::make_unique;
28 using std::unique_ptr;
50 Editor* Editor::instance =
nullptr;
54 Tools::loadSettings(
this);
56 engine = Engine::getInstance();
61 popUps = make_unique<PopUps>();
71 Console::println(
string(
"Editor ") + Version::getVersion());
72 Console::println(Version::getCopyright());
75 EngineMiniScript::registerDataTypes();
77 auto tdmeEditor =
new Editor();
78 return tdmeEditor->run(argc, argv,
"Editor",
nullptr, Application::WINDOW_HINT_MAXIMIZED);
83 return editorView->getScreenController()->isFullScreen();
112 if (
view !=
nullptr) {
125 if (
view !=
nullptr) {
129 Application::exit(0);
149 Application::setVSyncEnabled(
true);
150 Application::setLimitFPS(
true);
168 editorView->getScreenController()->closeProject();
void setInputEventHandler(InputEventHandler *inputEventHandler)
Set input event handler.
Color 4 definition class.
void reshape(int32_t width, int32_t height)
Reshape.
void display()
Renders the scene.
void initialize()
Initialize render engine.
void setPartition(Partition *partition)
Set partition.
void dispose()
Shutdown the engine.
void setSceneColor(const Color4 &sceneColor)
Set scene color.
Bogus/Simple partition implementation.
void handleEvents(bool clearEvents=true)
Handle screen events.
void render()
Render GUIs.