aboutsummaryrefslogtreecommitdiff
path: root/build
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 /build
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 'build')
-rwxr-xr-xbuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..12c7578
--- /dev/null
+++ b/build
@@ -0,0 +1,36 @@
+#!/bin/bash
+cd hge
+cd CxImage
+echo Compiling CxImage...
+g++ -c *.cpp -D_LINUX
+ar rcs libCxImage.a *.o
+rm *.o
+cd ..
+mv ./CxImage/libCxImage.a libCxImage.a
+cd ZLIB
+echo Compiling zlib...
+gcc -c *.c
+ar rcs libz.a *.o
+rm *.o
+cd ..
+mv ./ZLIB/libz.a libz.a
+echo Compiling libhge...
+g++ -c *.cpp -I/usr/include/SDL/ -I../include
+ar rcs libhge.a *.o
+rm *.o
+cd ..
+mv ./hge/*.a ./
+cd hgehelp
+echo Compiling libhgehelp...
+g++ -c *.cpp -I../include
+ar rcs libhgehelp.a *.o
+rm *.o
+cd ..
+mv ./hgehelp/libhgehelp.a libhgehelp.a
+echo Compiling the main executable...
+g++ *.cpp -I/usr/include/freetype2 -I./include \
+-lSDL -lvorbis -lvorbisfile -lopenal -ljpeg -lpng -lfreetype \
+-Wl,libhgehelp.a,libhge.a,libCxImage.a,libz.a -o BulletLabRemixII
+rm *.a
+strip BulletLabRemixII
+cd .. \ No newline at end of file