Skip to content

Commit

Permalink
- Linux-PNG-Icon wieder eingefuegt
Browse files Browse the repository at this point in the history
- savegame.zip entfernt
- Dokumente (docLua.html und doc.html sowie compilation_guide.txt) nach "Misc/documents" verschoben
- github-Startseite angepasst
  • Loading branch information
GWRon committed Feb 24, 2014
1 parent 8dcc259 commit 2a5b132
Show file tree
Hide file tree
Showing 4 changed files with 28,539 additions and 0 deletions.
41 changes: 41 additions & 0 deletions Misc/documentation/compilation_guide.txt
@@ -0,0 +1,41 @@
Compilation Guide
-----------------

TVTower uses a custom Module for sound: "MaxMod2.mod".
This module uses the cross platform library "RtAudio"
which implies on the compilation flag:
"exceptions -fexceptions"
This cannot be handled with normal Blitzmax-BMK ("Compiler").
Same is for configuring it using our sourcecode.

Only way to achieve it is compiling it as a BlitzMax module.


MaxMod2 Install Guide
---------------------

a) Extraction:
- extract {PROJECT}/source/external/maxmod2_lite.mod.zip
to {BLITZMAX_DIRECTORY}/mod
- result is:
{BLITZMAX_DIRECTORY}/mod/maxmod2.mod
{BLITZMAX_DIRECTORY}/mod/maxmod2.mod/maxmod2.mod
{BLITZMAX_DIRECTORY}/mod/maxmod2.mod/ogg.mod
{BLITZMAX_DIRECTORY}/mod/maxmod2.mod/rtaudio.mod
{BLITZMAX_DIRECTORY}/mod/maxmod2.mod/wav.mod

b) Libraries:
- Windows users have to:
copy MinGW/lib/libdsound.a to BlitzMax/lib/

- Linux users have to install
dev: apt-get install libasound2-dev
all: apt-get install libasound2

c) compiling the module
- using a command prompt/terminal move to {BLITZMAX_DIRECTORY}/bin
- Windows users issue command: bmk makemods maxmod2
- Linux users issue command: ./bmk makemods maxmod2

Finish.
Game client should now compile as usual.

0 comments on commit 2a5b132

Please sign in to comment.