aboutsummaryrefslogtreecommitdiff
path: root/levels.h
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-04-30 08:20:45 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-04-30 08:20:45 +0000
commit3a51283329635021b839c8abbea4fac6bd7fe688 (patch)
tree39d96c81d480eb3be31771b8c54c6c07cdbe3d67 /levels.h
parenta53ffa43a1b9bb8eff54d94f9668e3ce0d9fb583 (diff)
downloadbullet-lab-remix-3a51283329635021b839c8abbea4fac6bd7fe688.tar.xz
Fix a critical bug in Score_Initailize.
Modify level pinball. Drop "_PR" in version string. Partly rewrite the credit scene, displaying accurate version details. Remove some warnings from hgewin. A set of basic tests are done on a Intel+Nvidia desktop computer. Add a simple build script(instead of makefile). Reduce the Windows version executable size...(local work, recompile freetype using reduced features enabled.) Current tested (by me) and worked plantforms: Debian sid x86_64 @Intel core i7-2670QM, 8GiB RAM, Intel HD3000 & @Intel Core2 Quad Q8300, 8GiB RAM, nvidia GT320. Windows XP x64 @VirutalBox, Dualcore Virtual CPU, 1.5GiB RAM, VBox Addons installed. Windows XP @Intel core i3-3240, 4GiB RAM, Intel HD3000.
Diffstat (limited to 'levels.h')
-rw-r--r--levels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/levels.h b/levels.h
index 2040903..4f3e4ec 100644
--- a/levels.h
+++ b/levels.h
@@ -3944,11 +3944,11 @@ void Levelm2Part18()
tbrk-=hge->Timer_GetDelta();
if(tbrk<0)
{
- tbrk=1-0.5*assetime/120.0f;if(tbrk<0.5)tbrk=0.5;
+ tbrk=1.25-0.5*assetime/120.0f;if(tbrk<0.5)tbrk=0.5;
for(int i=0;i<200;++i)
if(pinballs[i].Getlifetime()==0||pinballs[i].Getlifetime()>=10)
{
- int lay=3+7*assetime/120.0f;if(lay>10)lay=10;
+ int lay=3+5*assetime/120.0f;if(lay>8)lay=re.NextInt(3,10);
vector2d pos=vector2d(re.NextDouble(100,600),re.NextDouble(100,500));
while(GetDist(pos,playerpos)<100)pos=vector2d(re.NextDouble(100,600),re.NextDouble(100,500));
pinballs[i].Init(pos,lay);