various other cleanup

This commit is contained in:
AJ Kelly
2010-05-22 10:12:20 -05:00
parent 77b0f48bf0
commit 6eb23862fa
8 changed files with 28 additions and 30 deletions
-2
View File
@@ -48,9 +48,7 @@ public:
float GetSecondsToDestination() const; float GetSecondsToDestination() const;
int GetNumItems() const { return m_iNumItems; } int GetNumItems() const { return m_iNumItems; }
//
// Commands // Commands
//
void PushSelf( lua_State *L ); void PushSelf( lua_State *L );
protected: protected:
+2 -2
View File
@@ -102,7 +102,7 @@ void BGAnimation::LoadFromAniDir( const RString &_sAniDir )
if( DoesFileExist(sPathToIni) ) if( DoesFileExist(sPathToIni) )
{ {
// This is a new style BGAnimation (using .ini) // This is a 3.9-style BGAnimation (using .ini)
IniFile ini; IniFile ini;
ini.ReadFile( sPathToIni ); ini.ReadFile( sPathToIni );
@@ -117,7 +117,7 @@ void BGAnimation::LoadFromAniDir( const RString &_sAniDir )
} }
else else
{ {
// This is an old style BGAnimation (not using .ini) // This is an 3.0 and before-style BGAnimation (not using .ini)
// loading a directory of layers // loading a directory of layers
vector<RString> asImagePaths; vector<RString> asImagePaths;
+1 -1
View File
@@ -61,7 +61,7 @@ void Banner::LoadFromCachedBanner( const RString &sPath )
} }
else else
{ {
/* Try to load the low quality version. */ // Try to load the low quality version.
ID = BANNERCACHE->LoadCachedBanner( sPath ); ID = BANNERCACHE->LoadCachedBanner( sPath );
} }