{ "menu.button_prev_level.active", UNDEFINED_FILENAME },
{ "menu.button_prev_level.active.clone_from", "menu.button_left.active" },
+ { "menu.button_name", UNDEFINED_FILENAME },
+ { "menu.button_name.clone_from", "menu.button" },
+ { "menu.button_name.active", UNDEFINED_FILENAME },
+ { "menu.button_name.active.clone_from", "menu.button.active" },
+ { "menu.button_levels", UNDEFINED_FILENAME },
+ { "menu.button_levels.clone_from", "menu.button_right" },
+ { "menu.button_levels.active", UNDEFINED_FILENAME },
+ { "menu.button_levels.active.clone_from", "menu.button_right.active" },
+ { "menu.button_scores", UNDEFINED_FILENAME },
+ { "menu.button_scores.clone_from", "menu.button" },
+ { "menu.button_scores.active", UNDEFINED_FILENAME },
+ { "menu.button_scores.active.clone_from", "menu.button.active" },
+ { "menu.button_editor", UNDEFINED_FILENAME },
+ { "menu.button_editor.clone_from", "menu.button" },
+ { "menu.button_editor.active", UNDEFINED_FILENAME },
+ { "menu.button_editor.active.clone_from", "menu.button.active" },
+ { "menu.button_info", UNDEFINED_FILENAME },
+ { "menu.button_info.clone_from", "menu.button_right" },
+ { "menu.button_info.active", UNDEFINED_FILENAME },
+ { "menu.button_info.active.clone_from", "menu.button_right.active" },
+ { "menu.button_game", UNDEFINED_FILENAME },
+ { "menu.button_game.clone_from", "menu.button" },
+ { "menu.button_game.active", UNDEFINED_FILENAME },
+ { "menu.button_game.active.clone_from", "menu.button.active" },
+ { "menu.button_setup", UNDEFINED_FILENAME },
+ { "menu.button_setup.clone_from", "menu.button_right" },
+ { "menu.button_setup.active", UNDEFINED_FILENAME },
+ { "menu.button_setup.active.clone_from", "menu.button_right.active" },
+ { "menu.button_quit", UNDEFINED_FILENAME },
+ { "menu.button_quit.clone_from", "menu.button" },
+ { "menu.button_quit.active", UNDEFINED_FILENAME },
+ { "menu.button_quit.active.clone_from", "menu.button.active" },
+
{ "menu.scrollbar", "RocksDC.pcx" },
{ "menu.scrollbar.xpos", "8" },
{ "menu.scrollbar.ypos", "10" },
#define IMG_MENU_BUTTON_NEXT_LEVEL_ACTIVE 1645
#define IMG_MENU_BUTTON_PREV_LEVEL 1646
#define IMG_MENU_BUTTON_PREV_LEVEL_ACTIVE 1647
-#define IMG_MENU_SCROLLBAR 1648
-#define IMG_MENU_SCROLLBAR_ACTIVE 1649
-#define IMG_FONT_INITIAL_1 1650
-#define IMG_FONT_INITIAL_2 1651
-#define IMG_FONT_INITIAL_3 1652
-#define IMG_FONT_INITIAL_4 1653
-#define IMG_FONT_TITLE_1 1654
-#define IMG_FONT_TITLE_2 1655
-#define IMG_FONT_MENU_1 1656
-#define IMG_FONT_MENU_1_ACTIVE 1657
-#define IMG_FONT_MENU_2 1658
-#define IMG_FONT_MENU_2_ACTIVE 1659
-#define IMG_FONT_TEXT_1 1660
-#define IMG_FONT_TEXT_1_MAIN 1661
-#define IMG_FONT_TEXT_1_LEVELS 1662
-#define IMG_FONT_TEXT_1_SETUP 1663
-#define IMG_FONT_TEXT_1_PREVIEW 1664
-#define IMG_FONT_TEXT_1_SCORES 1665
-#define IMG_FONT_TEXT_1_ACTIVE_SCORES 1666
-#define IMG_FONT_TEXT_1_PANEL 1667
-#define IMG_FONT_TEXT_1_DOOR 1668
-#define IMG_FONT_TEXT_2 1669
-#define IMG_FONT_TEXT_2_MAIN 1670
-#define IMG_FONT_TEXT_2_LEVELS 1671
-#define IMG_FONT_TEXT_2_SETUP 1672
-#define IMG_FONT_TEXT_2_PREVIEW 1673
-#define IMG_FONT_TEXT_2_SCORES 1674
-#define IMG_FONT_TEXT_2_ACTIVE_SCORES 1675
-#define IMG_FONT_TEXT_3 1676
-#define IMG_FONT_TEXT_3_LEVELS 1677
-#define IMG_FONT_TEXT_3_SETUP 1678
-#define IMG_FONT_TEXT_3_PREVIEW 1679
-#define IMG_FONT_TEXT_3_SCORES 1680
-#define IMG_FONT_TEXT_3_ACTIVE_SCORES 1681
-#define IMG_FONT_TEXT_4 1682
-#define IMG_FONT_TEXT_4_MAIN 1683
-#define IMG_FONT_TEXT_4_LEVELS 1684
-#define IMG_FONT_TEXT_4_SETUP 1685
-#define IMG_FONT_TEXT_4_SCORES 1686
-#define IMG_FONT_TEXT_4_ACTIVE_SCORES 1687
-#define IMG_FONT_ENVELOPE_1 1688
-#define IMG_FONT_ENVELOPE_2 1689
-#define IMG_FONT_ENVELOPE_3 1690
-#define IMG_FONT_ENVELOPE_4 1691
-#define IMG_FONT_INPUT_1 1692
-#define IMG_FONT_INPUT_1_MAIN 1693
-#define IMG_FONT_INPUT_1_ACTIVE 1694
-#define IMG_FONT_INPUT_1_ACTIVE_MAIN 1695
-#define IMG_FONT_INPUT_1_ACTIVE_SETUP 1696
-#define IMG_FONT_INPUT_2 1697
-#define IMG_FONT_INPUT_2_ACTIVE 1698
-#define IMG_FONT_OPTION_OFF 1699
-#define IMG_FONT_OPTION_ON 1700
-#define IMG_FONT_VALUE_1 1701
-#define IMG_FONT_VALUE_2 1702
-#define IMG_FONT_VALUE_OLD 1703
-#define IMG_FONT_LEVEL_NUMBER 1704
-#define IMG_FONT_LEVEL_NUMBER_ACTIVE 1705
-#define IMG_FONT_TAPE_RECORDER 1706
-#define IMG_FONT_GAME_INFO 1707
-#define IMG_FONT_INFO_ELEMENTS 1708
-#define IMG_FONT_INFO_LEVELSET 1709
-#define IMG_GLOBAL_BORDER 1710
-#define IMG_GLOBAL_DOOR 1711
-#define IMG_EDITOR_ELEMENT_BORDER 1712
-#define IMG_EDITOR_ELEMENT_BORDER_INPUT 1713
-#define IMG_EDITOR_CASCADE_LIST 1714
-#define IMG_EDITOR_CASCADE_LIST_ACTIVE 1715
-#define IMG_BACKGROUND 1716
-#define IMG_BACKGROUND_TITLE_INITIAL 1717
-#define IMG_BACKGROUND_TITLE 1718
-#define IMG_BACKGROUND_MAIN 1719
-#define IMG_BACKGROUND_LEVELS 1720
-#define IMG_BACKGROUND_SCORES 1721
-#define IMG_BACKGROUND_EDITOR 1722
-#define IMG_BACKGROUND_INFO 1723
-#define IMG_BACKGROUND_INFO_ELEMENTS 1724
-#define IMG_BACKGROUND_INFO_MUSIC 1725
-#define IMG_BACKGROUND_INFO_CREDITS 1726
-#define IMG_BACKGROUND_INFO_PROGRAM 1727
-#define IMG_BACKGROUND_INFO_VERSION 1728
-#define IMG_BACKGROUND_INFO_LEVELSET 1729
-#define IMG_BACKGROUND_SETUP 1730
-#define IMG_BACKGROUND_DOOR 1731
-#define IMG_BACKGROUND_TITLESCREEN_INITIAL_1 1732
-#define IMG_BACKGROUND_TITLESCREEN_INITIAL_2 1733
-#define IMG_BACKGROUND_TITLESCREEN_INITIAL_3 1734
-#define IMG_BACKGROUND_TITLESCREEN_INITIAL_4 1735
-#define IMG_BACKGROUND_TITLESCREEN_INITIAL_5 1736
-#define IMG_BACKGROUND_TITLESCREEN_1 1737
-#define IMG_BACKGROUND_TITLESCREEN_2 1738
-#define IMG_BACKGROUND_TITLESCREEN_3 1739
-#define IMG_BACKGROUND_TITLESCREEN_4 1740
-#define IMG_BACKGROUND_TITLESCREEN_5 1741
-#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_1 1742
-#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_2 1743
-#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_3 1744
-#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_4 1745
-#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_5 1746
-#define IMG_BACKGROUND_TITLEMESSAGE_1 1747
-#define IMG_BACKGROUND_TITLEMESSAGE_2 1748
-#define IMG_BACKGROUND_TITLEMESSAGE_3 1749
-#define IMG_BACKGROUND_TITLEMESSAGE_4 1750
-#define IMG_BACKGROUND_TITLEMESSAGE_5 1751
-#define IMG_BACKGROUND_ENVELOPE_1 1752
-#define IMG_BACKGROUND_ENVELOPE_2 1753
-#define IMG_BACKGROUND_ENVELOPE_3 1754
-#define IMG_BACKGROUND_ENVELOPE_4 1755
-#define IMG_TITLESCREEN_INITIAL_1 1756
-#define IMG_TITLESCREEN_INITIAL_2 1757
-#define IMG_TITLESCREEN_INITIAL_3 1758
-#define IMG_TITLESCREEN_INITIAL_4 1759
-#define IMG_TITLESCREEN_INITIAL_5 1760
-#define IMG_TITLESCREEN_1 1761
-#define IMG_TITLESCREEN_2 1762
-#define IMG_TITLESCREEN_3 1763
-#define IMG_TITLESCREEN_4 1764
-#define IMG_TITLESCREEN_5 1765
+#define IMG_MENU_BUTTON_NAME 1648
+#define IMG_MENU_BUTTON_NAME_ACTIVE 1649
+#define IMG_MENU_BUTTON_LEVELS 1650
+#define IMG_MENU_BUTTON_LEVELS_ACTIVE 1651
+#define IMG_MENU_BUTTON_SCORES 1652
+#define IMG_MENU_BUTTON_SCORES_ACTIVE 1653
+#define IMG_MENU_BUTTON_EDITOR 1654
+#define IMG_MENU_BUTTON_EDITOR_ACTIVE 1655
+#define IMG_MENU_BUTTON_INFO 1656
+#define IMG_MENU_BUTTON_INFO_ACTIVE 1657
+#define IMG_MENU_BUTTON_GAME 1658
+#define IMG_MENU_BUTTON_GAME_ACTIVE 1659
+#define IMG_MENU_BUTTON_SETUP 1660
+#define IMG_MENU_BUTTON_SETUP_ACTIVE 1661
+#define IMG_MENU_BUTTON_QUIT 1662
+#define IMG_MENU_BUTTON_QUIT_ACTIVE 1663
+#define IMG_MENU_SCROLLBAR 1664
+#define IMG_MENU_SCROLLBAR_ACTIVE 1665
+#define IMG_FONT_INITIAL_1 1666
+#define IMG_FONT_INITIAL_2 1667
+#define IMG_FONT_INITIAL_3 1668
+#define IMG_FONT_INITIAL_4 1669
+#define IMG_FONT_TITLE_1 1670
+#define IMG_FONT_TITLE_2 1671
+#define IMG_FONT_MENU_1 1672
+#define IMG_FONT_MENU_1_ACTIVE 1673
+#define IMG_FONT_MENU_2 1674
+#define IMG_FONT_MENU_2_ACTIVE 1675
+#define IMG_FONT_TEXT_1 1676
+#define IMG_FONT_TEXT_1_MAIN 1677
+#define IMG_FONT_TEXT_1_LEVELS 1678
+#define IMG_FONT_TEXT_1_SETUP 1679
+#define IMG_FONT_TEXT_1_PREVIEW 1680
+#define IMG_FONT_TEXT_1_SCORES 1681
+#define IMG_FONT_TEXT_1_ACTIVE_SCORES 1682
+#define IMG_FONT_TEXT_1_PANEL 1683
+#define IMG_FONT_TEXT_1_DOOR 1684
+#define IMG_FONT_TEXT_2 1685
+#define IMG_FONT_TEXT_2_MAIN 1686
+#define IMG_FONT_TEXT_2_LEVELS 1687
+#define IMG_FONT_TEXT_2_SETUP 1688
+#define IMG_FONT_TEXT_2_PREVIEW 1689
+#define IMG_FONT_TEXT_2_SCORES 1690
+#define IMG_FONT_TEXT_2_ACTIVE_SCORES 1691
+#define IMG_FONT_TEXT_3 1692
+#define IMG_FONT_TEXT_3_LEVELS 1693
+#define IMG_FONT_TEXT_3_SETUP 1694
+#define IMG_FONT_TEXT_3_PREVIEW 1695
+#define IMG_FONT_TEXT_3_SCORES 1696
+#define IMG_FONT_TEXT_3_ACTIVE_SCORES 1697
+#define IMG_FONT_TEXT_4 1698
+#define IMG_FONT_TEXT_4_MAIN 1699
+#define IMG_FONT_TEXT_4_LEVELS 1700
+#define IMG_FONT_TEXT_4_SETUP 1701
+#define IMG_FONT_TEXT_4_SCORES 1702
+#define IMG_FONT_TEXT_4_ACTIVE_SCORES 1703
+#define IMG_FONT_ENVELOPE_1 1704
+#define IMG_FONT_ENVELOPE_2 1705
+#define IMG_FONT_ENVELOPE_3 1706
+#define IMG_FONT_ENVELOPE_4 1707
+#define IMG_FONT_INPUT_1 1708
+#define IMG_FONT_INPUT_1_MAIN 1709
+#define IMG_FONT_INPUT_1_ACTIVE 1710
+#define IMG_FONT_INPUT_1_ACTIVE_MAIN 1711
+#define IMG_FONT_INPUT_1_ACTIVE_SETUP 1712
+#define IMG_FONT_INPUT_2 1713
+#define IMG_FONT_INPUT_2_ACTIVE 1714
+#define IMG_FONT_OPTION_OFF 1715
+#define IMG_FONT_OPTION_ON 1716
+#define IMG_FONT_VALUE_1 1717
+#define IMG_FONT_VALUE_2 1718
+#define IMG_FONT_VALUE_OLD 1719
+#define IMG_FONT_LEVEL_NUMBER 1720
+#define IMG_FONT_LEVEL_NUMBER_ACTIVE 1721
+#define IMG_FONT_TAPE_RECORDER 1722
+#define IMG_FONT_GAME_INFO 1723
+#define IMG_FONT_INFO_ELEMENTS 1724
+#define IMG_FONT_INFO_LEVELSET 1725
+#define IMG_GLOBAL_BORDER 1726
+#define IMG_GLOBAL_DOOR 1727
+#define IMG_EDITOR_ELEMENT_BORDER 1728
+#define IMG_EDITOR_ELEMENT_BORDER_INPUT 1729
+#define IMG_EDITOR_CASCADE_LIST 1730
+#define IMG_EDITOR_CASCADE_LIST_ACTIVE 1731
+#define IMG_BACKGROUND 1732
+#define IMG_BACKGROUND_TITLE_INITIAL 1733
+#define IMG_BACKGROUND_TITLE 1734
+#define IMG_BACKGROUND_MAIN 1735
+#define IMG_BACKGROUND_LEVELS 1736
+#define IMG_BACKGROUND_SCORES 1737
+#define IMG_BACKGROUND_EDITOR 1738
+#define IMG_BACKGROUND_INFO 1739
+#define IMG_BACKGROUND_INFO_ELEMENTS 1740
+#define IMG_BACKGROUND_INFO_MUSIC 1741
+#define IMG_BACKGROUND_INFO_CREDITS 1742
+#define IMG_BACKGROUND_INFO_PROGRAM 1743
+#define IMG_BACKGROUND_INFO_VERSION 1744
+#define IMG_BACKGROUND_INFO_LEVELSET 1745
+#define IMG_BACKGROUND_SETUP 1746
+#define IMG_BACKGROUND_DOOR 1747
+#define IMG_BACKGROUND_TITLESCREEN_INITIAL_1 1748
+#define IMG_BACKGROUND_TITLESCREEN_INITIAL_2 1749
+#define IMG_BACKGROUND_TITLESCREEN_INITIAL_3 1750
+#define IMG_BACKGROUND_TITLESCREEN_INITIAL_4 1751
+#define IMG_BACKGROUND_TITLESCREEN_INITIAL_5 1752
+#define IMG_BACKGROUND_TITLESCREEN_1 1753
+#define IMG_BACKGROUND_TITLESCREEN_2 1754
+#define IMG_BACKGROUND_TITLESCREEN_3 1755
+#define IMG_BACKGROUND_TITLESCREEN_4 1756
+#define IMG_BACKGROUND_TITLESCREEN_5 1757
+#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_1 1758
+#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_2 1759
+#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_3 1760
+#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_4 1761
+#define IMG_BACKGROUND_TITLEMESSAGE_INITIAL_5 1762
+#define IMG_BACKGROUND_TITLEMESSAGE_1 1763
+#define IMG_BACKGROUND_TITLEMESSAGE_2 1764
+#define IMG_BACKGROUND_TITLEMESSAGE_3 1765
+#define IMG_BACKGROUND_TITLEMESSAGE_4 1766
+#define IMG_BACKGROUND_TITLEMESSAGE_5 1767
+#define IMG_BACKGROUND_ENVELOPE_1 1768
+#define IMG_BACKGROUND_ENVELOPE_2 1769
+#define IMG_BACKGROUND_ENVELOPE_3 1770
+#define IMG_BACKGROUND_ENVELOPE_4 1771
+#define IMG_TITLESCREEN_INITIAL_1 1772
+#define IMG_TITLESCREEN_INITIAL_2 1773
+#define IMG_TITLESCREEN_INITIAL_3 1774
+#define IMG_TITLESCREEN_INITIAL_4 1775
+#define IMG_TITLESCREEN_INITIAL_5 1776
+#define IMG_TITLESCREEN_1 1777
+#define IMG_TITLESCREEN_2 1778
+#define IMG_TITLESCREEN_3 1779
+#define IMG_TITLESCREEN_4 1780
+#define IMG_TITLESCREEN_5 1781
-#define NUM_IMAGE_FILES 1766
+#define NUM_IMAGE_FILES 1782
#endif /* CONF_GFX_H */
#define SC_BORDER_SIZE 14
+#if 0
/* other useful macro definitions */
#define BUTTON_GRAPHIC_ACTIVE(g) \
(g == IMG_MENU_BUTTON_LEFT ? IMG_MENU_BUTTON_LEFT_ACTIVE : \
g == IMG_MENU_BUTTON_ENTER_MENU ? IMG_MENU_BUTTON_ENTER_MENU_ACTIVE : \
g == IMG_MENU_BUTTON_PREV_LEVEL ? IMG_MENU_BUTTON_PREV_LEVEL_ACTIVE : \
g == IMG_MENU_BUTTON_NEXT_LEVEL ? IMG_MENU_BUTTON_NEXT_LEVEL_ACTIVE : \
+ g == IMG_MENU_BUTTON_NAME ? IMG_MENU_BUTTON_NAME_ACTIVE : \
+ g == IMG_MENU_BUTTON_LEVELS ? IMG_MENU_BUTTON_LEVELS_ACTIVE : \
+ g == IMG_MENU_BUTTON_SCORES ? IMG_MENU_BUTTON_SCORES_ACTIVE : \
+ g == IMG_MENU_BUTTON_EDITOR ? IMG_MENU_BUTTON_EDITOR_ACTIVE : \
+ g == IMG_MENU_BUTTON_INFO ? IMG_MENU_BUTTON_INFO_ACTIVE : \
+ g == IMG_MENU_BUTTON_GAME ? IMG_MENU_BUTTON_GAME_ACTIVE : \
+ g == IMG_MENU_BUTTON_SETUP ? IMG_MENU_BUTTON_SETUP_ACTIVE : \
+ g == IMG_MENU_BUTTON_QUIT ? IMG_MENU_BUTTON_QUIT_ACTIVE : \
IMG_MENU_BUTTON_ACTIVE)
+#endif
/* forward declarations of internal functions */
{
{
MAIN_CONTROL_NAME,
- &menu.main.button.name, IMG_MENU_BUTTON,
+ &menu.main.button.name, IMG_MENU_BUTTON_NAME,
&menu.main.text.name, &main_text_name,
&menu.main.input.name, &setup.player_name,
},
{
MAIN_CONTROL_LEVELS,
- &menu.main.button.levels, IMG_MENU_BUTTON_ENTER_MENU,
+ &menu.main.button.levels, IMG_MENU_BUTTON_LEVELS,
&menu.main.text.levels, &main_text_levels,
NULL, NULL,
},
{
MAIN_CONTROL_SCORES,
- &menu.main.button.scores, IMG_MENU_BUTTON,
+ &menu.main.button.scores, IMG_MENU_BUTTON_SCORES,
&menu.main.text.scores, &main_text_scores,
NULL, NULL,
},
{
MAIN_CONTROL_EDITOR,
- &menu.main.button.editor, IMG_MENU_BUTTON,
+ &menu.main.button.editor, IMG_MENU_BUTTON_EDITOR,
&menu.main.text.editor, &main_text_editor,
NULL, NULL,
},
{
MAIN_CONTROL_INFO,
- &menu.main.button.info, IMG_MENU_BUTTON_ENTER_MENU,
+ &menu.main.button.info, IMG_MENU_BUTTON_INFO,
&menu.main.text.info, &main_text_info,
NULL, NULL,
},
{
MAIN_CONTROL_GAME,
- &menu.main.button.game, IMG_MENU_BUTTON,
+ &menu.main.button.game, IMG_MENU_BUTTON_GAME,
&menu.main.text.game, &main_text_game,
NULL, NULL,
},
{
MAIN_CONTROL_SETUP,
- &menu.main.button.setup, IMG_MENU_BUTTON_ENTER_MENU,
+ &menu.main.button.setup, IMG_MENU_BUTTON_SETUP,
&menu.main.text.setup, &main_text_setup,
NULL, NULL,
},
{
MAIN_CONTROL_QUIT,
- &menu.main.button.quit, IMG_MENU_BUTTON,
+ &menu.main.button.quit, IMG_MENU_BUTTON_QUIT,
&menu.main.text.quit, &main_text_quit,
NULL, NULL,
},
if (active_text)
{
- button_graphic = BUTTON_GRAPHIC_ACTIVE(button_graphic);
+ button_graphic = BUTTON_ACTIVE(button_graphic);
font_text = FONT_ACTIVE(font_text);
}
}
if (active)
- graphic = BUTTON_GRAPHIC_ACTIVE(graphic);
+ graphic = BUTTON_ACTIVE(graphic);
DrawBackgroundForGraphic(x, y, TILEX, TILEY, graphic);
DrawGraphicThruMaskExt(drawto, x, y, graphic, 0);