const
This commit is contained in:
@@ -33,7 +33,7 @@ bool DifficultyIcon::Load( CString sPath )
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DifficultyIcon::SetFromSteps( PlayerNumber pn, Steps* pSteps )
|
void DifficultyIcon::SetFromSteps( PlayerNumber pn, const Steps* pSteps )
|
||||||
{
|
{
|
||||||
if( pSteps == NULL )
|
if( pSteps == NULL )
|
||||||
m_bBlank = true;
|
m_bBlank = true;
|
||||||
@@ -41,7 +41,7 @@ void DifficultyIcon::SetFromSteps( PlayerNumber pn, Steps* pSteps )
|
|||||||
SetFromDifficulty( pn, pSteps->GetDifficulty() );
|
SetFromDifficulty( pn, pSteps->GetDifficulty() );
|
||||||
}
|
}
|
||||||
|
|
||||||
void DifficultyIcon::SetFromTrail( PlayerNumber pn, Trail* pTrail )
|
void DifficultyIcon::SetFromTrail( PlayerNumber pn, const Trail* pTrail )
|
||||||
{
|
{
|
||||||
if( pTrail == NULL )
|
if( pTrail == NULL )
|
||||||
m_bBlank = true;
|
m_bBlank = true;
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ public:
|
|||||||
|
|
||||||
bool Load( CString sFilePath );
|
bool Load( CString sFilePath );
|
||||||
|
|
||||||
void SetFromSteps( PlayerNumber pn, Steps* pSteps );
|
void SetFromSteps( PlayerNumber pn, const Steps* pSteps );
|
||||||
void SetFromTrail( PlayerNumber pn, Trail* pTrail );
|
void SetFromTrail( PlayerNumber pn, const Trail* pTrail );
|
||||||
void SetFromDifficulty( PlayerNumber pn, Difficulty dc );
|
void SetFromDifficulty( PlayerNumber pn, Difficulty dc );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
Reference in New Issue
Block a user