summaryrefslogtreecommitdiff
path: root/levels.h
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-19 08:34:55 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-19 08:34:55 +0000
commitcd2d8a40f39ccf70b6fb294cff37c879bee98c6a (patch)
tree49d8fe13a8fc64ffd4327ccfe081f70ddab87ddd /levels.h
parent9739a80289d57881178a9aa7c88d1490010894a5 (diff)
downloadbullet-lab-remix-cd2d8a40f39ccf70b6fb294cff37c879bee98c6a.tar.xz
A new level, sync changelog.
Diffstat (limited to 'levels.h')
-rw-r--r--levels.h36
1 files changed, 35 insertions, 1 deletions
diff --git a/levels.h b/levels.h
index d20b1e7..f685732 100644
--- a/levels.h
+++ b/levels.h
@@ -3288,7 +3288,7 @@ void Levelm1Part14()
}
yellowGroup fyg[100];
Spinner fygs;
-void Levelm1Part15()//?
+void Levelm1Part15()
{
frameleft=AMinute+ThirtySeconds;
All2pnt();towcnt=0;memset(fyg,0,sizeof(fyg));
@@ -3455,3 +3455,37 @@ void Levelm1Part20()
break;
}
}
+void Levelm1Part21()
+{
+ //some part of this level is in towernbullet...
+ frameleft=AMinute*1.5;
+ if (towcnt!=4&&towcnt!=0)return ClearAll(false);
+ DisableAllTower=false;
+ if (IfShowTip)
+ {
+ IfShowTip=false;
+ FadeTip=false;
+ Current_Position=2;
+ ShowTip("Zzz");
+ All2pnt();
+ return;
+ }
+ ++frameskips;
+ if (frameskips<10&&!LOWFPS)return;
+ frameskips=0;
+ CreateTower8(30,10,1500,3,20,30,false);
+ CreateTower8(746,10,1500,3,20,30,false);
+ CreateTower8(30,556,1500,3,20,30,false);
+ CreateTower8(746,556,1500,3,20,30,false);
+ for (int i=1;i<=towcnt;++i)
+ if (tower[i].RendColor==0x80FFFFFF)
+ tower[i].RendColor=0x00FFFFFF;
+ for (int i=1;i<=towcnt;++i)
+ if ((tower[i].RendColor>>24)<=0x80)
+ tower[i].RendColor=tower[i].RendColor+0x01FFFFFF;
+ else
+ {
+ IfCallLevel=false;
+ return;
+ }
+}