From 478b23e404dd681bf0bf03fe76850ea1092d4172 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Sun, 21 Nov 2004 07:08:33 +0000 Subject: [PATCH] Metrics for the new NetRoom Screen. Also, for general development purposes, I am adding Network Options to the CVS list so that other developers who work with the network can use it, like the XBOX people. --- stepmania/Themes/default/metrics.ini | 55 ++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/stepmania/Themes/default/metrics.ini b/stepmania/Themes/default/metrics.ini index e34c7b5f26..b1bcf161bb 100644 --- a/stepmania/Themes/default/metrics.ini +++ b/stepmania/Themes/default/metrics.ini @@ -705,6 +705,42 @@ ScoreFrameP2OnCommand=hidden,1 Fallback=ScreenSelectCourse DefaultSort=ENDLESS +[ScreenNetRoom] +TitleBGColor=0.5,0.0,0.5,1.0 +TitleBGWidth=100 +TitleBGHeight=40 +TitleBGY=420 +TitleBGX=120 +TitleBGOnCommand=diffusealpha,0;linear,1;diffusealpha,1.0 +TitleBGOffCommand=linear,0.5;zoomx,0.0;zoomy,0.0 +RoomsBGColor=0.5,0.0,0.5,0.7 +RoomsBGWidth=250 +RoomsBGHeight=400 +RoomsBGY=240 +RoomsBGX=500 +RoomsBGOnCommand=diffusealpha,0;linear,1;diffusealpha,1.0;linear,1;diffusealpha,0.6 +RoomsBGOffCommand=linear,0.5;zoomx,0.0;zoomy,0.0 +SelColor=0.0,1.0,0.2,0.4 +SelHeight=30 +SelWidth=250 +SelY=220 +SelX=530 +SelOnCommand=zoomx,0.0;zoomy,0.0;linear,0.5;zoomy,1.0;zoomx,1.0 +SelOffCommand=linear,0.5;zoomx,0.0;zoomy,0.0 +TitleY=420 +TitleX=120 +TitleOnCommand=diffusealpha,0;linear,1;diffusealpha,1.0 +TitleOffCommand=linear,0.5;zoomx,0.0;zoomy,0.0 +RoomsY=240 +RoomsX=500 +RoomsOnCommand=diffusealpha,0;linear,1;diffusealpha,1.0 +RoomsOffCommand=linear,0.5;zoomx,0.0;zoomy,0.0 +NumRoomsShow=10 +PrevScreen=ScreenTitleMenu +NextScreen=ScreenStage +Fallback=ScreenNetSelectMusic + + [ScreenNetSelectMusic] ChatInputBoxY=SCREEN_CENTER_Y+90 ChatInputBoxX=SCREEN_CENTER_X-150 @@ -3953,7 +3989,7 @@ PrevScreen=ScreenTitleMenu # when using entries that change the screen; otherwise, the only way to # exit the screen when in regular mode is "exit". -LineNames=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 +LineNames=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 OptionMenuFlags=together;forceallplayers;smnavigation # This NextScreen is only used for the "exit" choice. Line1=list,Appearance Options @@ -3969,8 +4005,9 @@ Line10=list,Machine Options Line11=list,Sound Options Line12=list,Profile Options Line13=list,Other Options -Line14=list,Reload Songs/Courses -Line15=list,Test Input +Line14=list,Network Options +Line15=list,Reload Songs/Courses +Line16=list,Test Input [TextBanner] TitleX=-90 @@ -4042,11 +4079,13 @@ NextScreen4=screen,ScreenSelectBranchForNet [ScreenSelectBranchForNet] Class=ScreenBranch -Choices=1,2 -Condition1=IsNetConnected() -Condition2=true -NextScreen1=screen,ScreenNetSelectMusic -NextScreen2=screen,ScreenSelectMusic +Choices=1,2,3 +Condition1=IsNetSMOnline() +Condition2=IsNetConnected() +Condition3=true +NextScreen1=screen,ScreenNetRoom +NextScreen2=screen,ScreenNetSelectMusic +NextScreen3=screen,ScreenSelectMusic [ScreenPlayerOptions] Fallback=ScreenOptions