diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2011-05-16 18:04:45 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2011-05-16 18:04:45 +0000 |
commit | 488c2e0fe526a1fd5045fb546f7ace220c488085 (patch) | |
tree | 6b05b4cffea71ed1eba0ed55e6de00e2a9d6d484 /Game/Code/Classes/ULog.pas | |
parent | 7c402fd3ad326fe356467412f75541e4912b5087 (diff) | |
download | usdx-488c2e0fe526a1fd5045fb546f7ace220c488085.tar.gz usdx-488c2e0fe526a1fd5045fb546f7ace220c488085.tar.xz usdx-488c2e0fe526a1fd5045fb546f7ace220c488085.zip |
- new option: song quality check on/off
- exclude freestyle notes on song check
- added quality factors in config.ini
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2831 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/ULog.pas')
-rw-r--r-- | Game/Code/Classes/ULog.pas | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Game/Code/Classes/ULog.pas b/Game/Code/Classes/ULog.pas index 9e6f26fb..63cf8d52 100644 --- a/Game/Code/Classes/ULog.pas +++ b/Game/Code/Classes/ULog.pas @@ -651,7 +651,7 @@ begin //If File is opened write column names to File
If (FileSongQualityO) then
begin
- WriteLn(FileSongQuality, 'Artist; Title; Syntax; BPM; Note Gaps; Note Jumps; Scores; Value; Anteil Goldene Noten');
+ WriteLn(FileSongQuality, '"Artist";"Title";"Syntax";"BPM";"Note Gaps";"Note Jumps";"Scores";"Value";"Golden Note Ratio"');
Flush(FileSongQuality);
end;
end;
@@ -659,9 +659,10 @@ begin if FileSongQualityO then
begin
try
- WriteLn(FileSongQuality, artist + ';' + title + ';' + FloatToStr(syntax) + ';' +
- FloatToStr(bpm) + ';' + FloatToStr(notegaps) + ';' + FloatToStr(notejumps) + ';' +
- FloatToStr(score) + ';' + FloatToStr(value) + ';' + FloatToStr(goldennotes) + ';');
+ WriteLn(FileSongQuality, '"' + artist + '";"' + title + '";' + FormatFloat('#.0', syntax) + ';' +
+ FormatFloat('#.0', bpm) + ';' + FormatFloat('#.0', notegaps) + ';' +
+ FormatFloat('#.0', notejumps) + ';' + FormatFloat('#.0', score) + ';' +
+ FormatFloat('#.0', value) + ';' + FormatFloat('#.0', goldennotes) + ';');
except
FileSongQualityO := false;
end;
|