{ GAME_MODE_TITLE_3, ANIM_CLASS_TITLE },
{ GAME_MODE_TITLE_4, ANIM_CLASS_TITLE },
{ GAME_MODE_TITLE_5, ANIM_CLASS_TITLE },
+ { GAME_MODE_NAMES, ANIM_CLASS_TOONS_MENU_SUBMENU },
{ GAME_MODE_LEVELS, ANIM_CLASS_TOONS_MENU_SUBMENU },
{ GAME_MODE_LEVELNR, ANIM_CLASS_TOONS_MENU_SUBMENU },
{ GAME_MODE_INFO, ANIM_CLASS_TOONS_MENU_SUBMENU },
{ GAME_MODE_SETUP, ANIM_CLASS_TOONS_MENU_SUBMENU },
+ { GAME_MODE_PSEUDO_NAMESONLY, ANIM_CLASS_TOONS_MENU_SUBMENU },
+ { GAME_MODE_PSEUDO_TYPENAMES, ANIM_CLASS_TOONS_MENU_SUBMENU },
{ GAME_MODE_PSEUDO_MAINONLY, ANIM_CLASS_TOONS_MENU_MAIN },
{ GAME_MODE_PSEUDO_TYPENAME, ANIM_CLASS_TOONS_MENU_MAIN },
{ GAME_MODE_PSEUDO_SCORESOLD, ANIM_CLASS_TOONS_SCORES },
if (drawing_target == DRAW_TO_FADE_TARGET)
after_fading = TRUE;
- // special case: changing from/to this screen is done without fading
- if (global.anim_status == GAME_MODE_PSEUDO_TYPENAME ||
- anim_status_last == GAME_MODE_PSEUDO_TYPENAME)
+ // special case: changing from/to these screens is done without fading
+ if (global.anim_status == GAME_MODE_PSEUDO_TYPENAME ||
+ global.anim_status == GAME_MODE_PSEUDO_TYPENAMES ||
+ anim_status_last == GAME_MODE_PSEUDO_TYPENAME ||
+ anim_status_last == GAME_MODE_PSEUDO_TYPENAMES)
after_fading = TRUE;
// ---------- part 1 ------------------------------------------------------
{ "font.text_1.LEVELNR.clone_from", "font.text_1.LEVELS" },
{ "font.text_1.SETUP", UNDEFINED_FILENAME },
{ "font.text_1.SETUP.clone_from", "font.text_1.LEVELS" },
+ { "font.text_1.NAMES", UNDEFINED_FILENAME },
+ { "font.text_1.NAMES.clone_from", "font.input_1.MAIN" },
{ "font.text_1.PREVIEW", "RocksFontEM.png" },
{ "font.text_1.PREVIEW.x", "0" },
{ "font.text_1.PREVIEW.y", "160" },
{ "font.text_2.LEVELNR.clone_from", "font.text_2.LEVELS" },
{ "font.text_2.SETUP", UNDEFINED_FILENAME },
{ "font.text_2.SETUP.clone_from", "font.text_2.LEVELS" },
+ { "font.text_2.NAMES", UNDEFINED_FILENAME },
+ { "font.text_2.NAMES.clone_from", "font.option_off" },
{ "font.text_2.PREVIEW", "RocksFontEM.png" },
{ "font.text_2.PREVIEW.x", "0" },
{ "font.text_2.PREVIEW.y", "160" },
{ "font.text_3.LEVELNR.clone_from", "font.text_3.LEVELS" },
{ "font.text_3.SETUP", UNDEFINED_FILENAME },
{ "font.text_3.SETUP.clone_from", "font.text_3.LEVELS" },
+ { "font.text_3.NAMES", UNDEFINED_FILENAME },
+ { "font.text_3.NAMES.clone_from", "font.menu_1" },
{ "font.text_3.PREVIEW", "RocksFontEM.png" },
{ "font.text_3.PREVIEW.x", "0" },
{ "font.text_3.PREVIEW.y", "160" },
{ "font.text_4.LEVELNR.clone_from", "font.text_4.LEVELS" },
{ "font.text_4.SETUP", UNDEFINED_FILENAME },
{ "font.text_4.SETUP.clone_from", "font.text_4.LEVELS" },
+ { "font.text_4.NAMES", UNDEFINED_FILENAME },
+ { "font.text_4.NAMES.clone_from", "font.menu_1.active" },
{ "font.text_4.SCORES", "RocksFontMedium.png" },
{ "font.text_4.SCORES.x", "0" },
{ "font.text_4.SCORES.y", "480" },
{ "font.input_1.MAIN.y", "0" },
{ "font.input_1.MAIN.width", "32" },
{ "font.input_1.MAIN.height", "32" },
+ { "font.input_1.NAMES", UNDEFINED_FILENAME },
+ { "font.input_1.NAMES.clone_from", "font.input_1.MAIN" },
{ "font.input_1.active", "RocksFontSmall.png" },
{ "font.input_1.active.x", "0" },
{ "font.input_1.active.y", "210" },
{ "font.input_1.active.MAIN.y", "480" },
{ "font.input_1.active.MAIN.width", "32" },
{ "font.input_1.active.MAIN.height", "32" },
+ { "font.input_1.active.NAMES", UNDEFINED_FILENAME },
+ { "font.input_1.active.NAMES.clone_from", "font.input_1.MAIN" },
{ "font.input_1.active.SETUP", "RocksFontBig.png" },
{ "font.input_1.active.SETUP.x", "0" },
{ "font.input_1.active.SETUP.y", "0" },
{ "background.TITLE_INITIAL", UNDEFINED_FILENAME },
{ "background.TITLE", UNDEFINED_FILENAME },
{ "background.MAIN", UNDEFINED_FILENAME },
+ { "background.NAMES", UNDEFINED_FILENAME },
{ "background.LEVELS", UNDEFINED_FILENAME },
{ "background.LEVELNR", UNDEFINED_FILENAME },
{ "background.SCORES", UNDEFINED_FILENAME },
{ "border.draw_masked.TITLE", "false" },
{ "border.draw_masked.MAIN", "false" },
+ { "border.draw_masked.NAMES", "false" },
{ "border.draw_masked.LEVELS", "false" },
{ "border.draw_masked.LEVELNR", "false" },
{ "border.draw_masked.SCORES", "false" },
{ "menu.draw_yoffset", "0" },
{ "menu.draw_xoffset.MAIN", "0" },
{ "menu.draw_yoffset.MAIN", "0" },
+ { "menu.draw_xoffset.NAMES", "0" },
+ { "menu.draw_yoffset.NAMES", "0" },
{ "menu.draw_xoffset.LEVELS", "0" },
{ "menu.draw_yoffset.LEVELS", "0" },
{ "menu.draw_xoffset.LEVELNR", "0" },
{ "menu.list.SETUP[CHOOSE_OTHER].valign", "top" },
{ "menu.list_size", "-1" },
+ { "menu.list_size.NAMES", "-1" },
{ "menu.list_size.LEVELS", "-1" },
{ "menu.list_size.LEVELNR", "-1" },
{ "menu.list_size.SCORES", "-1" },
{ "background.TITLE_INITIAL", UNDEFINED_FILENAME },
{ "background.TITLE", UNDEFINED_FILENAME },
{ "background.MAIN", UNDEFINED_FILENAME },
+ { "background.NAMES", UNDEFINED_FILENAME },
{ "background.LEVELS", UNDEFINED_FILENAME },
{ "background.LEVELNR", UNDEFINED_FILENAME },
{ "background.SCORES", UNDEFINED_FILENAME },
{ "background.TITLE_INITIAL", UNDEFINED_FILENAME },
{ "background.TITLE", UNDEFINED_FILENAME },
{ "background.MAIN", UNDEFINED_FILENAME },
+ { "background.NAMES", UNDEFINED_FILENAME },
{ "background.LEVELS", UNDEFINED_FILENAME },
{ "background.LEVELNR", UNDEFINED_FILENAME },
{ "background.SCORES", "halloffame.wav" },
}
if (newbutton && (game_status == GAME_MODE_PSEUDO_TYPENAME ||
+ game_status == GAME_MODE_PSEUDO_TYPENAMES ||
anyTextGadgetActive()))
{
// leave name input in main menu or text input gadget
special = game_status;
else if (game_status == GAME_MODE_PSEUDO_TYPENAME)
special = GFX_SPECIAL_ARG_MAIN;
+ else if (game_status == GAME_MODE_PSEUDO_TYPENAMES)
+ special = GFX_SPECIAL_ARG_NAMES;
if (special != -1)
return font_info[font_nr].special_bitmap_id[special];
IMG_BACKGROUND_TITLE_INITIAL,
IMG_BACKGROUND_TITLE,
IMG_BACKGROUND_MAIN,
+ IMG_BACKGROUND_NAMES,
IMG_BACKGROUND_LEVELS,
IMG_BACKGROUND_LEVELNR,
IMG_BACKGROUND_SCORES,
{ ".TITLE_4", GFX_SPECIAL_ARG_TITLE_4, },
{ ".TITLE_5", GFX_SPECIAL_ARG_TITLE_5, },
{ ".MAIN", GFX_SPECIAL_ARG_MAIN, },
+ { ".NAMES", GFX_SPECIAL_ARG_NAMES, },
{ ".LEVELS", GFX_SPECIAL_ARG_LEVELS },
{ ".LEVELNR", GFX_SPECIAL_ARG_LEVELNR },
{ ".SCORES", GFX_SPECIAL_ARG_SCORES, },
{ ".PREVIEW", GFX_SPECIAL_ARG_PREVIEW, },
{ ".CRUMBLED", GFX_SPECIAL_ARG_CRUMBLED, },
{ ".MAINONLY", GFX_SPECIAL_ARG_MAINONLY, },
+ { ".NAMESONLY", GFX_SPECIAL_ARG_NAMESONLY, },
{ ".TYPENAME", GFX_SPECIAL_ARG_TYPENAME, },
+ { ".TYPENAMES", GFX_SPECIAL_ARG_TYPENAMES, },
{ ".SUBMENU", GFX_SPECIAL_ARG_SUBMENU, },
{ ".MENU", GFX_SPECIAL_ARG_MENU, },
{ ".TOONS", GFX_SPECIAL_ARG_TOONS, },
GFX_SPECIAL_ARG_TITLE_4,
GFX_SPECIAL_ARG_TITLE_5,
GFX_SPECIAL_ARG_MAIN,
+ GFX_SPECIAL_ARG_NAMES,
GFX_SPECIAL_ARG_LEVELS,
GFX_SPECIAL_ARG_LEVELNR,
GFX_SPECIAL_ARG_SCORES,
GFX_SPECIAL_ARG_PREVIEW,
GFX_SPECIAL_ARG_CRUMBLED,
GFX_SPECIAL_ARG_MAINONLY,
+ GFX_SPECIAL_ARG_NAMESONLY,
GFX_SPECIAL_ARG_TYPENAME,
+ GFX_SPECIAL_ARG_TYPENAMES,
GFX_SPECIAL_ARG_SUBMENU,
GFX_SPECIAL_ARG_MENU,
GFX_SPECIAL_ARG_TOONS,
#define GAME_MODE_TITLE_4 GFX_SPECIAL_ARG_TITLE_4
#define GAME_MODE_TITLE_5 GFX_SPECIAL_ARG_TITLE_5
#define GAME_MODE_MAIN GFX_SPECIAL_ARG_MAIN
+#define GAME_MODE_NAMES GFX_SPECIAL_ARG_NAMES
#define GAME_MODE_LEVELS GFX_SPECIAL_ARG_LEVELS
#define GAME_MODE_LEVELNR GFX_SPECIAL_ARG_LEVELNR
#define GAME_MODE_SCORES GFX_SPECIAL_ARG_SCORES
#define GAME_MODE_PSEUDO_PREVIEW GFX_SPECIAL_ARG_PREVIEW
#define GAME_MODE_PSEUDO_CRUMBLED GFX_SPECIAL_ARG_CRUMBLED
#define GAME_MODE_PSEUDO_MAINONLY GFX_SPECIAL_ARG_MAINONLY
+#define GAME_MODE_PSEUDO_NAMESONLY GFX_SPECIAL_ARG_NAMESONLY
#define GAME_MODE_PSEUDO_TYPENAME GFX_SPECIAL_ARG_TYPENAME
+#define GAME_MODE_PSEUDO_TYPENAMES GFX_SPECIAL_ARG_TYPENAMES
#define GAME_MODE_PSEUDO_SUBMENU GFX_SPECIAL_ARG_SUBMENU
#define GAME_MODE_PSEUDO_MENU GFX_SPECIAL_ARG_MENU
#define GAME_MODE_PSEUDO_TOONS GFX_SPECIAL_ARG_TOONS
#define DRAW_MODE(s) ((s) >= GAME_MODE_MAIN && \
(s) <= GAME_MODE_SETUP ? (s) : \
(s) == GAME_MODE_PSEUDO_TYPENAME ? \
- GAME_MODE_MAIN : GAME_MODE_DEFAULT)
+ GAME_MODE_MAIN : \
+ (s) == GAME_MODE_PSEUDO_TYPENAMES ? \
+ GAME_MODE_NAMES : GAME_MODE_DEFAULT)
// (there are no draw offset definitions needed for INFO_MODE_TITLE)
#define DRAW_MODE_INFO(i) ((i) >= INFO_MODE_TITLE && \
{
if (anim_status_new == GAME_MODE_MAIN)
anim_status_new = GAME_MODE_PSEUDO_MAINONLY;
+ else if (anim_status_new == GAME_MODE_NAMES)
+ anim_status_new = GAME_MODE_PSEUDO_NAMESONLY;
else if (anim_status_new == GAME_MODE_SCORES)
anim_status_new = GAME_MODE_PSEUDO_SCORESOLD;
if ((global.anim_status == GAME_MODE_PSEUDO_MAINONLY &&
global.anim_status_next == GAME_MODE_PSEUDO_TYPENAME) ||
(global.anim_status == GAME_MODE_PSEUDO_TYPENAME &&
- global.anim_status_next == GAME_MODE_PSEUDO_MAINONLY))
+ global.anim_status_next == GAME_MODE_PSEUDO_MAINONLY) ||
+ (global.anim_status == GAME_MODE_PSEUDO_NAMESONLY &&
+ global.anim_status_next == GAME_MODE_PSEUDO_TYPENAMES) ||
+ (global.anim_status == GAME_MODE_PSEUDO_TYPENAMES &&
+ global.anim_status_next == GAME_MODE_PSEUDO_NAMESONLY))
global.anim_status = global.anim_status_next;
}