aboutsummaryrefslogtreecommitdiff
path: root/src/engine/sprite_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/sprite_controller.c')
-rw-r--r--src/engine/sprite_controller.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/engine/sprite_controller.c b/src/engine/sprite_controller.c
index e69de29..c224ff7 100644
--- a/src/engine/sprite_controller.c
+++ b/src/engine/sprite_controller.c
@@ -0,0 +1,10 @@
+#include <stdint.h>
+
+#include "engine/sprite_controller.h"
+// #include "engine/maths.h"
+#include "ppu/types.h"
+#include "ppu/consts.h"
+
+uint8_t hh_get_palette(uint16_t tile_idx) {
+ return hh_g_sprite_palette[tile_idx];
+}