From 96d11d0e5bd23b6a7128f48dfc6233132c6166c6 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Tue, 19 Sep 2017 00:53:41 +0900 Subject: fmdsp-pacc: add comment display --- fmdsp/fmdsp_sprites.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'fmdsp/fmdsp_sprites.h') diff --git a/fmdsp/fmdsp_sprites.h b/fmdsp/fmdsp_sprites.h index c942e24..fa0c032 100644 --- a/fmdsp/fmdsp_sprites.h +++ b/fmdsp/fmdsp_sprites.h @@ -176,6 +176,11 @@ enum { LEVEL_TRACK_Y = LEVEL_Y-9, LEVEL_PROG_Y = PANPOT_Y+15, LEVEL_KEY_Y = LEVEL_PROG_Y+7, + COMMENT_TRI_W = 7, + COMMENT_TRI_H = 4, + COMMENT_TRI_X = 8, + COMMENT_TRI_U_Y = 349, + COMMENT_TRI_D_Y = 387, }; enum { @@ -982,3 +987,18 @@ static uint8_t s_panpot[6][PANPOT_W*PANPOT_H] = { 0,0,0,0,0,1,1,1,1,1,0,0,0,0,0, }, }; + +static const uint8_t s_comment_tri[2][COMMENT_TRI_W*COMMENT_TRI_H] = { + { + 0, 0, 0, 1, 0, 0, 0, + 0, 0, 1, 1, 1, 0, 0, + 0, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, + }, + { + 1, 1, 1, 1, 1, 1, 1, + 0, 1, 1, 1, 1, 1, 0, + 0, 0, 1, 1, 1, 0, 0, + 0, 0, 0, 1, 0, 0, 0, + }, +}; -- cgit v1.2.3