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.
The source to the Stratagus engine. The source is licenced under the GNU General Public License. This module is needed for development.
A collection of free media (free sounds, music, videos, graphics, animations and models), licensed under the GNU General Public License.
A map editor for Stratagus. This is obsolete now as Stratagus has an internal editor.
For example:
cvs -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/stratagus login
"When prompted for a password for anonymous, simply press the Enter key."
cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/stratagus co stratagus
This is done only once. To update your CVS directory, go into
the module directory and type 'cvs -z3 -q update -dP'.
You may put these flags in your ~/.cvsrc file so that you only need to type 'cvs update', the cvs (1) man page will show you how.
You need either DoxyGen or DOC++ to generate source code documentation. You may then use the following commands to produce the documentation:
Multi line source code documentation:
/** ... */
Single line source code documentation:
/// ...
Start grouping:
//@{ or /*@{*/
End grouping:
//@} or /*@}*/
Please read the doxygen/doc++ documentation.
// _________ __ __ // / _____// |_____________ _/ |______ ____ __ __ ______ // \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ // / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ // /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > // \/ \/ \//_____/ \/ // ______________________ ______________________ // T H E W A R B E G I N S // Stratagus - A free fantasy real time strategy game engine // /**@name {filename}.c - {One line description of this file} */ // // (c) Copyright 2003 by {insert your name here} // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; version 2 dated June, 1991. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA // 02111-1307, USA. // // $Id$ //@{ /*---------------------------------------------------------------------------- -- Includes ----------------------------------------------------------------------------*/ #include <stdio.h> #include "stratagus.h" // More game includes. /*---------------------------------------------------------------------------- -- Variables ----------------------------------------------------------------------------*/ // Global and local variables of this module. /*---------------------------------------------------------------------------- -- Functions ----------------------------------------------------------------------------*/ // Local and global functions of this module. //@}
We suggest the Linux kernel coding style (also found online here).
Follow these steps:
Please read the Stratagus data directory description.