aboutsummaryrefslogtreecommitdiff
path: root/scorec.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 /scorec.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 'scorec.h')
-rw-r--r--scorec.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/scorec.h b/scorec.h
index 55c0bf8..3fe0b10 100644
--- a/scorec.h
+++ b/scorec.h
@@ -186,12 +186,11 @@ void Score_Write()
void Score_Initailize()
{
freopen("score.cfg","w",stdout);
- puts(";BLS");
- static const char *fourchar="%c%c%c%c";
- printf(fourchar,0xd1,0xff,0xa0,0xc0);printf(fourchar,0,0,0,0);
- printf(fourchar,0xd1,0xff,0xa0,0xc1);printf(fourchar,0,0,0,0);
- printf(fourchar,0xd1,0xff,0xa0,0xc2);printf(fourchar,0,0,0,0);
- printf(fourchar,0xd1,0xff,0xa0,0xc3);printf(fourchar,0,0,0,0);
+ Putuint(0x3b424c53);
+ Putuint(0xd1ffa0c0);Putuint(0);
+ Putuint(0xd1ffa0c1);Putuint(0);
+ Putuint(0xd1ffa0c2);Putuint(0);
+ Putuint(0xd1ffa0c3);Putuint(0);
fclose(stdout);
}
void InsertHighScore()