add animation metrics to ScreenRanking
This commit is contained in:
@@ -2482,7 +2482,7 @@ Percent3OffCommand=sleep,0.4;linear,0.5;diffusealpha,0
|
|||||||
Percent4OffCommand=sleep,0.5;linear,0.5;diffusealpha,0
|
Percent4OffCommand=sleep,0.5;linear,0.5;diffusealpha,0
|
||||||
Percent5OffCommand=sleep,0.6;linear,0.5;diffusealpha,0
|
Percent5OffCommand=sleep,0.6;linear,0.5;diffusealpha,0
|
||||||
DifficultyStartX=170
|
DifficultyStartX=170
|
||||||
DifficultyStartY=110
|
DifficultyStartY=96
|
||||||
DifficultySpacingX=110
|
DifficultySpacingX=110
|
||||||
DifficultySpacingY=0
|
DifficultySpacingY=0
|
||||||
DifficultyOnCommand=addx,640;sleep,0.1;bounceend,1;addx,-640
|
DifficultyOnCommand=addx,640;sleep,0.1;bounceend,1;addx,-640
|
||||||
@@ -2497,7 +2497,7 @@ TextColor2=1,0.3,0.3,1
|
|||||||
TextColor3=0.3,1,0.3,1
|
TextColor3=0.3,1,0.3,1
|
||||||
EmptyScoreName=STEP
|
EmptyScoreName=STEP
|
||||||
DifficultiesToShow=easy,medium,hard,challenge
|
DifficultiesToShow=easy,medium,hard,challenge
|
||||||
|
PageFadeSeconds=0.5
|
||||||
|
|
||||||
# Not all game types have NotesTypesToHide set, so add a few dummy colors
|
# Not all game types have NotesTypesToHide set, so add a few dummy colors
|
||||||
# to prevent a crash.
|
# to prevent a crash.
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
#define DIFFICULTY_ON_COMMAND THEME->GetMetric ("ScreenRanking","DifficultyOnCommand")
|
#define DIFFICULTY_ON_COMMAND THEME->GetMetric ("ScreenRanking","DifficultyOnCommand")
|
||||||
#define DIFFICULTY_OFF_COMMAND THEME->GetMetric ("ScreenRanking","DifficultyOffCommand")
|
#define DIFFICULTY_OFF_COMMAND THEME->GetMetric ("ScreenRanking","DifficultyOffCommand")
|
||||||
#define SECONDS_PER_PAGE THEME->GetMetricF("ScreenRanking","SecondsPerPage")
|
#define SECONDS_PER_PAGE THEME->GetMetricF("ScreenRanking","SecondsPerPage")
|
||||||
|
#define PAGE_FADE_SECONDS THEME->GetMetricF("ScreenRanking","PageFadeSeconds")
|
||||||
#define SHOW_CATEGORIES THEME->GetMetricB("ScreenRanking","ShowCategories")
|
#define SHOW_CATEGORIES THEME->GetMetricB("ScreenRanking","ShowCategories")
|
||||||
#define SHOW_ALL_SONGS THEME->GetMetricB("ScreenRanking","ShowAllSongs")
|
#define SHOW_ALL_SONGS THEME->GetMetricB("ScreenRanking","ShowAllSongs")
|
||||||
#define NOTES_TYPES_TO_HIDE THEME->GetMetric ("ScreenRanking","NotesTypesToHide")
|
#define NOTES_TYPES_TO_HIDE THEME->GetMetric ("ScreenRanking","NotesTypesToHide")
|
||||||
@@ -251,7 +252,7 @@ void ScreenRanking::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
{
|
{
|
||||||
SetPage( m_vPagesToShow[0] );
|
SetPage( m_vPagesToShow[0] );
|
||||||
m_vPagesToShow.erase( m_vPagesToShow.begin() );
|
m_vPagesToShow.erase( m_vPagesToShow.begin() );
|
||||||
this->PostScreenMessage( SM_HidePage, SECONDS_PER_PAGE-1 );
|
this->PostScreenMessage( SM_HidePage, SECONDS_PER_PAGE-PAGE_FADE_SECONDS );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user