Fix eval summary, summary branches

+ Fixed ScreenGameplay StepsDisplay errors
+ Fixed ScreenSelectCourse CourseContentsList masks
+ Fixed ScreenEvaluationSummary banners -- introduced a scroller.
+ Fixed showing ScreenEvaluationSummary showing after a course

(cherry picked from commit 04f7373238410c481cb79c6441fb27c55c69a447)
This commit is contained in:
Jonathan Payne
2014-08-28 06:01:15 -05:00
committed by freem
parent c36068faf8
commit 91581bb5f7
12 changed files with 133 additions and 47 deletions
@@ -1,19 +1,21 @@
local transform = function(self,offsetFromCenter,itemIndex,numitems)
self:y( offsetFromCenter * 44 );
end
return Def.CourseContentsList {
MaxSongs = 4;
MaxSongs = 10;
NumItemsToDraw = 8;
ShowCommand=cmd(bouncebegin,0.3;zoomy,1);
HideCommand=cmd(linear,0.3;zoomy,0);
SetCommand=function(self)
self:SetFromGameState();
self:PositionItems();
self:SetTransformFromHeight(44);
self:SetCurrentAndDestinationItem(0);
self:SetPauseCountdownSeconds(1);
self:SetSecondsPauseBetweenItems( 0.25 );
self:SetTransformFromFunction(transform);
--
MESSAGEMAN:Broadcast("SystemMessage",{ Text ="Test" });
--
self:SetDestinationItem(4);
self:SetDestinationItem( math.max(0,self:GetNumItems() - 4) );
self:SetLoop(false);
self:SetMask(270,44*4);
self:SetMask(0,0);
end;
CurrentTrailP1ChangedMessageCommand=cmd(playcommand,"Set");
CurrentTrailP2ChangedMessageCommand=cmd(playcommand,"Set");