Moved GetTexturePath lua function from Sprite to RageTexture and renamed it to GetPath. Updated changelog.

This commit is contained in:
Kyzentun
2015-03-24 14:23:30 -06:00
parent b9551cc392
commit f4da2988d9
5 changed files with 26 additions and 6 deletions
+2
View File
@@ -114,6 +114,7 @@ public:
DEFINE_METHOD(GetTextureHeight, GetTextureHeight());
DEFINE_METHOD(GetImageWidth, GetImageWidth());
DEFINE_METHOD(GetImageHeight, GetImageHeight());
DEFINE_METHOD(GetPath, GetID().filename);
LunaRageTexture()
{
@@ -129,6 +130,7 @@ public:
ADD_METHOD(GetTextureHeight);
ADD_METHOD(GetImageWidth);
ADD_METHOD(GetImageHeight);
ADD_METHOD(GetPath);
}
};