use game font for level names in the main menu
This commit is contained in:
parent
e22daeb3dd
commit
ed748c4fe7
|
@ -99,6 +99,9 @@ int menu_level_select(int start)
|
|||
int NAME_Y = cubic(DHEIGHT-24, DHEIGHT+10, transition_time,
|
||||
TRANSITION_LEN);
|
||||
|
||||
extern font_t font_rogue;
|
||||
font_t const *old_font = dfont(&font_rogue);
|
||||
|
||||
dclear(C_BLACK);
|
||||
|
||||
for(int i = 0; i < OPTION_COUNT; i++) {
|
||||
|
@ -124,6 +127,7 @@ int menu_level_select(int start)
|
|||
dsubimage(ARROW2_X, 93, &img_menu_arrows, 35, 0, 35, 42,
|
||||
DIMAGE_NONE);
|
||||
|
||||
dfont(old_font);
|
||||
dupdate();
|
||||
|
||||
for(int i = 0; i < OPTION_COUNT; i++)
|
||||
|
|
Loading…
Reference in New Issue