From 1aef789c8561df528836940598eadbd76af1e39e Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sun, 7 Aug 2016 12:21:52 +0200 Subject: [Core/Cmake] Scripts are now added dynamically You can now add your scripts using cmake inside your module instead patch core cpp files --- src/server/scripts/ScriptLoader.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/server/scripts/ScriptLoader.h (limited to 'src/server/scripts/ScriptLoader.h') diff --git a/src/server/scripts/ScriptLoader.h b/src/server/scripts/ScriptLoader.h new file mode 100644 index 0000000000..2ca37df35d --- /dev/null +++ b/src/server/scripts/ScriptLoader.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) + * + * 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 . + */ + +#ifndef SC_SCRIPTLOADER_H +#define SC_SCRIPTLOADER_H + +void AddScripts(); +void AddSpellScripts(); +void AddCommandScripts(); +void AddSC_SmartScripts(); +void AddWorldScripts(); +void AddEventScripts(); +void AddEasternKingdomsScripts(); +void AddKalimdorScripts(); +void AddOutlandScripts(); +void AddNorthrendScripts(); +void AddPetScripts(); +void AddOutdoorPvPScripts(); + +#endif -- cgit v1.2.3