|
| | DtVrfGuiForceManager (makVrv::DtSharedSettingsManager &manager) |
| |
| virtual | ~DtVrfGuiForceManager () |
| | DTOR. More...
|
| |
| virtual DtString | countryCode (DtForceType) const |
| | Returns the country code for the given force. More...
|
| |
| virtual void | setCountryCode (DtForceType, const DtString &) |
| | Sets the country code for the given force. More...
|
| |
| virtual void | addForce (DtForceType force, const std::string &forceName, const RGBAColor &forceColor, const RGBAColor &forcePrimaryColor, bool includeInDialogs=true, const DtString &countryCode="") |
| | Adds a new force DtForceType to the manager. More...
|
| |
| virtual void | removeForce (DtForceType) |
| | Removes force from system. More...
|
| |
| virtual DtForceManager::RGBAColor | colorForForce (DtForceType force, bool usePrimaryColors=false) const |
| | Color for a specified force. More...
|
| |
| virtual DtForceType | newNextAvailableId () const |
| | Next available force that has no name associated with it. More...
|
| |
| | DtForceManager (DtSharedSettingsManager &manager) |
| | CTOR. More...
|
| |
| virtual | ~DtForceManager () |
| | DTOR. More...
|
| |
| virtual void | addForce (DtForceType force, const std::string &forceName, const RGBAColor &forceColor, const RGBAColor &forcePrimaryColor, bool includeInDialogs=true) |
| | Adds a new force DtForceType to the manager. More...
|
| |
| virtual int | numForces () const |
| | Number of forces in the force list. More...
|
| |
| virtual DtForceType | forceAt (int iIndex) const |
| | Force Type for a specific index. More...
|
| |
| virtual std::string | nameForForce (DtForceType force) const |
| | Name for a specified force. More...
|
| |
| virtual DtForceType | forceFromName (const std::string &name) const |
| | Force Type for a specific force name. More...
|
| |
| virtual bool | includeInDialogs (DtForceType force) const |
| | Whether the force is included in VRF dialogs. More...
|
| |
| virtual void | clearForces () |
| | Clear hash list of forces. More...
|
| |
| virtual void | setHostility (DtU8 force, DtU8 targetForce, bool hostile) |
| |
| virtual bool | hostile (DtU8 force, DtU8 targetForce) |
| |
| | DtSharedSettings (const DtSharedSettingsManager &manager) |
| | CTOR. More...
|
| |
| virtual | ~DtSharedSettings () |
| | DTOR. More...
|
| |
| boost::shared_mutex & | mutex () |
| | Get the mutex for the settings object. More...
|
| |
| SafetyKey | safeToEmitSignals () |
| | Create a safety key for the function, see above example. More...
|
| |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| | No need to call, set by the DtWriteSettingLock object. More...
|
| |
| virtual const DtSettingsBackup * | settingsBackup () const |
| | Accessor for the settings backup (const). More...
|
| |
| virtual DtSettingsBackup * | settingsBackup () |
| | Accessor for the settings backup. More...
|
| |
| virtual void | backup () |
| | Called to back up the settings. More...
|
| |
| | DtVirtualBaseClass () |
| | Do nothing constructor. More...
|
| |
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor. More...
|
| |
Extends the force manager to add country codes.