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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
CPreference Class Reference

#include <unit.h>

Public Member Functions

 CPreference ()
 

Public Attributes

bool ShowSightRange
 
bool ShowReactionRange
 Show sight range. More...
 
bool ShowAttackRange
 Show reaction range. More...
 
bool ShowMessages
 Show attack range. More...
 
bool BigScreen
 Show messages. More...
 
bool PauseOnLeave
 If true, shows the big screen(without panels) More...
 
bool AiExplores
 If true, game pauses when cursor is gone. More...
 
bool GrayscaleIcons
 If true, AI sends explorers to search for resources (almost useless thing) More...
 
bool IconsShift
 Use grayscaled icons for unavailable units, upgrades, etc. More...
 
bool StereoSound
 Shift icons slightly when you press on them. More...
 
bool MineNotifications
 Enables/disables stereo sound effects. More...
 
bool DeselectInMine
 Show mine is running low/depleted messages. More...
 
bool NoStatusLineTooltips
 Deselect peasants in mines. More...
 
int ShowOrders
 Don't show messages on status line. More...
 
int ShowNameDelay
 How many second show orders of unit on map. More...
 
int ShowNameTime
 How many cycles need to wait until unit's name popup will appear. More...
 
int AutosaveMinutes
 How many cycles need to show unit's name popup. More...
 
std::string SF2Soundfont
 Autosave the game every X minutes; autosave is disabled if the value is 0. More...
 
CGraphicIconFrameG
 Path to SF2 soundfont. More...
 
CGraphicPressedIconFrameG
 

Detailed Description

User preference.

Constructor & Destructor Documentation

CPreference::CPreference ( )
inline

Member Data Documentation

bool CPreference::AiExplores

If true, game pauses when cursor is gone.

int CPreference::AutosaveMinutes

How many cycles need to show unit's name popup.

bool CPreference::BigScreen

Show messages.

bool CPreference::DeselectInMine

Show mine is running low/depleted messages.

bool CPreference::GrayscaleIcons

If true, AI sends explorers to search for resources (almost useless thing)

CGraphic* CPreference::IconFrameG

Path to SF2 soundfont.

bool CPreference::IconsShift

Use grayscaled icons for unavailable units, upgrades, etc.

bool CPreference::MineNotifications

Enables/disables stereo sound effects.

bool CPreference::NoStatusLineTooltips

Deselect peasants in mines.

bool CPreference::PauseOnLeave

If true, shows the big screen(without panels)

CGraphic* CPreference::PressedIconFrameG
std::string CPreference::SF2Soundfont

Autosave the game every X minutes; autosave is disabled if the value is 0.

bool CPreference::ShowAttackRange

Show reaction range.

bool CPreference::ShowMessages

Show attack range.

int CPreference::ShowNameDelay

How many second show orders of unit on map.

int CPreference::ShowNameTime

How many cycles need to wait until unit's name popup will appear.

int CPreference::ShowOrders

Don't show messages on status line.

bool CPreference::ShowReactionRange

Show sight range.

bool CPreference::ShowSightRange
bool CPreference::StereoSound

Shift icons slightly when you press on them.


The documentation for this class was generated from the following file:
(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.