Add a branch for use with the new theme and network play. Keep the old around for reference.

This commit is contained in:
Josh Allen
2008-03-23 22:21:21 +00:00
parent cf7052028b
commit 71c8f8b2b2
2 changed files with 10 additions and 2 deletions
@@ -36,6 +36,13 @@ function SongSelectionScreen()
return "ScreenSelectMusic"
end
function ScreenSelectMusicBranch()
if IsNetConnected() then ReportStyle() end
if IsNetSMOnline() then return SMOnlineScreen() end
if IsNetConnected() then return "ScreenNetSelectMusic" end
return "ScreenSelectMusic"
end
function NextNetworkScreen()
if IsNetConnected() then return "ScreenCaution" end
return "ScreenTitleMenu"
+3 -2
View File
@@ -235,7 +235,8 @@ UpdateOnMessage=""
PrevScreen="ScreenTitleMenu"
ChoiceNames="1,2,3,4,5"
# The "name" here affects the announcer, eg. "ScreenSelectStyle comment single".
Choice1="playmode,regular;name,Normal;text,Normal;screen,ScreenSelectMusic"
#Choice1="playmode,regular;name,Normal;text,Normal;screen,ScreenSelectMusic"
Choice1="playmode,regular;name,Normal;text,Normal;screen,"..ScreenSelectMusicBranch()
Choice2="playmode,nonstop;name,Nonstop;text,Nonstop;screen,ScreenSelectMusic"
Choice3="playmode,oni;name,Challenge;text,Challenge;screen,ScreenSelectMusic"
Choice4="playmode,nonstop;name,Survival;text,Survival;screen,ScreenSelectMusic"
@@ -4442,4 +4443,4 @@ FrameX=0
FrameY=0
TextX=
TextY=
TextOnCommand=zoom,0.5
TextOnCommand=zoom,0.5