$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Before including this header, you need to define:
On Non Windows system you need to specify also paths:
On Windows paths are reading from InstallLocation key in Uninstall section: Software\Microsoft\Windows\CurrentVersion\Uninstall\Stratagus
Example use of code:
#define GAME_NAME "My Game Name" #define GAME_CD "Original Game CD Name" #define GAME "my_game" #ifndef WIN32 #define DATA_PATH "/usr/share/games/stratagus/my_game" #define SCRIPTS_PATH "/usr/share/games/stratagus/my_game" #define STRATAGUS_BIN "/usr/games/stratagus" #endif #include <stratagus-game-launcher.h>