Reorganising the game engine structure. Getting things ready for real development of the engine

This commit is contained in:
2022-05-27 22:47:36 +02:00
parent 4625ca657b
commit 3446bc2399
22 changed files with 326 additions and 221 deletions

View 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;
}