diff options
author | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-06-28 13:52:21 +0000 |
---|---|---|
committer | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-06-28 13:52:21 +0000 |
commit | e2623a2ba1b5789ae299c29804697d004a8cd886 (patch) | |
tree | 079b1ecf7a892af9f31b6c3828789d714b4805f2 /towernbullet.h | |
parent | 7495d8ca26cdb25056667ae8a8d860005ee2a68f (diff) | |
download | bullet-lab-remix-e2623a2ba1b5789ae299c29804697d004a8cd886.tar.xz |
Mod, mod, mod...!
Assessment mode is mostly frozen now.
I'll make a pre-release at r99 and that revision will be set to
0.9.9-0.
Write the document... That's really tiring.
~~0.9.1-4 (r94)~~
Ooooooooops... I've forgotten to commit this one!
So this is merged to the revision above, actually.
=================================================================================
Modify a couple of levels. (Making them easier...)
Fix about scene text rendering out of the window.
(Probably) fixed Level3Part3 by making them temporarily invulnerable...
Are we bug-free now?
Diffstat (limited to 'towernbullet.h')
-rw-r--r-- | towernbullet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/towernbullet.h b/towernbullet.h index e0998e8..a79fb61 100644 --- a/towernbullet.h +++ b/towernbullet.h @@ -657,6 +657,8 @@ void ProcessBullet7(int i) bullet[pnt].limv=5; bullet[pnt].bulletaccel=0.005; bullet[pnt].bulletspeed=0; + bullet[pnt].redir(playerpos); + bullet[pnt].bulletdir.Rotate((j>>1&1?1:-1)*pi/72); } } whirot+=dwhirot; @@ -1870,7 +1872,7 @@ public: void init() { stage=0;rad1=rad2=srad;elasp=0.0f;ccnt=0; - for (int i=0;i<cnt;++i)Bul[i]=CreateBullet8(400,300,0,false),bullet[Bul[i]].setdir(srad),bullet[Bul[i]].scale=0.01; + for (int i=0;i<cnt;++i)Bul[i]=CreateBullet8(400,300,0,false),bullet[Bul[i]].setdir(srad),bullet[Bul[i]].scale=0.01,bullet[Bul[i]].inv=true; bullet[Bul[0]].bulletspeed=2;bullet[Bul[0]].scale=1; } void stage0() @@ -1917,6 +1919,7 @@ public: bullet[Bul[i]].bulletpos=vector2d(400+(drange+(cnt-i)*dtrange)*cos(rad2-pi),300+(drange+(cnt-i)*dtrange)*sin(rad2-pi)); bullet[Bul[i]].bulletspeed=2,bullet[Bul[i]].redir(vector2d(400,300)), bullet[Bul[i]].bulletdir=vector2d(-bullet[Bul[i]].bulletdir.x,-bullet[Bul[i]].bulletdir.y); + bullet[Bul[i]].inv=false; } stage=2; } |