Scripts/DB_Scripts: massive cleanup of SCRIPT_COMMAND_* related staff

* add union into ScriptInfo structure (thanks NoFantasy for the idea);
* move scripts methods from Map.cpp to new file MapScripts.cpp;
* remove magic numbers and introduce eScriptFlags enumeration.

It's just a beginning and more changes to come. Stay tuned!

--HG--
branch : trunk
This commit is contained in:
azazel
2010-09-22 18:13:57 +06:00
parent 562a8c272d
commit eae0e5c822
6 changed files with 1295 additions and 1071 deletions
-1
View File
@@ -41,7 +41,6 @@ class Object;
class WorldPacket;
class WorldSession;
class Player;
struct ScriptAction;
struct ScriptInfo;
class WorldSocket;
class SystemMgr;