parent
13e072853f
commit
cd234e695d
@ -1,2 +1,5 @@ |
||||
* Make the Deck::analyze do a more thorough analysis/check. |
||||
* Get the code online. |
||||
* Make the Deck::analyze do a more thorough analysis/check. |
||||
* Character mapping for the fonts |
||||
* Checks for errors in analyzer |
||||
* Resource prep: images, fonts, font glyphs |
||||
|
||||
@ -1,4 +1,4 @@ |
||||
#include "render.hpp" |
||||
#include "engine.hpp" |
||||
#include "config.hpp" |
||||
#include <algorithm> |
||||
#include "dbc.hpp" |
||||
@ -1,20 +1,20 @@ |
||||
#define _USE_MATH_DEFINES |
||||
#include <fmt/core.h> |
||||
#include "config.hpp" |
||||
#include "render.hpp" |
||||
#include "engine.hpp" |
||||
#include "bezos.hpp" |
||||
|
||||
int main() { |
||||
Deck deck = Bezos::load("lua/builder_test.lua"); |
||||
Engine state{.deck=deck}; |
||||
state.init(); |
||||
Engine engine{.deck=deck}; |
||||
engine.init(); |
||||
|
||||
while(state.active()) { |
||||
state.update(); |
||||
state.render(); |
||||
while(engine.active()) { |
||||
engine.update(); |
||||
engine.render(); |
||||
} |
||||
|
||||
state.quit(); |
||||
engine.quit(); |
||||
|
||||
return 0; |
||||
} |
||||
|
||||
Loading…
Reference in new issue