Add inventory.
This commit is contained in:
@@ -45,7 +45,7 @@ typedef color4b_t color_t;
|
||||
#define color4b(r, g, b, a) ((color4b_t){r, g, b, a})
|
||||
#define color(r, g, b, a) ((color_t){r, g, b, a})
|
||||
|
||||
#define color_hex(hex) color( \
|
||||
#define colorHex(hex) color( \
|
||||
((hex >> 24) & 0xFF), \
|
||||
((hex >> 16) & 0xFF), \
|
||||
((hex >> 8) & 0xFF), \
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "display/display.h"
|
||||
#include "engine/engine.h"
|
||||
#include "display/framebuffer.h"
|
||||
#include "scene/scenemanager.h"
|
||||
#include "scene/scene.h"
|
||||
#include "display/spritebatch.h"
|
||||
#include "display/mesh/quad.h"
|
||||
#include "display/screen.h"
|
||||
@@ -120,7 +120,9 @@ errorret_t displayUpdate(void) {
|
||||
FRAMEBUFFER_CLEAR_COLOR | FRAMEBUFFER_CLEAR_DEPTH,
|
||||
COLOR_CORNFLOWER_BLUE
|
||||
);
|
||||
sceneManagerRender();
|
||||
sceneRender();
|
||||
|
||||
// Render UI
|
||||
uiRender();
|
||||
|
||||
// Finish up
|
||||
|
||||
Reference in New Issue
Block a user