aboutsummaryrefslogtreecommitdiff
path: root/levels.h
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-10 13:49:09 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-10 13:49:09 +0000
commitdb6933143f3b9bb423faeaf823485672ec803000 (patch)
treed47300e9713cc656af4b6f3f15b55dfcd01513e9 /levels.h
parent4dcadbd2d78207777e62e05c64e7dd5dae19f955 (diff)
downloadbullet-lab-remix-db6933143f3b9bb423faeaf823485672ec803000.tar.xz
One new level, several fixes. See changelog for details.
Diffstat (limited to 'levels.h')
-rw-r--r--levels.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/levels.h b/levels.h
index 4b5e171..9955339 100644
--- a/levels.h
+++ b/levels.h
@@ -3135,3 +3135,54 @@ void Levelm1Part10()//Achromatopsia2-child
}
aca.Update();acb.Update();
}
+void Levelm1Part11()
+{
+ frameleft=AMinute+ThirtySeconds;
+ DisableAllTower=false;
+ if (IfShowTip)
+ {
+ IfShowTip=false;
+ FadeTip=false;
+ Current_Position=2;
+ ShowTip("I've heard that all of you\n\
+support hyper-threading?");
+ return;
+ }
+ ++frameskips;
+ if (frameskips<10&&!LOWFPS)return;
+ frameskips=0;
+ CreateTower8(400,300,857,3,57,20,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;
+ aca.achroma2pnt();acb.achroma2pnt();
+ playerpos=vector2d(200,150);PlayerSplit=true;
+ return;
+ }
+}
+void Levelm1Part12()
+{
+ frameleft=ThirtySeconds;if(tower[towcnt].towertype!=6)towcnt=0;
+ DisableAllTower=false;
+ ++frameskips;
+ if (frameskips<10&&!LOWFPS)return;
+ frameskips=0;
+ CreateTower6(400,300,2500,2,2000,3,12);
+ 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;
+ }
+}