Sanity checking for frame and texuture hints from filenames.

This commit is contained in:
Kyzentun
2014-09-07 14:15:19 -06:00
parent d6205f2b84
commit 1ca9753e10
3 changed files with 33 additions and 7 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ public:
// The ID that we were asked to load:
const RageTextureID &GetID() const { return m_ID; }
static void GetFrameDimensionsFromFileName( RString sPath, int* puFramesWide, int* puFramesHigh );
static void GetFrameDimensionsFromFileName( RString sPath, int* puFramesWide, int* puFramesHigh, int source_width= 0, int source_height= 0 );
// Lua
virtual void PushSelf( lua_State *L );