From 3a51283329635021b839c8abbea4fac6bd7fe688 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Wed, 30 Apr 2014 08:20:45 +0000 Subject: 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. --- build | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 build (limited to 'build') 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 -- cgit v1.2.3