Changeset 149 for trunk/src/game/World.h

Show
Ignore:
Timestamp:
11/19/08 13:40:46 (17 years ago)
Author:
yumileroy
Message:

[svn] *Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT
* Default behaviour of pets for creatures changed to REACT_DEFENSIVE
* Disallowed sending wrapped items as COD
* Prevent loading and saving single target auras for pet in same way as already implemented for player
* Correctly limit use some flask types to zones.
* Fixed extracting common.MPQ under *nix
* Many small xleanups and fixes.
** mangos merge rev.

TEST REV so be careful of creepy crawly bugs!

Original author: KingPin?
Date: 2008-11-02 16:53:46-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/World.h

    r112 r149  
    481481 
    482482        LocaleConstant GetAvailableDbcLocale(LocaleConstant locale) const { if(m_availableDbcLocaleMask & (1 << locale)) return locale; else return m_defaultDbcLocale; } 
     483 
     484                //used World DB version 
     485                void LoadDBVersion(); 
     486                char const* GetDBVersion() { return m_DBVersion.c_str(); } 
     487 
     488                //used Script version 
     489                void SetScriptsVersion(char const* version) { m_ScriptsVersion = version ? version : "unknown scripting library"; } 
     490                char const* GetScriptsVersion() { return m_ScriptsVersion.c_str(); } 
     491 
    483492    protected: 
    484493        void _UpdateGameTime(); 
     
    541550        void AddSession_(WorldSession* s); 
    542551        ZThread::LockedQueue<WorldSession*, ZThread::FastMutex> addSessQueue; 
     552 
     553                //used versions 
     554                std::string m_DBVersion; 
     555                std::string m_ScriptsVersion; 
    543556}; 
    544557