[sm130score] Restore old Course scoring for now.
This can be lua-ized later.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
local t = Def.ActorFrame {};
|
||||
|
||||
if( not GAMESTATE:IsCourseMode() ) then
|
||||
t[#t+1] = Def.Actor{
|
||||
JudgmentMessageCommand = function(self, params)
|
||||
Scoring[GetUserPref("UserPrefScoringMode")](params,
|
||||
STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player))
|
||||
end;
|
||||
};
|
||||
|
||||
end;
|
||||
return t;
|
||||
@@ -168,12 +168,13 @@ t[#t+1] = Def.ActorFrame {
|
||||
};
|
||||
CreateStops();
|
||||
};
|
||||
|
||||
if( not GAMESTATE:IsCourseMode() ) then
|
||||
t[#t+1] = Def.Actor{
|
||||
JudgmentMessageCommand = function(self, params)
|
||||
Scoring[GetUserPref("UserPrefScoringMode")](params,
|
||||
STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player))
|
||||
end;
|
||||
};
|
||||
end;
|
||||
|
||||
return t
|
||||
|
||||
@@ -263,6 +263,13 @@ void ScoreKeeperNormal::AddTapScore( TapNoteScore tns )
|
||||
|
||||
void ScoreKeeperNormal::AddHoldScore( HoldNoteScore hns )
|
||||
{
|
||||
if( GAMESTATE->IsCourseMode() )
|
||||
{
|
||||
if( hns == HNS_Held )
|
||||
AddScoreInternal( TNS_W1 );
|
||||
else if ( hns == HNS_LetGo )
|
||||
AddScoreInternal( TNS_W4 ); // required for subtractive score display to work properly.
|
||||
}
|
||||
}
|
||||
|
||||
void ScoreKeeperNormal::AddTapRowScore( TapNoteScore score, const NoteData &nd, int iRow )
|
||||
|
||||
Reference in New Issue
Block a user