aboutsummaryrefslogtreecommitdiff
path: root/src/engine/title_screen.c
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-04-04 14:38:48 +0200
committerUnavailableDev <ggwildplay@gmail.com>2023-04-04 14:38:48 +0200
commit2ff7020ed6327a49abd3c57491c1286c34a62d40 (patch)
treea20c3af2bcd53c0cadacb141def6d6c61743acd6 /src/engine/title_screen.c
parentabfb6d3667e0c1955f09636ed72e48ed17129c84 (diff)
dynamic tilemap integration
(without pallets)
Diffstat (limited to 'src/engine/title_screen.c')
-rw-r--r--src/engine/title_screen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/title_screen.c b/src/engine/title_screen.c
index 9c7ed48..1e9e586 100644
--- a/src/engine/title_screen.c
+++ b/src/engine/title_screen.c
@@ -2,6 +2,8 @@
#include "ppu/types.h"
#include "ppu/consts.h"
+#include "static/tilemap.h"
+
#include "engine/draw_screen.h"
#include "engine/entity.h"
@@ -12,7 +14,7 @@ void hh_init_title_screen(){
//send data
uint8_t idx = 0;
- const uint8_t tilemap_offset = 59;
+ const uint8_t tilemap_offset = HH_TM_TITLE_SCREEN_ICON_OFFSET;
int tiles_h = HH_PPU_BG_CANVAS_TILES_H;
int vp_h = HH_PPU_SCREEN_WIDTH/HH_PPU_SPRITE_WIDTH; //screen_h in tiles
int vert_offset = tiles_h*3;
@@ -45,7 +47,7 @@ void hh_init_title_screen(){
}
- const uint8_t letters_offset = 66;
+ const uint8_t letters_offset = HH_TM_TITLE_SCREEN_LETTERES_LARGE_OFFSET;
const int _size_hooded = 7, _size_v = 2;
// char* hh = "hooded";