_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
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. More... | |
| int | Resources |
| int | NumUnits |
| Preset resource factor. More... | |
| int | Opponents |
| Preset # of units. More... | |
| int | Difficulty |
| Preset # of ai-opponents. More... | |
| int | GameType |
| Terrain type (summer,winter,...) More... | |
| bool | NoFogOfWar |
| Game type (melee, free for all,...) More... | |
| bool | Inside |
| No fog of war. More... | |
| int | RevealMap |
| If game uses interior tileset. More... | |
| int | MapRichness |
| Reveal map. More... | |
Settings structure
This structure one day should contain all common game settings, in-game, or pre-start, and the individual (per player) presets. This allows central maintenance, easy (network-)negotiation, simplifies load/save/reinitialization, etc...
| int Settings::Difficulty |
Preset # of ai-opponents.
| int Settings::GameType |
Terrain type (summer,winter,...)
| bool Settings::Inside |
No fog of war.
| int Settings::MapRichness |
Reveal map.
| int Settings::NetGameType |
| bool Settings::NoFogOfWar |
Game type (melee, free for all,...)
| int Settings::NumUnits |
Preset resource factor.
| int Settings::Opponents |
Preset # of units.
| SettingsPresets Settings::Presets[PlayerMax] |
Multiplayer or single player.
| int Settings::Resources |
| int Settings::RevealMap |
If game uses interior tileset.
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.