Core/Scripting: Small cleanup

This commit is contained in:
Vincent-Michael
2012-11-25 01:01:22 +01:00
parent 0591c468ac
commit 7ed100a74e
4 changed files with 11 additions and 26 deletions

View File

@@ -90,7 +90,6 @@ void AddSC_npc_innkeeper();
void AddSC_npcs_special();
void AddSC_npc_taxi();
void AddSC_achievement_scripts();
void AddSC_event_scripts();
//eastern kingdoms
void AddSC_alterac_valley(); //Alterac Valley
@@ -602,6 +601,9 @@ void AddSC_shattrath_city();
void AddSC_terokkar_forest();
void AddSC_zangarmarsh();
// Events
void AddSC_event_childrens_week();
// battlegrounds
// outdoor pvp
@@ -714,7 +716,6 @@ void AddWorldScripts()
AddSC_npc_taxi();
AddSC_achievement_scripts();
AddSC_chat_log();
AddSC_event_scripts();
#endif
}
@@ -1244,6 +1245,13 @@ void AddNorthrendScripts()
#endif
}
void AddEventScripts()
{
#ifdef SCRIPTS
AddSC_event_childrens_week();
#endif
}
void AddOutdoorPvPScripts()
{
#ifdef SCRIPTS

View File

@@ -27,6 +27,7 @@ void AddEasternKingdomsScripts();
void AddKalimdorScripts();
void AddOutlandScripts();
void AddNorthrendScripts();
void AddEventScripts();
void AddBattlegroundScripts();
void AddOutdoorPvPScripts();
void AddCustomScripts();

View File

@@ -11,7 +11,6 @@
set(scripts_STAT_SRCS
${scripts_STAT_SRCS}
Events/childrens_week.cpp
Events/event.cpp
)
message(" -> Prepared: Events")

View File

@@ -1,23 +0,0 @@
/*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
void AddSC_event_childrens_week();
void AddSC_event_scripts()
{
AddSC_event_childrens_week();
}