aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/USongs.pas
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2011-04-25 10:53:52 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2011-04-25 10:53:52 +0000
commit3de159b0d467f57967642431f96b7d675b004b8e (patch)
treea690bb422069071e4d8c0a5c8ddf92642ba24925 /Game/Code/Classes/USongs.pas
parented610027abbb1ffebc8067a623f785ed48680ecc (diff)
downloadusdx-3de159b0d467f57967642431f96b7d675b004b8e.tar.gz
usdx-3de159b0d467f57967642431f96b7d675b004b8e.tar.xz
usdx-3de159b0d467f57967642431f96b7d675b004b8e.zip
added song quality check
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2829 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/USongs.pas')
-rw-r--r--Game/Code/Classes/USongs.pas12
1 files changed, 12 insertions, 0 deletions
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas
index f3323244..20d107e1 100644
--- a/Game/Code/Classes/USongs.pas
+++ b/Game/Code/Classes/USongs.pas
@@ -18,6 +18,16 @@ type
FadeOut_time: real; //FadeOut-Time in seconds
end;
+ TSongQuality = record // 0..100% 0% = worst, 100% = should be good
+ Syntax: real; // are there syntax errors in txt?
+ BPM: real; // should be between 200 and 450
+ NoteGaps: real; // notes should have some space between each other
+ NoteJumps: real; // don't change the note level too much if there's no space between the notes
+ Scores: real; // 50% if no highscore available, else: maximum highscore/10
+
+ Value: real; // summarized quality indicator
+ end;
+
{ used to hold header tags that are not supported by this version of
usdx (e.g. some tags from ultrastar 0.7.0) when songs are loaded in
songeditor. They will be written the end of the song header } //from usdx 1.1
@@ -43,6 +53,8 @@ type
Folder: string; // for sorting by folder
FileName: string;
+ Quality: TSongQuality;
+
isDuet: boolean;
DuetNames: array of string;
Medley: TMedley;