From 59902632fcf65ad90f9ec98a686f52d11c27394d Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Mon, 2 Apr 2007 16:59:59 +0000 Subject: [PATCH] since in theory we can use the default theme for multiple gametypes, add a notification of current gametype. --- .../Themes/default/BGAnimations/ScreenTitleMenu overlay.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/Themes/default/BGAnimations/ScreenTitleMenu overlay.lua b/stepmania/Themes/default/BGAnimations/ScreenTitleMenu overlay.lua index 3d7deae2b8..0fa945ba1f 100644 --- a/stepmania/Themes/default/BGAnimations/ScreenTitleMenu overlay.lua +++ b/stepmania/Themes/default/BGAnimations/ScreenTitleMenu overlay.lua @@ -15,6 +15,10 @@ local children = { self:settext( text ) end; }; + LoadFont("Common", "normal") .. { + Text="Current Gametype: "..GAMESTATE:GetCurrentGame():GetName(); + OnCommand=cmd(x,SCREEN_LEFT+20;y,SCREEN_TOP+36;horizalign,left;diffuse,0.6,0.6,0.6,1;zoom,0.5;shadowlength,2); + }; } return Def.ActorFrame { children = children };