2010-01-26 21:00:30 -06:00
|
|
|
--[[ 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);
|
2010-05-17 13:28:47 -05:00
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
function Actor:SetSize(w,h)
|
|
|
|
|
self:setsize(w,h);
|
2010-01-26 21:00:30 -06:00
|
|
|
end;
|