$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <settings.h>
Public Attributes | |
int | NetGameType |
SettingsPresets | Presets [PlayerMax] |
Multiplayer or single player. | |
int | Resources |
int | NumUnits |
Preset resource factor. | |
int | Opponents |
Preset # of units. | |
int | Difficulty |
Preset # of ai-opponents. | |
int | GameType |
Terrain type (summer,winter,...). | |
bool | NoFogOfWar |
Game type (melee, free for all,...). | |
int | RevealMap |
No fog of war. | |
int | MapRichness |
Reveal map. |
This structure one day should contain all common game settings, in-game, or pre-start, and the individual (per player) presets. This allows central maintainance, easy (network-)negotiation, simplifies load/save/reinitialization, etc...
SettingsPresets Settings::Presets[PlayerMax] |
Multiplayer or single player.
Preset resource factor.
Preset # of units.
Preset # of ai-opponents.
Terrain type (summer,winter,...).
bool Settings::NoFogOfWar |
Game type (melee, free for all,...).
No fog of war.
Reveal map.