_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
To clone master:
git clone https://github.com/Wargus/stratagus
This is done only once. To update your working copy, go into the directory and type 'git pull'.
You need DoxyGen to generate source code documentation.
Having DoxyGen installed, compile Stratagus with option ENABLE_DOC=ON
(e.g, inside build directory, run 'cmake -DENABLE_DOC=ON .. && make').
Source documents are initially generated inside the build directory, as done for binaries.
After installing stratagus (using 'make install') you can find all these html files in
share/doc/stratagus directory.
When installing Stratagus html these files are copied into PREFIX/share/stratagus/doc.
Doxygen documentation is copied into PREFIX/share/stratagus/doc/doxygen.
If you are viewing installed stratagus documentation, Doxygen documentation is here: doxygen/index.html
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}.cpp - {One line description of this file} */ // // (c) Copyright {year} 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; only version 2 of the License. // // 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., 51 Franklin St, Fifth Floor, // Boston, MA 02110-1301 USA // //@{ #include "stratagus.h" // More game includes. // Global and local variables of this module. // Local and global functions of this module. //@}
AStyle --options=tools/astylerc --recursive "src/*.cpp" "src/*.h"