add animation metrics to ScreenRanking

This commit is contained in:
Chris Danford
2003-10-22 09:49:51 +00:00
parent 4b51f89b6c
commit ca012307a5
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -2482,7 +2482,7 @@ Percent3OffCommand=sleep,0.4;linear,0.5;diffusealpha,0
Percent4OffCommand=sleep,0.5;linear,0.5;diffusealpha,0
Percent5OffCommand=sleep,0.6;linear,0.5;diffusealpha,0
DifficultyStartX=170
DifficultyStartY=110
DifficultyStartY=96
DifficultySpacingX=110
DifficultySpacingY=0
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
EmptyScoreName=STEP
DifficultiesToShow=easy,medium,hard,challenge
PageFadeSeconds=0.5
# Not all game types have NotesTypesToHide set, so add a few dummy colors
# to prevent a crash.
+2 -1
View File
@@ -75,6 +75,7 @@
#define DIFFICULTY_ON_COMMAND THEME->GetMetric ("ScreenRanking","DifficultyOnCommand")
#define DIFFICULTY_OFF_COMMAND THEME->GetMetric ("ScreenRanking","DifficultyOffCommand")
#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_ALL_SONGS THEME->GetMetricB("ScreenRanking","ShowAllSongs")
#define NOTES_TYPES_TO_HIDE THEME->GetMetric ("ScreenRanking","NotesTypesToHide")
@@ -251,7 +252,7 @@ void ScreenRanking::HandleScreenMessage( const ScreenMessage SM )
{
SetPage( m_vPagesToShow[0] );
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
{