From 3086b0cb208ddda5fd4cc8934080c68f034194c2 Mon Sep 17 00:00:00 2001 From: f1fth_freed0m Date: Wed, 12 Mar 2008 05:40:28 +0000 Subject: 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 --- Game/Code/Classes/USong.pas | 2 +- Game/Code/Classes/UThemes.pas | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'Game/Code/Classes') 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'); -- cgit v1.2.3