This commit is contained in:
Glenn Maynard
2006-11-13 18:28:29 +00:00
parent e15285ab55
commit c2581734b1
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -676,7 +676,7 @@ bool Course::AllSongsAreFixed() const
return true;
}
void Course::Invalidate( Song *pStaleSong )
void Course::Invalidate( const Song *pStaleSong )
{
FOREACH_CONST( CourseEntry, m_vEntries, e )
{
+1 -1
View File
@@ -149,7 +149,7 @@ public:
void RegenerateNonFixedTrails() const;
/* Call when a Song or its Steps are deleted/changed. */
void Invalidate( Song *pStaleSong );
void Invalidate( const Song *pStaleSong );
void GetAllCachedTrails( vector<Trail *> &out );
RString GetCacheFilePath() const;
+1 -1
View File
@@ -863,7 +863,7 @@ void SongManager::Cleanup()
* are removed or changed. This doesn't touch GAMESTATE and StageStats
* 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. */
void SongManager::Invalidate( Song *pStaleSong )
void SongManager::Invalidate( const Song *pStaleSong )
{
FOREACH( Course*, this->m_pCourses, pCourse )
{
+1 -1
View File
@@ -33,7 +33,7 @@ public:
void FreeSongs();
void Cleanup();
void Invalidate( Song *pStaleSong );
void Invalidate( const Song *pStaleSong );
void RegenerateNonFixedCourses();
void SetPreferences();
+1 -1
View File
@@ -175,7 +175,7 @@ bool Trail::IsSecret() const
return false;
}
bool Trail::ContainsSong( Song* pSong ) const
bool Trail::ContainsSong( const Song *pSong ) const
{
FOREACH_CONST( TrailEntry, m_vEntries, e )
{
+1 -1
View File
@@ -70,7 +70,7 @@ public:
float GetLengthSeconds() const;
void GetDisplayBpms( DisplayBpms &AddTo ) const;
bool IsSecret() const;
bool ContainsSong( Song* pSong ) const;
bool ContainsSong( const Song *pSong ) const;
// Lua
void PushSelf( lua_State *L );