CourseType is optional for GetCustomDifficulty().

Sync up Midi's theme changes.
This commit is contained in:
AJ Kelly
2010-02-11 23:27:17 -06:00
parent 00e0c7c801
commit 484820424b
3 changed files with 15 additions and 3 deletions
+12
View File
@@ -135,6 +135,18 @@ function Actor:Center()
self:y(SCREEN_CENTER_Y);
end;
-- SSC Additions
local DropBezier =
{
0 , 0,
8/16 , 1,
12/16 , 0.5,
16/16 , 1,
}
function Actor:drop(t)
self:tween( t, "TweenType_Bezier", DropBezier );
end
-- (c) 2006 Glenn Maynard
-- All rights reserved.
--
@@ -40,10 +40,10 @@ local t = Def.ActorFrame {
return
end; --]]
TwentyFiveMilestoneCommand=function(self,parent)
(cmd(rotationz,125;decelerate,0.125;rotationz,0))(self);
(cmd(zoom,1.25;drop,0.325;zoom,1))(self);
end;
ToastyAchievedMessageCommand=function(self,parent)
(cmd(stopeffect;spin;effectperiod,1))(self);
(cmd(pulse;effectperiod,1))(self);
end;
ComboCommand=function(self, param)
local iCombo = param.Misses or param.Combo;
+1 -1
View File
@@ -141,7 +141,7 @@ RString GetCustomDifficulty( StepsType st, Difficulty dc, CourseType ct )
}
}
LuaFunction( GetCustomDifficulty, GetCustomDifficulty(Enum::Check<StepsType>(L,1), Enum::Check<Difficulty>(L, 2), Enum::Check<CourseType>(L, 3)) );
LuaFunction( GetCustomDifficulty, GetCustomDifficulty(Enum::Check<StepsType>(L,1), Enum::Check<Difficulty>(L, 2), Enum::Check<CourseType>(L, 3, true)) );
RString CustomDifficultyToLocalizedString( const RString &sCustomDifficulty )
{