aboutsummaryrefslogtreecommitdiff
path: root/fmdsp/fmdsp_sprites.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-08-13 23:08:54 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-08-13 23:08:54 +0900
commit5a8af1f670709d6cd28ad5edda223d9ecbc03bc3 (patch)
treed8819443b937c49b5a4feb12ad54178d6f79a584 /fmdsp/fmdsp_sprites.h
parent11a5698d68461b91a681f37d66fad5e206969674 (diff)
added levelmeter
Diffstat (limited to 'fmdsp/fmdsp_sprites.h')
-rw-r--r--fmdsp/fmdsp_sprites.h119
1 files changed, 117 insertions, 2 deletions
diff --git a/fmdsp/fmdsp_sprites.h b/fmdsp/fmdsp_sprites.h
index d9d71ac..c942e24 100644
--- a/fmdsp/fmdsp_sprites.h
+++ b/fmdsp/fmdsp_sprites.h
@@ -14,8 +14,8 @@ enum {
TDETAIL_GT_X = TDETAIL_VL_V_X+19,
TDETAIL_GT_V_X = TDETAIL_GT_X+13,
TDETAIL_DT_X = TDETAIL_GT_V_X+23,
- TDETAIL_DT_S_X = TDETAIL_DT_X+12,
- TDETAIL_DT_V_X = TDETAIL_DT_S_X+5,
+ TDETAIL_DT_S_X = TDETAIL_DT_X+13,
+ TDETAIL_DT_V_X = TDETAIL_DT_S_X+4,
TDETAIL_M_X = 249,
TDETAIL_M_V_X = TDETAIL_M_X+8,
NUM_X = 31,
@@ -166,6 +166,16 @@ enum {
FLOPPY_Y = 87,
LEVEL_TEXT_X = 318,
LEVEL_TEXT_Y = 290,
+ LEVEL_X = 353-16,
+ LEVEL_Y = 227,
+ LEVEL_DISP_W = 14,
+ LEVEL_W = 16,
+ PANPOT_W = 15,
+ PANPOT_H = 15,
+ PANPOT_Y = LEVEL_Y+64,
+ LEVEL_TRACK_Y = LEVEL_Y-9,
+ LEVEL_PROG_Y = PANPOT_Y+15,
+ LEVEL_KEY_Y = LEVEL_PROG_Y+7,
};
enum {
@@ -867,3 +877,108 @@ static uint8_t s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