Make DifficultyMeter behavior constants into theme metrics instead.

This commit is contained in:
Chris Gomez
2003-08-01 23:18:03 +00:00
parent 70ef61d74b
commit d4866c3973
2 changed files with 14 additions and 5 deletions
+7 -2
View File
@@ -1,4 +1,4 @@
// Possible NextScreen names:
// Possible NextScreen names:
// - ScreenCaution
// - ScreenEz2SelectPlayer
// - ScreenSelectMode
@@ -1667,6 +1667,11 @@ DangerThreshold=0.2
NumChambers=32
NumStrips=2
[DifficultyMeter]
NumFeetInMeter=10
MaxFeetInMeter=14
GlowIfMeterGreaterThan=9
[TransitionKeepAlive]
StopMusicOnNext=0
KeepAliveType=0 // 0 for MAX, 1 for 5th
@@ -1982,7 +1987,7 @@ Caution=Toggle whether the Caution screen is shown.
OniScoreDisplay=Toggle whether the score in Oni mode displays Dance Points or the Dance Percent.
SongGroup=Toggle whether the Select Group screen is shown.
WheelSections=ALWAYS means sections in group + ABC; NEVER means no sections;::ABC ONLY shows sections in just ABC sort
Translations=Choose whether to displays song titles in their native::language (日本語), or to transliterate when possible
Translations=Choose whether to displays song titles in their native::language (“ú–{Œê), or to transliterate when possible
Lyrics=Choose whether to show lyrics if a song::has them available (LRC File)
10+footInRed=Choose where 10 footers or higher are displayed::in red on the song select wheel.
CourseSort=Determines how courses are sorted.
+7 -3
View File
@@ -21,9 +21,13 @@
#include "SongManager.h"
const int NUM_FEET_IN_METER = 10;
const int MAX_FEET_IN_METER = 14;
const int GLOW_IF_METER_GREATER_THAN = 9;
// const int NUM_FEET_IN_METER = 10;
// const int MAX_FEET_IN_METER = 14;
// const int GLOW_IF_METER_GREATER_THAN = 9;
#define NUM_FEET_IN_METER THEME->GetMetricI("DifficultyMeter","NumFeetInMeter")
#define MAX_FEET_IN_METER THEME->GetMetricI("DifficultyMeter","MaxFeetInMeter")
#define GLOW_IF_METER_GREATER_THAN THEME->GetMetricI("DifficultyMeter","GlowIfMeterGreaterThan")
DifficultyMeter::DifficultyMeter()