Files
itgmania212121/Themes/_fallback/Scripts/01 alias.lua
T
2010-05-17 13:28:47 -05:00

14 lines
407 B
Lua

--[[ sm-ssc aliases (non-compatibility)
This is mainly here for making commands case-insensitive without needing to
clutter up the C++ code. It can also be used to add custom functions that
wouldn't otherwise belong somewhere else.
--]]
-- in fact, this probably belongs in Sprite.lua...
function Sprite:cropto(w,h)
self:CropTo(w,h);
end;
function Actor:SetSize(w,h)
self:setsize(w,h);
end;