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.
25 lines
441 B
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;
|
|
}
|
|
|