aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
authorf1fth_freed0m <f1fth_freed0m@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-12 05:40:28 +0000
committerf1fth_freed0m <f1fth_freed0m@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-12 05:40:28 +0000
commit3086b0cb208ddda5fd4cc8934080c68f034194c2 (patch)
tree1f3ffda28869795044aef2291eb37be26cb5c854 /Game/Code/Classes
parenta4accf241c7623b5b36e1e31bded05f94f662585 (diff)
downloadusdx-3086b0cb208ddda5fd4cc8934080c68f034194c2.tar.gz
usdx-3086b0cb208ddda5fd4cc8934080c68f034194c2.tar.xz
usdx-3086b0cb208ddda5fd4cc8934080c68f034194c2.zip
Added an skinable overlay in SingScreen to indicate if pause is enabled
Fixed the erroroutput of ZeroNote Check git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@955 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes')
-rw-r--r--Game/Code/Classes/USong.pas2
-rw-r--r--Game/Code/Classes/UThemes.pas6
2 files changed, 7 insertions, 1 deletions
diff --git a/Game/Code/Classes/USong.pas b/Game/Code/Classes/USong.pas
index 427cba2e..0ac8e841 100644
--- a/Game/Code/Classes/USong.pas
+++ b/Game/Code/Classes/USong.pas
@@ -248,7 +248,7 @@ begin
Read(SongFile, ParamS);
//Check for ZeroNote
- if Param2 = 0 then Log.LogError('Error: Found ZeroNote at "'+TempC+' '+IntToStr(Param1)+' '+IntToStr(Param2)+' '+IntToStr(Param3)+' '+ParamS+'" -> Note ignored!') else
+ if Param2 = 0 then Log.LogError('Found ZeroNote at "'+TempC+' '+IntToStr(Param1)+' '+IntToStr(Param2)+' '+IntToStr(Param3)+ParamS+'" -> Note ignored!') else
begin
// add notes
if not Both then
diff --git a/Game/Code/Classes/UThemes.pas b/Game/Code/Classes/UThemes.pas
index f47fbc0f..dcdb8681 100644
--- a/Game/Code/Classes/UThemes.pas
+++ b/Game/Code/Classes/UThemes.pas
@@ -316,6 +316,9 @@ type
//Linebonus Translations
LineBonusText: Array [0..8] of String;
+
+ //Pause Popup
+ PausePopUp: TThemeStatic;
end;
TThemeScore = class(TThemeBasic)
@@ -1056,6 +1059,9 @@ begin
Sing.LineBonusText[7] := Language.Translate('POPUP_AWESOME');
Sing.LineBonusText[8] := Language.Translate('POPUP_PERFECT');
+ //PausePopup
+ ThemeLoadStatic(Sing.PausePopUp, 'PausePopUpStatic');
+
// Score
ThemeLoadBasic(Score, 'Score');