hold l+d+start to reset
This commit is contained in:
@@ -16,6 +16,9 @@
|
|||||||
#include "InputEventPlus.h"
|
#include "InputEventPlus.h"
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
#include "ControllerStateDisplay.h"
|
#include "ControllerStateDisplay.h"
|
||||||
|
#include "InputMapper.h"
|
||||||
|
#include "StepMania.h"
|
||||||
|
#include "CommonMetrics.h"
|
||||||
|
|
||||||
static const char *MultiplayerJudgeLineNames[] = {
|
static const char *MultiplayerJudgeLineNames[] = {
|
||||||
"W1",
|
"W1",
|
||||||
@@ -289,6 +292,13 @@ void ScreenEvaluationMultiplayer::Input( const InputEventPlus &input )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if( INPUTMAPPER->IsButtonDown( MenuInput(PLAYER_1,MENU_BUTTON_LEFT) ) &&
|
||||||
|
INPUTMAPPER->IsButtonDown( MenuInput(PLAYER_1,MENU_BUTTON_DOWN) ) )
|
||||||
|
{
|
||||||
|
StepMania::ResetGame();
|
||||||
|
SCREENMAN->SetNewScreen( CommonMetrics::INITIAL_SCREEN );
|
||||||
|
}
|
||||||
|
|
||||||
MenuStart( GAMESTATE->m_MasterPlayerNumber );
|
MenuStart( GAMESTATE->m_MasterPlayerNumber );
|
||||||
}
|
}
|
||||||
return; // input handled
|
return; // input handled
|
||||||
|
|||||||
Reference in New Issue
Block a user