Make DifficultyMeter behavior constants into theme metrics instead.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// Possible NextScreen names:
|
// Possible NextScreen names:
|
||||||
// - ScreenCaution
|
// - ScreenCaution
|
||||||
// - ScreenEz2SelectPlayer
|
// - ScreenEz2SelectPlayer
|
||||||
// - ScreenSelectMode
|
// - ScreenSelectMode
|
||||||
@@ -1667,6 +1667,11 @@ DangerThreshold=0.2
|
|||||||
NumChambers=32
|
NumChambers=32
|
||||||
NumStrips=2
|
NumStrips=2
|
||||||
|
|
||||||
|
[DifficultyMeter]
|
||||||
|
NumFeetInMeter=10
|
||||||
|
MaxFeetInMeter=14
|
||||||
|
GlowIfMeterGreaterThan=9
|
||||||
|
|
||||||
[TransitionKeepAlive]
|
[TransitionKeepAlive]
|
||||||
StopMusicOnNext=0
|
StopMusicOnNext=0
|
||||||
KeepAliveType=0 // 0 for MAX, 1 for 5th
|
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.
|
OniScoreDisplay=Toggle whether the score in Oni mode displays Dance Points or the Dance Percent.
|
||||||
SongGroup=Toggle whether the Select Group screen is shown.
|
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
|
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)
|
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.
|
10+footInRed=Choose where 10 footers or higher are displayed::in red on the song select wheel.
|
||||||
CourseSort=Determines how courses are sorted.
|
CourseSort=Determines how courses are sorted.
|
||||||
|
|||||||
@@ -21,9 +21,13 @@
|
|||||||
#include "SongManager.h"
|
#include "SongManager.h"
|
||||||
|
|
||||||
|
|
||||||
const int NUM_FEET_IN_METER = 10;
|
// const int NUM_FEET_IN_METER = 10;
|
||||||
const int MAX_FEET_IN_METER = 14;
|
// const int MAX_FEET_IN_METER = 14;
|
||||||
const int GLOW_IF_METER_GREATER_THAN = 9;
|
// 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()
|
DifficultyMeter::DifficultyMeter()
|
||||||
|
|||||||
Reference in New Issue
Block a user