From d8064039c77f3d599f63c09196d0696118813ac7 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sun, 12 Feb 2017 11:04:51 +0900 Subject: fmdsp: add status line --- fmdsp/fmdsp_sprites.h | 56 ++++++++++++--------------------------------------- 1 file changed, 13 insertions(+), 43 deletions(-) (limited to 'fmdsp/fmdsp_sprites.h') diff --git a/fmdsp/fmdsp_sprites.h b/fmdsp/fmdsp_sprites.h index 9033f6d..4ffc5b0 100644 --- a/fmdsp/fmdsp_sprites.h +++ b/fmdsp/fmdsp_sprites.h @@ -1,16 +1,20 @@ -static const uint8_t test[] = { - 0, 2, 2, 2, - 2, 0, 0, 0, - 2, 0, 2, 2, - 2, 0, 0, 0, - 2, 0, 0, 0, -}; - enum { TRACK_H = 32, TNAME_W = 26, TNAME_H = 5, TINFO_X = 48, + TDETAIL_X = 69, + TDETAIL_KN_V_X = TDETAIL_X+13, + TDETAIL_TN_X = TDETAIL_KN_V_X+27, + TDETAIL_TN_V_X = TDETAIL_TN_X+13, + TDETAIL_VL_X = TDETAIL_TN_V_X+20, + TDETAIL_VL_V_X = TDETAIL_VL_X+13, + TDETAIL_GT_X = TDETAIL_VL_V_X+20, + TDETAIL_GT_V_X = TDETAIL_GT_X+13, + TDETAIL_DT_X = TDETAIL_GT_V_X+20, + TDETAIL_DT_V_X = TDETAIL_DT_X+13, + TDETAIL_M_X = 250, + TDETAIL_M_V_X = TDETAIL_M_X+8, NUM_X = 31, NUM_W = 8, NUM_H = 11, @@ -178,41 +182,7 @@ static const uint8_t s_palettes[PALETTE_NUM][FMDSP_PALETTE_COLORS*3] = { #undef LCDBB #undef LCD -static const uint8_t s_track[TNAME_W*TNAME_H] = { - 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, - 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0,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