{ "font.title_2.height", "14" },
{ "font.title_2.SETUP", UNDEFINED_FILENAME },
{ "font.title_2.SETUP.clone_from", "font.text_2" },
-
+ { "font.title_story", UNDEFINED_FILENAME },
+ { "font.title_story.clone_from", "font.text_1.LEVELS" },
{ "font.footer", UNDEFINED_FILENAME },
{ "font.footer.clone_from", "font.text_4" },
{ "font.footer.INFO", UNDEFINED_FILENAME },
{ "menu.text.title_2.align", "center" },
{ "menu.text.title_2.valign", "top" },
{ "menu.text.title_2.font", "font.title_2" },
+ { "menu.text.title_story.x", "-1" },
+ { "menu.text.title_story.y", "32" },
+ { "menu.text.title_story.align", "center" },
+ { "menu.text.title_story.valign", "top" },
+ { "menu.text.title_story.font", "font.title_story" },
{ "menu.text.footer.x", "-1" },
{ "menu.text.footer.y", "-8" },
{ "menu.text.footer.align", "center" },
FONT_INITIAL_4 = MAIN_FONT_INITIAL_4,
FONT_TITLE_1,
FONT_TITLE_2,
+ FONT_TITLE_STORY,
FONT_FOOTER,
FONT_MENU_1_ACTIVE,
FONT_MENU_2_ACTIVE,
struct TextPosInfo title;
struct TextPosInfo title_1;
struct TextPosInfo title_2;
+ struct TextPosInfo title_story;
struct TextPosInfo footer;
};
#define MENU_TITLE_YPOS MENU_TEXT_ALIGNED_YPOS(menu.text.title)
#define MENU_TITLE1_YPOS MENU_TEXT_ALIGNED_YPOS(menu.text.title_1)
#define MENU_TITLE2_YPOS MENU_TEXT_ALIGNED_YPOS(menu.text.title_2)
+#define MENU_TITLE_STORY_YPOS MENU_TEXT_ALIGNED_YPOS(menu.text.title_story)
#define MENU_FOOTER_YPOS MENU_TEXT_ALIGNED_YPOS(menu.text.footer)
#define MENU_INFO_FONT_TITLE FONT_TEXT_1
#define MENU_INFO_FONT_HEAD FONT_TEXT_2
snprintf(info_text_title_2, max_text_len, text_format, name_cut);
}
- DrawTextSCentered(MENU_TITLE1_YPOS, FONT_TITLE_1, info_text_title_1);
- DrawTextSCentered(MENU_TITLE2_YPOS, FONT_TITLE_2, info_text_title_2);
+ if (info_mode == INFO_MODE_STORY)
+ {
+ DrawTextSCentered(MENU_TITLE_STORY_YPOS, FONT_TITLE_STORY, info_text_title_2);
+ }
+ else
+ {
+ DrawTextSCentered(MENU_TITLE1_YPOS, FONT_TITLE_1, info_text_title_1);
+ DrawTextSCentered(MENU_TITLE2_YPOS, FONT_TITLE_2, info_text_title_2);
+ }
}
static void DrawTitleScreenImage(int nr, boolean initial)