Removing editor word from JulietApp
This commit is contained in:
+7
-7
@@ -115,7 +115,7 @@ void JulietApplication::Init(NonNullPtr<Arena>)
|
||||
|
||||
GraphicsDevice = CreateGraphicsDevice(config);
|
||||
|
||||
MainWindow = CreatePlatformWindow("Juliet Editor", 1920, 1080);
|
||||
MainWindow = CreatePlatformWindow("Juliet", 1920, 1080);
|
||||
|
||||
Running = MainWindow != nullptr && GraphicsDevice != nullptr;
|
||||
|
||||
@@ -656,12 +656,12 @@ bool JulietApplication::IsRunning()
|
||||
}
|
||||
namespace
|
||||
{
|
||||
JulietApplication EditorApplication;
|
||||
JulietApplication Application;
|
||||
}
|
||||
|
||||
JulietApplication& GetEditorApplication()
|
||||
JulietApplication& GetApplication()
|
||||
{
|
||||
return EditorApplication;
|
||||
return Application;
|
||||
}
|
||||
|
||||
int JulietMain(int argc, wchar_t** argv)
|
||||
@@ -673,16 +673,16 @@ int JulietMain(int argc, wchar_t** argv)
|
||||
if (wcscmp(argv[i], L"-autoclose") == 0 && (i + 1 < argc))
|
||||
{
|
||||
int frames = _wtoi(argv[i + 1]);
|
||||
EditorApplication.SetAutoCloseFrameCount(frames);
|
||||
Application.SetAutoCloseFrameCount(frames);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StartApplication(EditorApplication, JulietInit_Flags::Display);
|
||||
StartApplication(Application, JulietInit_Flags::Display);
|
||||
|
||||
// Pause here to not close the console window immediatly on stop
|
||||
// Only pause if not in auto-close mode
|
||||
if (EditorApplication.GetAutoCloseFrameCount() == -1 && !Debug::IsDebuggerPresent())
|
||||
if (Application.GetAutoCloseFrameCount() == -1 && !Debug::IsDebuggerPresent())
|
||||
{
|
||||
system("PAUSE");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user