INSTALL
author unc0rr
Sun, 29 Nov 2009 16:56:04 +0000
changeset 2647 0e1208e92dfe
parent 2549 80ef2224a520
child 3301 df0c2a29c3d7
permissions -rw-r--r--
Smaxx patch with tuning by me: - hogs might worry/panic if they're next to explosives (grenade, dynamite, etc.) - play sndVaporice for each fire extinguished only once (not 3 times) - allow "on attack" voices/sounds for weapons (similar to water melon bomb) - allow one voice/sound to be played during emotes - print protocol version in version info (console) - rope sounds (disabled atm) - landscape background - optimized/rewrote explosion drawing - fixed "StopSound" called with an inactive sound to stop some random sound - disabled npott

To compile and install you need:
 - Qt >= 4.4
 - FreePascal >= 2.2.0
 - SDL >= 1.2.5
 - SDL_net >= 1.2.5
 - SDL_mixer >= 1.2
 - SDL_image >= 1.2
 - SDL_ttf >= 2.0
 - CMake >= 2.6.0
For server:
 - Glasgow Haskell Compiler 6.10
 - dataenc package
 - hslogger package
 - utf8-string package

1. Configure:
$ cmake .
or
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" -DDATA_INSTALL_DIR="data_dir" .

add -DWITH_SERVER=1 to compile net server; to create a relocatable bundle under Mac OS X you can do

$ cmake -DCMAKE_BUILD_TYPE="Release" -DBUNDLE=1 .

if you have QT installed but it is not found you can set it up with -DQT_QMAKE_EXECUTABLE="path_to_qmake"

2. Compile:
$ make

3. Install:
# make install


That's all! Enjoy!