YoggieEngine/BarinkEngine/BarinkEngine.cpp

38 lines
457 B
C++

#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;
}
void WARN(std::string message) {
spdlog::warn(message);
}