Reorganising the game engine structure. Getting things ready for real development of the engine
This commit is contained in:
34
BarinkEngine/BarinkEngine.cpp
Normal file
34
BarinkEngine/BarinkEngine.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user