{ "game.panel.player_name.class", "none" },
{ "game.panel.player_name.style", "none" },
+ { "game.panel.levelset_name.x", "-1" },
+ { "game.panel.levelset_name.y", "-1" },
+ { "game.panel.levelset_name.align", "left" },
+ { "game.panel.levelset_name.valign", "top" },
+ { "game.panel.levelset_name.chars", "-1" },
+ { "game.panel.levelset_name.font", "font.text_2" },
+ { "game.panel.levelset_name.draw_masked", "true" },
+ { "game.panel.levelset_name.draw_order", "0" },
+ { "game.panel.levelset_name.class", "none" },
+ { "game.panel.levelset_name.style", "none" },
+
{ "game.panel.level_name.x", "-1" },
{ "game.panel.level_name.y", "-1" },
{ "game.panel.level_name.align", "left" },
{ "game.panel.level_name.draw_order", "0" },
{ "game.panel.level_name.class", "none" },
{ "game.panel.level_name.style", "none" },
+
{ "game.panel.level_author.x", "-1" },
{ "game.panel.level_author.y", "-1" },
{ "game.panel.level_author.align", "left" },
#define GAME_PANEL_CE_SCORE_7_ELEMENT 115
#define GAME_PANEL_CE_SCORE_8_ELEMENT 116
#define GAME_PANEL_PLAYER_NAME 117
-#define GAME_PANEL_LEVEL_NAME 118
-#define GAME_PANEL_LEVEL_AUTHOR 119
+#define GAME_PANEL_LEVELSET_NAME 118
+#define GAME_PANEL_LEVEL_NAME 119
+#define GAME_PANEL_LEVEL_AUTHOR 120
-#define NUM_GAME_PANEL_CONTROLS 120
+#define NUM_GAME_PANEL_CONTROLS 121
struct GamePanelOrderInfo
{
&game.panel.player_name,
TYPE_STRING,
},
+ {
+ GAME_PANEL_LEVELSET_NAME,
+ &game.panel.levelset_name,
+ TYPE_STRING,
+ },
{
GAME_PANEL_LEVEL_NAME,
&game.panel.level_name,
EL_UNDEFINED);
game_panel_controls[GAME_PANEL_PLAYER_NAME].value = 0;
+ game_panel_controls[GAME_PANEL_LEVELSET_NAME].value = 0;
game_panel_controls[GAME_PANEL_LEVEL_NAME].value = 0;
game_panel_controls[GAME_PANEL_LEVEL_AUTHOR].value = 0;
char *state = (active ? state_active : state_normal);
char *s = (nr == GAME_PANEL_GRAVITY_STATE ? state :
nr == GAME_PANEL_PLAYER_NAME ? setup.player_name :
+ nr == GAME_PANEL_LEVELSET_NAME ? leveldir_current->name :
nr == GAME_PANEL_LEVEL_NAME ? level.name :
nr == GAME_PANEL_LEVEL_AUTHOR ? level.author : NULL);