2023-06-25 18:41:05 +00:00
|
|
|
static const vc_t COL_TYPE = 15;
|
2022-05-29 23:45:47 +00:00
|
|
|
|
2022-05-29 21:04:21 +00:00
|
|
|
// Types [len] half- (ank) or full-width (kanji) characters of [str] onto the
|
|
|
|
// given position in VRAM, with a frame delay between each character.
|
|
|
|
void pascal graph_type_ank_n(
|
2022-08-09 01:24:33 +00:00
|
|
|
screen_x_t left, vram_y_t top, int len, const sshiftjis_t *str
|
2022-05-29 21:04:21 +00:00
|
|
|
);
|
|
|
|
void pascal graph_type_kanji_n(
|
2022-08-09 01:24:33 +00:00
|
|
|
screen_x_t left, vram_y_t top, int len, const sshiftjis_kanji_t *str
|
2022-05-29 21:04:21 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
#define graph_type_ank(left, top, str) { \
|
|
|
|
graph_type_ank_n(left, top, (sizeof(str) - 1), str); \
|
|
|
|
}
|
|
|
|
#define graph_type_kanji(left, top, str) { \
|
|
|
|
graph_type_kanji_n(left, top, ((sizeof(str) - 1) / 2), str); \
|
|
|
|
}
|