Yet more cleanup, mostly in the script system. This should conclude the script integration into core.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-02-05 13:01:32 +01:00
parent a5d1bc77ab
commit f8d1920fa5
34 changed files with 18 additions and 335 deletions
+1 -9
View File
@@ -13,10 +13,6 @@
#include "DBCStructure.h"
#include "Config/ConfigEnv.h"
#ifndef _TRINITY_SCRIPT_CONFIG
# define _TRINITY_SCRIPT_CONFIG sConfig.GetFilename().c_str()
#endif _TRINITY_SCRIPT_CONFIG
class Player;
class Creature;
class CreatureAI;
@@ -101,14 +97,10 @@ class ScriptMgr
ScriptMgr();
~ScriptMgr();
void ScriptsInit(char const* cfg_file = _TRINITY_SCRIPT_CONFIG);
void ScriptsInit();
void LoadDatabase();
char const* ScriptsVersion();
std::string GetConfigValueStr(char const* option);
int32 GetConfigValueInt32(char const* option);
float GetConfigValueFloat(char const* option);
//event handlers
void OnLogin(Player *pPlayer);
void OnLogout(Player *pPlayer);