added menu to editor

This commit is contained in:
Chris Danford
2002-08-17 06:44:04 +00:00
parent 84df8103d4
commit 4558db37bb
20 changed files with 1201 additions and 541 deletions
+2 -2
View File
@@ -179,7 +179,7 @@ void ScreenEditMenu::HandleScreenMessage( const ScreenMessage SM )
// Set the current Style, then let ScreenEdit infer the desired
// NotesType from that Style.
NotesType nt = GetSelectedNotesType();
Style style = GAMEMAN->GetStyleThatPlaysNotesType( nt );
Style style = GAMEMAN->GetEditStyleThatPlaysNotesType( nt );
GAMESTATE->m_CurStyle = style;
GAMESTATE->m_CurGame = GAMEMAN->GetStyleDefForStyle(style)->m_Game;
@@ -358,7 +358,7 @@ void ScreenEditMenu::MenuStart( const PlayerNumber p )
// find the first style that matches this notes type
GameDef* pGameDef = GAMESTATE->GetCurrentGameDef();
GAMESTATE->m_CurStyle = GAMEMAN->GetStyleThatPlaysNotesType( GetSelectedNotesType() );
GAMESTATE->m_CurStyle = GAMEMAN->GetEditStyleThatPlaysNotesType( GetSelectedNotesType() );
GAMESTATE->m_pCurNotes[PLAYER_1] = GetSelectedNotes();
m_soundSelect.PlayRandom();