Development Guide
Tangram is built with Visual C++ 6. We have included the projects and workspace files.
Simply extract the sources and open "tangram.dsw".
To compile the game, simply build the Release (or Debug) configuration.
To compile the editor, build the Release_editor (or Debug_editor) configuration.
Libraries
Tangram uses several libraries. All of them are included with the source, so if you only wish to rebuild Tangram, you do not have to install any library in your system.
libxml2
libxml2 is the standard GNU library for working with XML files. It is portable, free and quick. You will NOT have to install this library, as we included libxml2.lib of version 2.5.4.
libxml2's web page is located at www.xmlsoft.org. You can find compiled binaries for Win32 here.
iconv
iconv is a character encoding conversion tool needed by xmllib2. It is not needed to compile Tangram, but iconv.dll is need to run it. We have included the version 1.8 dll.
iconv web page is located at www.gnu.org/software/libiconv/. You can find compiled binaries for Win32 here.
xmlwrapp
xmlwrapp is a C++ object oriented wrapper for libxml2. It is needed to compile Tangram, but we have included the compiled versions xmlwrapp.lib and xmlwrappd.lib from version 0.22, so you DON'T need to install this library to compile Tangram. Also included are modified headers (only slight modifications) in the "xmlwrapp" directory, since xmlwrapp requires full STL compliance which Visual C++ 6 does not have. These minor modifications allow using this library without having to install STLport.
xmlwrapp web page is at pmade.org/pjones/software/xmlwrapp/.
Note that Tangram uses a slightly older version of xmlwrapp and might not be compatible with newer ones.
SDL
The Simple Directmedia Layer is a cross-platform, OpenGL compatible graphics and system abstraction layer. We have included binaries and headers for version 1.2.5 so you do not have to download it.
The main web page is www.libsdl.org. If you wish to, you can download the development library for Visual C++ 6 (from www.libsdl.org/download-1.2.php) and install it then configure VC6 (add it to the include and library directories).
Included with the binaries are dlls of SDL version 1.2.5, required to run the game.
GameLogicLib
This is a library we have written for the game, and it includes ALL the game's core logic. It is written in fully portable STL, and could be used to make a different GUI from scratch. If you are not satisfied with our GUI, build your own on top of this library :). It is included in the "GameLogicLib" directory.