diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-03-25 11:24:07 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-03-25 11:24:07 +0000 |
commit | 2bcebe90daa1865f1bc335d1f2fc2ca31637bc59 (patch) | |
tree | cc1976766683957e6446fab065bc51a67d5a019e /Game/Code | |
parent | 60521ca33e23a91f2ea8aecf506b9aa5e6bda54a (diff) | |
download | usdx-2bcebe90daa1865f1bc335d1f2fc2ca31637bc59.tar.gz usdx-2bcebe90daa1865f1bc335d1f2fc2ca31637bc59.tar.xz usdx-2bcebe90daa1865f1bc335d1f2fc2ca31637bc59.zip |
Some Code Cleanup
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@33 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UThemes.pas | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Game/Code/Classes/UThemes.pas b/Game/Code/Classes/UThemes.pas index 1d632073..e9aa2141 100644 --- a/Game/Code/Classes/UThemes.pas +++ b/Game/Code/Classes/UThemes.pas @@ -780,6 +780,15 @@ begin Song.Equalizer.Bands := ThemeIni.ReadInteger('SongEqualizer', 'Bands', 5);
Song.Equalizer.Length := ThemeIni.ReadInteger('SongEqualizer', 'Length', 12);
+ //Color
+ I := ColorExists(ThemeIni.ReadString('SongEqualizer', 'Color', 'Black'));
+ if I >= 0 then begin
+ Song.Equalizer.ColR := Color[I].RGB.R;
+ Song.Equalizer.ColG := Color[I].RGB.G;
+ Song.Equalizer.ColB := Color[I].RGB.B;
+ end;
+ //Load Equalizer Pos and Size from Theme Mod End
+
//Party Mode
ThemeLoadStatic(Song.StaticTeam1Joker1, 'SongStaticTeam1Joker1');
ThemeLoadStatic(Song.StaticTeam1Joker2, 'SongStaticTeam1Joker2');
@@ -799,15 +808,6 @@ begin ThemeLoadStatic(Song.StaticTeam3Joker4, 'SongStaticTeam3Joker4');
ThemeLoadStatic(Song.StaticTeam3Joker5, 'SongStaticTeam3Joker5');
- //Color
- I := ColorExists(ThemeIni.ReadString('SongEqualizer', 'Color', 'Black'));
- if I >= 0 then begin
- Song.Equalizer.ColR := Color[I].RGB.R;
- Song.Equalizer.ColG := Color[I].RGB.G;
- Song.Equalizer.ColB := Color[I].RGB.B;
- end;
- //Load Equalizer Pos and Size from Theme Mod End
-
// Sing
ThemeLoadBasic(Sing, 'Sing');
|