const
This commit is contained in:
@@ -676,7 +676,7 @@ bool Course::AllSongsAreFixed() const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Course::Invalidate( Song *pStaleSong )
|
void Course::Invalidate( const Song *pStaleSong )
|
||||||
{
|
{
|
||||||
FOREACH_CONST( CourseEntry, m_vEntries, e )
|
FOREACH_CONST( CourseEntry, m_vEntries, e )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ public:
|
|||||||
void RegenerateNonFixedTrails() const;
|
void RegenerateNonFixedTrails() const;
|
||||||
|
|
||||||
/* Call when a Song or its Steps are deleted/changed. */
|
/* Call when a Song or its Steps are deleted/changed. */
|
||||||
void Invalidate( Song *pStaleSong );
|
void Invalidate( const Song *pStaleSong );
|
||||||
|
|
||||||
void GetAllCachedTrails( vector<Trail *> &out );
|
void GetAllCachedTrails( vector<Trail *> &out );
|
||||||
RString GetCacheFilePath() const;
|
RString GetCacheFilePath() const;
|
||||||
|
|||||||
@@ -863,7 +863,7 @@ void SongManager::Cleanup()
|
|||||||
* are removed or changed. This doesn't touch GAMESTATE and StageStats
|
* are removed or changed. This doesn't touch GAMESTATE and StageStats
|
||||||
* pointers. Currently, the only time Steps are altered independantly of the
|
* pointers. Currently, the only time Steps are altered independantly of the
|
||||||
* Courses and Songs is in Edit Mode, which updates the other pointers it needs. */
|
* Courses and Songs is in Edit Mode, which updates the other pointers it needs. */
|
||||||
void SongManager::Invalidate( Song *pStaleSong )
|
void SongManager::Invalidate( const Song *pStaleSong )
|
||||||
{
|
{
|
||||||
FOREACH( Course*, this->m_pCourses, pCourse )
|
FOREACH( Course*, this->m_pCourses, pCourse )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public:
|
|||||||
void FreeSongs();
|
void FreeSongs();
|
||||||
void Cleanup();
|
void Cleanup();
|
||||||
|
|
||||||
void Invalidate( Song *pStaleSong );
|
void Invalidate( const Song *pStaleSong );
|
||||||
|
|
||||||
void RegenerateNonFixedCourses();
|
void RegenerateNonFixedCourses();
|
||||||
void SetPreferences();
|
void SetPreferences();
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ bool Trail::IsSecret() const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Trail::ContainsSong( Song* pSong ) const
|
bool Trail::ContainsSong( const Song *pSong ) const
|
||||||
{
|
{
|
||||||
FOREACH_CONST( TrailEntry, m_vEntries, e )
|
FOREACH_CONST( TrailEntry, m_vEntries, e )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ public:
|
|||||||
float GetLengthSeconds() const;
|
float GetLengthSeconds() const;
|
||||||
void GetDisplayBpms( DisplayBpms &AddTo ) const;
|
void GetDisplayBpms( DisplayBpms &AddTo ) const;
|
||||||
bool IsSecret() const;
|
bool IsSecret() const;
|
||||||
bool ContainsSong( Song* pSong ) const;
|
bool ContainsSong( const Song *pSong ) const;
|
||||||
|
|
||||||
// Lua
|
// Lua
|
||||||
void PushSelf( lua_State *L );
|
void PushSelf( lua_State *L );
|
||||||
|
|||||||
Reference in New Issue
Block a user