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