_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Welcome to the source code documentation of the Stratagus engine. Extract the source documentation with doxygen (http://www.doxygen.org) tool.
Any help to improve this documention is welcome. If you didn't understand something or you found an error or a wrong spelling or wrong grammar please write an email (including a patch :).
Visit the https://github.com/Wargus/stratagus web page for the latest news and Stratagus Info for other documentation.
This are the main modules of the Stratagus engine.
Handles the map. A map is made from tiles.
Handles units. Units are ships, flyers, buildings, creatures, machines.
Handles missiles. Missiles are all other sprites on map which are no unit.
Handles players, all units are owned by a player. A player could be controlled by a human or a computer.
Handles the high and low level of the sound. There are the background music support, voices and sound effects. Following low level backends are supported: OSS and SDL.
adpcm file format support for sound effects
better separation of low and high level, assembler mixing support.
Streaming support of ogg/mp3 files.
Handles the high and low level of the graphics. This also contains the sprite and linedrawing routines.
See page Module - Video for more information upon supported features and video platforms.
Handles the high and low level of the network protocol. The network protocol is needed for multiplayer games.
See page Module - Network for more information upon supported features and API.
There are currently two AI's. The old one is very hardcoded, but does things like placing buildings better than the new. The old AI shouldn't be used. The new is very flexible, but very basic. It includes none optimations.
See page Module - AI for more information upon supported features and API.
CCL is Craft Configuration Language, which is used to configure and customize Stratagus.
This is the integrated editor, it shouldn't be a perfect editor. It is used to test new features of the engine.
See page Module - Editor for more information upon supported features and API.