Initial commit.

This commit is contained in:
AJ Kelly
2010-01-26 21:00:30 -06:00
parent 80057f53cd
commit 3e51544930
4074 changed files with 588945 additions and 543956 deletions
+40
View File
@@ -0,0 +1,40 @@
--[[ sm-ssc compatibility helpers
sm-ssc changes quite a few things which would make various SM4 content break.
Also, certain things are deprecated/removed from sm-ssc.
--]]
--[[ Actor ]]
function Actor:hidden(bHide)
Warn("hidden is deprecated, use visible instead. (used on ".. self:GetName() ..")");
self:visible(not bHide);
end;
--[[ ActorScroller: all of these got renamed, so alias the lowercase ones if
things are going to look for them. ]]
function ActorScroller:getsecondtodestination()
self:GetSecondsToDestination();
end;
function ActorScroller:setsecondsperitem(secs)
self:SetSecondsPerItem(secs);
end;
function ActorScroller:setnumsubdivisions(subs)
self:SetNumSubdivisions(subs);
end;
function ActorScroller:scrollthroughallitems()
self:ScrollThroughAllItems();
end;
function ActorScroller:scrollwithpadding(fPadStart,fPadEnd)
self:ScrollWithPadding(fPadStart,fPadEnd);
end;
function ActorScroller:setfastcatchup(bFastCatchup)
self:SetFastCatchup(bFastCatchup);
end;
-- renaming various StepMania functions to sm-ssc ones:
if ScreenString then ScreenString = Screen.String; end;
if ScreenMetric then ScreenMetric = Screen.Metric; end;