____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <settings.h>
Public Attributes | |
| int | NetGameType |
| Multiplayer or single player. | |
| SettingsPresets | Presets [PlayerMax] |
| int | Resources |
| Preset resource factor. | |
| int | NumUnits |
| Preset # of units. | |
| int | Opponents |
| Preset # of ai-opponents. | |
| int | Difficulty |
| Terrain type (summer,winter,...). | |
| int | GameType |
| Game type (melee, free for all,...). | |
| bool | NoFogOfWar |
| No fog of war. | |
| int | RevealMap |
| Reveal map. | |
| int | MapRichness |
| Map richness. | |
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...
Definition at line 61 of file settings.h.
Multiplayer or single player.
Definition at line 62 of file settings.h.
Referenced by ApplyReplaySettings(), InitSettings(), NetworkGamePrepareGameSettings(), and StartReplay().
| SettingsPresets Settings::Presets[PlayerMax] |
Definition at line 66 of file settings.h.
Referenced by ApplyReplaySettings(), CreateGame(), InitSettings(), NetworkGamePrepareGameSettings(), and StartReplay().
Preset resource factor.
Definition at line 69 of file settings.h.
Referenced by ApplyReplaySettings(), CEditor::Init(), InitSettings(), and StartReplay().
Preset # of units.
Definition at line 70 of file settings.h.
Referenced by ApplyReplaySettings(), InitSettings(), and StartReplay().
Preset # of ai-opponents.
Definition at line 71 of file settings.h.
Referenced by ApplyReplaySettings(), InitSettings(), and StartReplay().
Terrain type (summer,winter,...).
Definition at line 72 of file settings.h.
Referenced by ApplyReplaySettings(), InitSettings(), and StartReplay().
Game type (melee, free for all,...).
Definition at line 73 of file settings.h.
Referenced by ApplyReplaySettings(), CreateGame(), InitSettings(), and StartReplay().
| bool Settings::NoFogOfWar |
No fog of war.
Definition at line 74 of file settings.h.
Referenced by ApplyReplaySettings(), and StartReplay().
Reveal map.
Definition at line 75 of file settings.h.
Referenced by ApplyReplaySettings(), and StartReplay().
Map richness.
Definition at line 76 of file settings.h.
Referenced by ApplyReplaySettings(), InitSettings(), and StartReplay().
1.5.6