_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
Parameters Class Reference

#include <parameters.h>

Public Member Functions

void SetUserDirectory (const std::string &path)
 
const std::string & GetUserDirectory () const
 

Public Attributes

std::string applicationName
 
std::string luaStartFilename
 
std::string luaEditorStartFilename
 
std::string luaScriptArguments
 
std::string LocalPlayerName
 
bool benchmark = false
 Name of local player. More...
 

action_train.cpp - The building train action.

static Parameters Instance
 Directory containing user settings and data. More...
 
void SetDefaultValues ()
 
void SetLocalPlayerNameFromEnv ()
 

Member Function Documentation

◆ GetUserDirectory()

const std::string& Parameters::GetUserDirectory ( ) const
inline

◆ SetDefaultValues()

void Parameters::SetDefaultValues ( )

◆ SetLocalPlayerNameFromEnv()

void Parameters::SetLocalPlayerNameFromEnv ( )

◆ SetUserDirectory()

void Parameters::SetUserDirectory ( const std::string &  path)
inline

Member Data Documentation

◆ applicationName

std::string Parameters::applicationName

◆ benchmark

bool Parameters::benchmark = false

Name of local player.

◆ Instance

Parameters Parameters::Instance
static

Directory containing user settings and data.

◆ LocalPlayerName

std::string Parameters::LocalPlayerName

◆ luaEditorStartFilename

std::string Parameters::luaEditorStartFilename

◆ luaScriptArguments

std::string Parameters::luaScriptArguments

◆ luaStartFilename

std::string Parameters::luaStartFilename

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