Fixed GAMESTATE:GetCurrentStage to use correct logic for determining if all human players are on final stage.

THEME:GetPath lua functions can now pass true for the third arg if the element is optional.
Fixes to various StageDisplay things in default.
thify_number and thified_curstage_index lua functions added to default/Scripts/04 Other.lua.
This commit is contained in:
Kyzentun
2014-09-07 04:05:10 -06:00
parent ef04f2914a
commit 2199e7aafb
12 changed files with 145 additions and 60 deletions
+11
View File
@@ -75,6 +75,17 @@ static const int NUM_SHOWN_RADAR_CATEGORIES = 5;
AutoScreenMessage( SM_PlayCheer );
REGISTER_SCREEN_CLASS( ScreenEvaluation );
ScreenEvaluation::ScreenEvaluation()
{
GAMESTATE->m_AdjustTokensBySongCostForFinalStageCheck= false;
}
ScreenEvaluation::~ScreenEvaluation()
{
GAMESTATE->m_AdjustTokensBySongCostForFinalStageCheck= true;
}
void ScreenEvaluation::Init()
{
LOG->Trace( "ScreenEvaluation::Init()" );