remove old
This commit is contained in:
@@ -111,8 +111,6 @@ local VertNumPad = {
|
||||
-- cmd(align,5) -- align center
|
||||
-- cmd(align,7) -- align top-left
|
||||
-- cmd(align,8) -- align top-center
|
||||
-- cmd(valign,8) -- align top (don't change horiz)
|
||||
-- cmd(halign,4) -- align left (don't change vert)
|
||||
function Actor:align(angle)
|
||||
local horiz = HorizNumPad[angle];
|
||||
assert( horiz, angle );
|
||||
@@ -122,16 +120,6 @@ function Actor:align(angle)
|
||||
self:vertalign( vert );
|
||||
end
|
||||
|
||||
function Actor:halign(angle)
|
||||
local horiz = HorizNumPad[angle];
|
||||
self:horizalign( horiz );
|
||||
end
|
||||
|
||||
function Actor:valign(angle)
|
||||
local vert = VertNumPad[angle];
|
||||
self:vertalign( vert );
|
||||
end
|
||||
|
||||
-- Most backgrounds are 640x480. Some are 768x480. Stretch the 640x480 ones.
|
||||
function Actor:scale_or_crop_background()
|
||||
if self:GetWidth() == 640 and self:GetHeight() == 480 then
|
||||
|
||||
Reference in New Issue
Block a user