From 32a2523dd5c51b31b31f5e43a7cebdb16e7f5e84 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Thu, 10 Jul 2014 13:47:24 +0000 Subject: Dear Pre-Release Candidate version(RC-0). CLR will collect multiplier +1's in range now. Multiplier +1's caught by player won't disappear now. Add/Move background transitions. Add volume control to options. This make the configuration file not compatible with older versions. Just delete it! Modify hge's API so that it can handle real volume and pan values. Volume value varys from 0 to 1, pan value varys from -1 to 1. Document... --- levels.h | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) (limited to 'levels.h') diff --git a/levels.h b/levels.h index d866989..1dea6c1 100644 --- a/levels.h +++ b/levels.h @@ -1418,7 +1418,7 @@ void Level5Part16() } void Level5Part17() { - frameleft=TenSeconds/10*2;clrtime=0; + frameleft=TenSeconds/2;clrtime=0; DisableAllTower=false; if (Current_Position==1) { @@ -1532,7 +1532,7 @@ void Level5Part22() } void Level6Part0() { - frameleft=50;All2pnt();towcnt=0; + frameleft=TenSeconds;All2pnt();towcnt=0; DisableAllTower=false; if (IfShowTip) { @@ -1546,11 +1546,14 @@ void Level6Part0() Level 6-Peaceful(?) Winter\n\ Look, there's a question mark in the title...\ "); - IfCallLevel=false; } if (Current_Position==1) { - frameleft=0; + if (!LOWFPS) + DBGColor=ColorTransfer(DBGColor,0xFF60A0FF); + else + for (int i=1;i<=17;++i)DBGColor=ColorTransfer(DBGColor,0xFF60A0FF); + if(DBGColor==0xFF60A0FF)++part; return; } } @@ -3277,18 +3280,25 @@ void Levelm1Part13()//Gravity Vortex ShowTip("Who's collecting such great power here?"); return; } - All2pnt();memset(m19lead,0,sizeof(m19lead)); - memset(m19gen,0,sizeof(m19gen)); - ++part;m19rad=m19step=m19cnt=0; - avabrk=0.05;avacurbrk=0; - for(int i=0;i<8;++i) + if (!LOWFPS) + DBGColor=ColorTransfer(DBGColor,0xFF000000); + else + for (int i=1;i<=17;++i)DBGColor=ColorTransfer(DBGColor,0xFF000000); + if (DBGColor==0xFF000000) { - m19lead[i]=CreateBullet2(400,300,0,0); - bullet[m19lead[i]].bulletpos=vector2d(400+250*cos(m19rad+i*pi/4),300+250*sin(m19rad+i*pi/4)); - bullet[m19lead[i]].alterColor=(TColors)i; - bullet[m19lead[i]].inv=true; + All2pnt();memset(m19lead,0,sizeof(m19lead)); + memset(m19gen,0,sizeof(m19gen)); + ++part;m19rad=m19step=m19cnt=0; + avabrk=0.05;avacurbrk=0; + for(int i=0;i<8;++i) + { + m19lead[i]=CreateBullet2(400,300,0,0); + bullet[m19lead[i]].bulletpos=vector2d(400+250*cos(m19rad+i*pi/4),300+250*sin(m19rad+i*pi/4)); + bullet[m19lead[i]].alterColor=(TColors)i; + bullet[m19lead[i]].inv=true; + } + m19pldir=false;BTarg.targpos=playerpos; } - m19pldir=false;BTarg.targpos=playerpos; } void Levelm1Part20update() { @@ -3386,11 +3396,7 @@ void Levelm1Part15()//"Supernova" ...nova!!"); return; } - if (!LOWFPS) - DBGColor=ColorTransfer(DBGColor,0xFF000000); - else - for (int i=1;i<=17;++i)DBGColor=ColorTransfer(DBGColor,0xFF000000); - if (DBGColor==0xFF000000) + if (Current_Position==1) { snexTarg.Init(0.001,vector2d(400,300)); All2pnt(); -- cgit v1.2.3