Development for Bos Wars


This file should give you some information to help with development of Stratagus.

IRC - Internet Relay Chat

You can try to meet other Bos Wars developers and users on the FreeNode IRC Network, in the #bos channel.

Mailing list

If you want to help with development for Stratagus you should join the stratagus-devel mailing list.

Bugs and tasks

You can find known bugs on the project pages for Bos Wars.

Before starting on a bug or task, please ask on the mailing list or in the IRC channel whether anybody else is already working on it.

Building Bos Wars

Installing the Subversion client

If you want to help develop, you should use Subversion. The online book Version Control with Subversion will help you master Subversion.

Getting Bos Wars from Subversion

The subversion repository of Bos Wars has two main directories:

The bos directory is itself divided into 3 subdirectories:

How do I get the latest source code of Bos Wars?

For example:

  svn://bos.seul.org/svn/bos/bos/trunk

This is done only once. To update your working copy, go into the directory and type 'svn up'.

Getting Bos Warss without Subversion

Only releases are made outside of Subversion. If you wish to be involved with development, you should obtain the sources via Subversion. Subversion usually remains quite stable and is easier for you to keep up to date. Release versions of stratagus are available here.

Building Bos Wars

You can find instructions for compiling Bos Wars at install.html.
Since you already have a copy of the source, you may skip ahead to step 2.

Source code documentation

The engine has tagged source documentation.

You need either DoxyGen or DOC++ to generate source code documentation.

Tags used in source code

We use the doc++ tags:

Multi line source code documentation:

/** ... */

Single line source code documentation:

/// ...

Start grouping:

//@{ or /*@{*/

End grouping:

//@} or /*@}*/

Please read the doxygen/doc++ documentation.

Sending a patch

Once you have completed some work, you will probably want it to be included in the main Bos Wars source.

Follow these steps:


(C) Copyright 1998-2013 by The Bos Wars Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.