diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-05-27 09:26:00 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-05-27 09:26:00 +0000 |
commit | 79bed9be3f06a0ce6026755fbe49bd7437bdf12e (patch) | |
tree | 9be95a0a59f8a40c3545c81c7c60122ee8131389 /Game | |
parent | c7e2eee2adb177669622a9ee99072ad2b746efe5 (diff) | |
download | usdx-79bed9be3f06a0ce6026755fbe49bd7437bdf12e.tar.gz usdx-79bed9be3f06a0ce6026755fbe49bd7437bdf12e.tar.xz usdx-79bed9be3f06a0ce6026755fbe49bd7437bdf12e.zip |
Added workaround for corrupted background Images
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@231 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game')
-rw-r--r-- | Game/Changelog.txt | 15 | ||||
-rw-r--r-- | Game/Code/Screens/UScreenSing.pas | 13 |
2 files changed, 20 insertions, 8 deletions
diff --git a/Game/Changelog.txt b/Game/Changelog.txt index 839b8edb..b6de6209 100644 --- a/Game/Changelog.txt +++ b/Game/Changelog.txt @@ -12,8 +12,8 @@ Upd: New Method for displaying Covers in a Circle. Looks better with many Songs. Upd: Add Equalizer Object to SongScreen
Upd: Add ability to add reflection to Buttons and Statics (Reflection = 1)
Upd: Add ability to Group Buttons to a Buttonmenu, see Deluxe Theme Main Menu Tools Collection
-Upd: Add ability to Hide Buttons within Theme. Useful for example for MAinscreen Exit Button
-Upd: Add ability to give Texts a Wdth, so the Text breaks at the given Position
+Upd: Add ability to Hide Buttons within Theme. Useful for example for Mainscreen Exit Button
+Upd: Add ability to give Texts a Width, so the Text breaks at the given Position.
--------------
Recording Options
@@ -37,7 +37,7 @@ Party Mode Upd: Added Party Mode:
3 Teams possible with up to 4 Players
=> total of 12 Players
-Upd: Modi SDK to create nearly any Modi with some Programming Skill
+Upd: Modi SDK: Possibility to create nearly any Modi with some Programming Skill
Upd: 4 Custom Party Modi Plugins: Duell, Hold the Line, Until 5000, Blind Mode
--------------
@@ -61,15 +61,22 @@ Upd: Add some on Screen Error Messages helping new Peoples Upd: Add Advanced Screen with some new Options.
Upd: Add a Question PopUp before exiting
Upd: Show real Note in Editor (C, F#, etc.)
+Fix: No crashes caused by corrupted Textfiles anymore.
+ Added Errormessage Popup inGame and Jump Back to Songscreen. So even the Party Mode,
+ isn't interuppted.
Fix: Videosize can now be changed again
Fix: Bug in LineBonus Popup that can end up in a Memory Overflow
Fix: Bug in SelectSlide with less then 3 Options, No Overlapping anymore. Automatic resizing
Fix: Backgrounds can be used now in option Screens, too
+Fix: useless Memory usement when Song with Video is Played. When a Song with Video is played
+ there was some Memory that was not freeed at the End of the Song. This could have caused
+ too much Memory usement when many Songs with Video are Played.
+Fix: Some Changes in Memory usement and better Loading speed.
UltraStar 0.5.0 ultra-star.dl.am Mod X-Mas Edition (by Mota und Whiteshark)
-----------------------------
-Upd: Headereinlesefunktion komplett neu geschrieben
+Upd: New faster and Error resistant Header reader
Upd: Bewertungs Bar (Singstar Like)
Upd: PhrasenBonus + Popups
diff --git a/Game/Code/Screens/UScreenSing.pas b/Game/Code/Screens/UScreenSing.pas index ed79bb2f..2ba7522f 100644 --- a/Game/Code/Screens/UScreenSing.pas +++ b/Game/Code/Screens/UScreenSing.pas @@ -8,9 +8,9 @@ uses UMenu, UMusic, SDL, SysUtils, UFiles, UTime, USongs, UIni, ULog, USmpeg, UT type
TScreenSing = class(TMenu)
protected
- paused: boolean; //Pause Mod
- PauseTime: Real;
- NumEmptySentences: integer;
+ paused: boolean; //Pause Mod
+ PauseTime: Real;
+ NumEmptySentences: integer;
public
//TextTime: integer;
@@ -356,7 +356,12 @@ begin // set background
if (AktSong.Background <> '') and (AktSong.VideoLoaded = false) then
- Tex_Background := Texture.LoadTexture(AktSong.Path + AktSong.Background)
+ try
+ Tex_Background := Texture.LoadTexture(AktSong.Path + AktSong.Background);
+ except
+ log.LogError('Background could not be loaded: ' + AktSong.Path + AktSong.Background);
+ Tex_Background.TexNum := -1;
+ end
else
Tex_Background.TexNum := -1;
|