aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UFiles.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-03-23 17:40:06 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-03-23 17:40:06 +0000
commit95dc3d90b3eb11080fdcd5edae37cbd35c4ffb57 (patch)
tree87a06b3b4a909bf09bd0a105e742cae82cf4502d /Game/Code/Classes/UFiles.pas
parent47c091672034720666ca036e181dcff494ba04ee (diff)
downloadusdx-95dc3d90b3eb11080fdcd5edae37cbd35c4ffb57.tar.gz
usdx-95dc3d90b3eb11080fdcd5edae37cbd35c4ffb57.tar.xz
usdx-95dc3d90b3eb11080fdcd5edae37cbd35c4ffb57.zip
Some Changes on Database System and Header Reader
Fixed Bug: Scores with 0 are added to DB Made a Class instead of many Functions Fixed a Bug in UFiles, not reading Gap from Header correctly git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@20 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UFiles.pas10
1 files changed, 10 insertions, 0 deletions
diff --git a/Game/Code/Classes/UFiles.pas b/Game/Code/Classes/UFiles.pas
index 61fdab03..fed9b7f1 100644
--- a/Game/Code/Classes/UFiles.pas
+++ b/Game/Code/Classes/UFiles.pas
@@ -171,6 +171,16 @@ begin
//Additional Header Information
//---------
+ // Video Gap
+ else if (Identifier = 'GAP') then
+ begin
+ // Replace . with ,
+ if (Pos('.', Value) <> 0) then
+ Value[Pos('.', Value)] := ',';
+
+ Song.GAP := StrtoFloatDef (Value, 0);
+ end
+
//Cover Picture
else if (Identifier = 'COVER') then
begin