diff options
author | f1fth_freed0m <f1fth_freed0m@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-05-12 18:37:10 +0000 |
---|---|---|
committer | f1fth_freed0m <f1fth_freed0m@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-05-12 18:37:10 +0000 |
commit | c7aa1aec5328e8e2c5d42f9b34567cc6c4eadc03 (patch) | |
tree | 699e7ff74840b3403f8b3bacf5d6ba0cbff7fbde /Game/Code | |
parent | c6da424a1508eae4538244b4d00ddf1f0436b1b7 (diff) | |
download | usdx-c7aa1aec5328e8e2c5d42f9b34567cc6c4eadc03.tar.gz usdx-c7aa1aec5328e8e2c5d42f9b34567cc6c4eadc03.tar.xz usdx-c7aa1aec5328e8e2c5d42f9b34567cc6c4eadc03.zip |
- removed useless for loops in UScreenSing
- added cmdline switch "window" for windowmode
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1082 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UCommandLine.pas | 2 | ||||
-rw-r--r-- | Game/Code/Screens/UScreenSing.pas | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Game/Code/Classes/UCommandLine.pas b/Game/Code/Classes/UCommandLine.pas index 03e5c9d3..3c56c606 100644 --- a/Game/Code/Classes/UCommandLine.pas +++ b/Game/Code/Classes/UCommandLine.pas @@ -167,6 +167,8 @@ begin NoLog := True else if (Command = 'fullscreen') then Fullscreen := True + else if (Command = 'window') then + Fullscreen := False else if (Command = 'joypad') then Joypad := True diff --git a/Game/Code/Screens/UScreenSing.pas b/Game/Code/Screens/UScreenSing.pas index 8791accd..1b089eaf 100644 --- a/Game/Code/Screens/UScreenSing.pas +++ b/Game/Code/Screens/UScreenSing.pas @@ -1082,8 +1082,7 @@ begin Text[TextP2RScore].X := Text[TextP2RScore].X + 10*ScreenX;}
// end of weird stuff
- for S := 1 to 1 do //wtf?
- Static[S].Texture.X := Static[S].Texture.X + 10*ScreenX;
+ Static[1].Texture.X := Static[1].Texture.X + 10*ScreenX;
for T := 0 to 1 do
Text[T].X := Text[T].X + 10*ScreenX;
@@ -1272,8 +1271,7 @@ begin Text[TextP2RScore].X := Text[TextP2RScore].X - 10*ScreenX;}
//weird end
- for S := 1 to 1 do // wtf?
- Static[S].Texture.X := Static[S].Texture.X - 10*ScreenX;
+ Static[1].Texture.X := Static[1].Texture.X - 10*ScreenX;
for T := 0 to 1 do
Text[T].X := Text[T].X - 10*ScreenX;
|