Moved GetTexturePath lua function from Sprite to RageTexture and renamed it to GetPath. Updated changelog.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1078,7 +1078,6 @@ public:
|
||||
TEXTUREMAN->EnableOddDimensionWarning();
|
||||
return 1;
|
||||
}
|
||||
DEFINE_METHOD(GetTexturePath, GetTexturePath());
|
||||
|
||||
/* Commands that go in the tweening queue:
|
||||
* Commands that take effect immediately (ignoring the tweening queue): */
|
||||
@@ -1225,7 +1224,6 @@ public:
|
||||
ADD_METHOD( Load );
|
||||
ADD_METHOD( LoadBanner );
|
||||
ADD_METHOD( LoadBackground );
|
||||
ADD_METHOD(GetTexturePath);
|
||||
ADD_METHOD( customtexturerect );
|
||||
ADD_METHOD( SetCustomImageRect );
|
||||
ADD_METHOD( SetCustomPosCoords );
|
||||
|
||||
Reference in New Issue
Block a user