Bezos2 is my latest version of the Bezos learning project that uses raw OpenGL and C++ with Lua.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Bezos2/src/main.cpp

25 lines
441 B

#define _USE_MATH_DEFINES
#include <fmt/core.h>
#include "config.hpp"
#include "engine.hpp"
#include "bezos.hpp"
#include "options.hpp"
int main(int argc, char* argv[]) {
Options opts = parse_options(argc, argv);
if(opts.error) return 1;
Deck deck = Bezos::load(opts.deck_file);
Engine engine{.deck=deck};
engine.init();
while(engine.active()) {
engine.update();
engine.render();
}
engine.quit();
return 0;
}