35 lines
406 B
C++
35 lines
406 B
C++
|
#include "Include/BarinkEngine.h"
|
||
|
|
||
|
extern void Start(int argc, char* argv[]);
|
||
|
extern void UpdateApplication();
|
||
|
|
||
|
using namespace BarinkEngine;
|
||
|
|
||
|
bool ShouldQuit = false;
|
||
|
|
||
|
int main(int argc, char* argv[]) {
|
||
|
|
||
|
// Start Engine
|
||
|
Engine::Startup();
|
||
|
|
||
|
Start(argc, argv);
|
||
|
|
||
|
|
||
|
while (!ShouldQuit) {
|
||
|
//InputManager::PollEvents();
|
||
|
|
||
|
UpdateApplication();
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
// Kill Engine
|
||
|
Engine::Shutdown();
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
|