$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

Settings Struct Reference

#include <settings.h>

List of all members.


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.

Detailed Description

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 maintainance, easy (network-)negotiation, simplifies load/save/reinitialization, etc...


Member Data Documentation

Multiplayer or single player.

Preset resource factor.

Preset # of units.

Preset # of ai-opponents.

Terrain type (summer,winter,...).

Game type (melee, free for all,...).

No fog of war.

Reveal map.


The documentation for this struct was generated from the following file:
(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.