remove unused, fix screenshot high score records
This commit is contained in:
@@ -906,7 +906,7 @@ void ScreenEvaluation::Input( const InputEventPlus &input )
|
|||||||
if( input.GameI.IsValid() )
|
if( input.GameI.IsValid() )
|
||||||
{
|
{
|
||||||
PlayerNumber pn = GAMESTATE->GetCurrentStyle()->ControllerToPlayerNumber( input.GameI.controller );
|
PlayerNumber pn = GAMESTATE->GetCurrentStyle()->ControllerToPlayerNumber( input.GameI.controller );
|
||||||
HighScore &hs = m_HighScore[pn];
|
const HighScore &hs = STATSMAN->m_CurStageStats.m_player[pn].m_HighScore;
|
||||||
|
|
||||||
|
|
||||||
if( CodeDetector::EnteredCode(input.GameI.controller, CODE_SAVE_SCREENSHOT1) ||
|
if( CodeDetector::EnteredCode(input.GameI.controller, CODE_SAVE_SCREENSHOT1) ||
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
#include "DifficultyMeter.h"
|
#include "DifficultyMeter.h"
|
||||||
#include "PercentageDisplay.h"
|
#include "PercentageDisplay.h"
|
||||||
#include "ActorUtil.h"
|
#include "ActorUtil.h"
|
||||||
#include "HighScore.h"
|
|
||||||
#include "RageSound.h"
|
#include "RageSound.h"
|
||||||
|
|
||||||
const int MAX_SONGS_TO_SHOW = 5; // In summary, we show last 3 stages, plus extra stages if passed
|
const int MAX_SONGS_TO_SHOW = 5; // In summary, we show last 3 stages, plus extra stages if passed
|
||||||
@@ -103,7 +102,6 @@ protected:
|
|||||||
|
|
||||||
RageSound m_soundStart; // sound played if the player passes or fails
|
RageSound m_soundStart; // sound played if the player passes or fails
|
||||||
|
|
||||||
HighScore m_HighScore[NUM_PLAYERS];
|
|
||||||
bool m_bSavedScreenshot[NUM_PLAYERS];
|
bool m_bSavedScreenshot[NUM_PLAYERS];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user