aboutsummaryrefslogtreecommitdiff
path: root/fmdsp/fmdsp_sprites.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-02-12 11:04:51 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-02-12 11:04:51 +0900
commitd8064039c77f3d599f63c09196d0696118813ac7 (patch)
treefcef4e66045bb8a39dc89e08cdf5f31888266109 /fmdsp/fmdsp_sprites.h
parent93dde8cf16973e07e687e7e0740cf02c38786c38 (diff)
fmdsp: add status line
Diffstat (limited to 'fmdsp/fmdsp_sprites.h')
-rw-r--r--fmdsp/fmdsp_sprites.h56
1 files changed, 13 insertions, 43 deletions
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] =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