36 lines
661 B
C++
36 lines
661 B
C++
#include <ReWindow/types/Window.h>
|
|
|
|
#include "ReWindow/Logger.h"
|
|
#include <Data/Level.hpp>
|
|
#include <JGL/JGL.h>
|
|
#include <JUI/Widgets/FpsGraph.hpp>
|
|
#include <JUI/Widgets/Scene.hpp>
|
|
#include <JUI/Widgets/Window.hpp>
|
|
#include <SimpleAABBSolver.hpp>
|
|
|
|
#include "App/EditorCamera.hpp"
|
|
#include "JUI/Widgets/ListLayout.hpp"
|
|
#include "JUI/Widgets/Slider.hpp"
|
|
|
|
#include <TestGame/TestGameApp.hpp>
|
|
|
|
|
|
int main()
|
|
{
|
|
ReWindow::Logger::Debug.EnableConsole(false);
|
|
|
|
TestGame::TestGameAppWindow* app = new TestGame::TestGameAppWindow();
|
|
|
|
bool success = app->Open();
|
|
|
|
if (!success)
|
|
return -1;
|
|
|
|
while (app->IsOpen())
|
|
app->ManagedRefresh();
|
|
|
|
app->Close();
|
|
|
|
return 0;
|
|
|
|
} |