aboutsummaryrefslogtreecommitdiff
path: root/src/engine/sprite_controller.h
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-03-22 10:29:24 +0100
committerUnavailableDev <ggwildplay@gmail.com>2023-03-22 10:29:24 +0100
commitcd9f96be0d1ca49f269d8dc7c801479ef382d21b (patch)
treed3768b4d9a8ef8cb1c6ee5e6dcea785adb902d5c /src/engine/sprite_controller.h
parent439be80c80498586a299c28ce1be3ea765b414a9 (diff)
parent746b9a43b745e6f7cbac4cbe529d3f5f719d1eea (diff)
Merge branch 'dev' of https://github.com/heavydemon21/avans-arcade into game-engine
Diffstat (limited to 'src/engine/sprite_controller.h')
-rw-r--r--src/engine/sprite_controller.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/sprite_controller.h b/src/engine/sprite_controller.h
index c6ebc93..fc6d3d3 100644
--- a/src/engine/sprite_controller.h
+++ b/src/engine/sprite_controller.h
@@ -12,7 +12,7 @@
//TODO: pack data inside of sprite_palette LUT
//HH_PPU_PALETTE_COUNT
#define HH_SPRITE_COUNT 80
-#define HH_PAL_IDX_SKY 0
+#define HH_PAL_IDX_SKY 512
#define HH_PAL_IDX_BRICK 1
const static uint8_t hh_g_sprite_palette[HH_SPRITE_COUNT] = {
//TODO: make a buffer of 16 no-collider sprites (instead of the current 1)
@@ -31,6 +31,7 @@ const static uint8_t hh_g_sprite_palette[HH_SPRITE_COUNT] = {
6,6,6,6,/*6,6,6,6,6,6, //title_screen large letters
6,6,6,6,*/
//other palettes here:
+ // [HH_PAL_IDX_SKY] = 0,
};
@@ -67,9 +68,9 @@ const static hh_ppu_loc_palette_table_t hh_g_palette = {
{0x1,0x1,0x1},
{0x4,0x2,0x5},
{0x7,0x3,0x7},
- {0x1,0x1,0x3},
{0xe,0xe,0xe},
- {0x0,0x0,0x0},
+ {0xe,0xe,0xe}, //elemental
+ {0x0,0x0,0x0},
{0x0,0x0,0x0}},
{
{0x0,0x0,0x0},