diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-03-23 17:40:06 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-03-23 17:40:06 +0000 |
commit | 95dc3d90b3eb11080fdcd5edae37cbd35c4ffb57 (patch) | |
tree | 87a06b3b4a909bf09bd0a105e742cae82cf4502d /Game/Code/UltraStar.dpr | |
parent | 47c091672034720666ca036e181dcff494ba04ee (diff) | |
download | usdx-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 'Game/Code/UltraStar.dpr')
-rw-r--r-- | Game/Code/UltraStar.dpr | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Game/Code/UltraStar.dpr b/Game/Code/UltraStar.dpr index 1bc19dcf..408405f8 100644 --- a/Game/Code/UltraStar.dpr +++ b/Game/Code/UltraStar.dpr @@ -42,7 +42,7 @@ uses UJoystick in 'Classes\UJoystick.pas',
ULCD in 'Classes\ULCD.pas',
ULight in 'Classes\ULight.pas',
- UScores in 'Classes\UScores.pas',
+ UDataBase in 'Classes\UDataBase.pas',
UCovers in 'Classes\UCovers.pas',
UCatCovers in 'Classes\UCatCovers.pas',
UFiles in 'Classes\UFiles.pas',
@@ -258,10 +258,11 @@ begin // Score Saving System
Log.BenchmarkStart(1);
- Log.LogStatus('Score DB System', 'Initialization');
- InitScore('Scores.db');
+ Log.LogStatus('DataBase System', 'Initialization');
+ DataBase := TDataBaseSystem.Create;
+ DataBase.Init ('Ultrastar.db');
Log.BenchmarkEnd(1);
- Log.LogBenchmark('Loading Score DB System', 1);
+ Log.LogBenchmark('Loading DataBase System', 1);
//GoldenStarsTwinkleMod
Log.BenchmarkStart(1);
|