Removed old gnsonglength
authorCameron Ball <c.ball1729@gmail.com>
Tue, 10 Dec 2013 16:19:20 +0000 (00:19 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Tue, 10 Dec 2013 16:19:20 +0000 (00:19 +0800)
Themes/GrooveNights/BGAnimations/ScreenEvaluation overlay.xml
Themes/GrooveNights/Graphics/ScreenSelectMusic banner frame/default.xml

index bcf4a10..33011c9 100644 (file)
@@ -263,13 +263,9 @@ end">
                             local bpm = DisplayBPM(pn)
 
                             if GetRateMod() ~= '1.0x' then
-                                gnSongLengthDisplay = string.gsub(gnSongLength,'Patched','Length Patched');
-                                gnSongLengthDisplay = string.gsub(gnSongLength,'Length Length Patched','Length Patched');
-                                self:settext(bpm .. ' BPM ('..GetRateMod()..' Music Rate) - '..gnSongLengthDisplay);
+                                                               self:settext(bpm .. ' BPM ('..GetRateMod()..' Music Rate) - '..DisplaySongLength());
                             else
-                                gnSongLengthDisplay = string.gsub(gnSongLength,'Patched','Length Patched');
-                                gnSongLengthDisplay = string.gsub(gnSongLength,'Length Length Patched','Length Patched');
-                                self:settext(bpm .. ' BPM - '..gnSongLengthDisplay);
+                                self:settext(bpm .. ' BPM - '.. DisplaySongLength());
                             end
                        end"
                />
index 5571068..0dc7204 100644 (file)
@@ -240,26 +240,6 @@ end"
                                        end"
                                />
                                
-<!-- Determine Song Length-->
-               <BitmapText
-                       Text=""
-                       File="_eurostile blue glow"
-                       InitCommand="%function(self)  self:horizalign('right'); self:maxwidth(67); self:shadowlength(0); self:zoom(0.55); self:x(93+97); self:y(-22); self:draworder(10000); self:queuecommand('loop'); end"
-                       loopCommand="%function(self)
-                       self:stoptweening();
-                       gnSongLength = SCREENMAN:GetTopScreen():GetChild('TotalTime'):GetText();
-                       if gnSongLength == '01:45.00' then
-                               gnSongLength = 'Patched'
-                               self:diffuseblink();
-                               else
-                               self:stopeffect();
-                               gnSongLength = string.sub(gnSongLength, 1, -4);
-                               end
-                       self:settext(gnSongLength);
-                       self:sleep(0.05);
-                       self:queuecommand('loop');
-                       end"
-               />
 <!-- Determine Song Location-->
                <BitmapText
                        Text=""