chore(Core/Misc): warhead -> acore (#17447)

This commit is contained in:
Kitzunu
2023-10-08 09:06:57 +02:00
committed by GitHub
parent 619f7297f9
commit 5357a31a01
13 changed files with 86 additions and 26 deletions

View File

@@ -131,7 +131,7 @@ if(BUILD_SHARED_LIBS)
-fvisibility=hidden) -fvisibility=hidden)
# --no-undefined to throw errors when there are undefined symbols # --no-undefined to throw errors when there are undefined symbols
# (caused through missing WARHEAD_*_API macros). # (caused through missing ACORE_*_API macros).
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --no-undefined") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --no-undefined")
message(STATUS "Clang: Disallow undefined symbols") message(STATUS "Clang: Disallow undefined symbols")

View File

@@ -67,7 +67,7 @@ if(BUILD_SHARED_LIBS)
INTERFACE INTERFACE
-fvisibility=hidden) -fvisibility=hidden)
# Should break the build when there are WARHEAD_*_API macros missing # Should break the build when there are ACORE_*_API macros missing
# but it complains about missing references in precompiled headers. # but it complains about missing references in precompiled headers.
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--no-undefined") # set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--no-undefined")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined") # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined")

View File

@@ -73,7 +73,7 @@ endfunction()
# #
# Use it like: # Use it like:
# CopyModuleConfig("warhead.conf.dist") # CopyModuleConfig("acore.conf.dist")
# #
function(CopyModuleConfig configDir) function(CopyModuleConfig configDir)

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef WARHEAD_TOTP_H #ifndef ACORE_TOTP_H
#define WARHEAD_TOTP_H #define ACORE_TOTP_H
#include "Define.h" #include "Define.h"
#include <ctime> #include <ctime>

View File

@@ -1,6 +1,18 @@
/* /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore> *
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by the
* Free Software Foundation; either version 3 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 Affero 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/>.
*/ */
#include "Base32.h" #include "Base32.h"

View File

@@ -1,10 +1,22 @@
/* /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore> *
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by the
* Free Software Foundation; either version 3 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 Affero 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/>.
*/ */
#ifndef WARHEAD_BASE32_H #ifndef ACORE_BASE32_H
#define WARHEAD_BASE32_H #define ACORE_BASE32_H
#include "Define.h" #include "Define.h"
#include "Optional.h" #include "Optional.h"

View File

@@ -1,6 +1,18 @@
/* /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore> *
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by the
* Free Software Foundation; either version 3 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 Affero 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/>.
*/ */
#include "Base64.h" #include "Base64.h"

View File

@@ -1,10 +1,22 @@
/* /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore> *
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by the
* Free Software Foundation; either version 3 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 Affero 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/>.
*/ */
#ifndef WARHEAD_BASE64_H #ifndef ACORE_BASE64_H
#define WARHEAD_BASE64_H #define ACORE_BASE64_H
#include "Define.h" #include "Define.h"
#include "Optional.h" #include "Optional.h"

View File

@@ -1,10 +1,22 @@
/* /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore> *
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by the
* Free Software Foundation; either version 3 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 Affero 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/>.
*/ */
#ifndef WARHEAD_BASE_ENCODING_HPP #ifndef ACORE_BASE_ENCODING_HPP
#define WARHEAD_BASE_ENCODING_HPP #define ACORE_BASE_ENCODING_HPP
#include "Define.h" #include "Define.h"
#include "Optional.h" #include "Optional.h"

View File

@@ -431,7 +431,7 @@ int main(int argc, char** argv)
// 0 - normal shutdown // 0 - normal shutdown
// 1 - shutdown at error // 1 - shutdown at error
// 2 - restart command used, this code can be used by restarter for restart Warheadd // 2 - restart command used, this code can be used by restarter for restart AzerothCore
return World::GetExitCode(); return World::GetExitCode();
} }

View File

@@ -63,4 +63,4 @@ private:
void EndBattleground(TeamId winnerTeamId) override; void EndBattleground(TeamId winnerTeamId) override;
}; };
#endif // WARHEAD_ARENA_H #endif // ACORE_ARENA_H

View File

@@ -72,4 +72,4 @@ protected:
std::string TeamName{}; std::string TeamName{};
}; };
#endif // WARHEAD_ARENA_SCORE_H #endif // ACORE_ARENA_SCORE_H

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef __WARHEAD_SECRETMGR_H__ #ifndef __ACORE_SECRETMGR_H__
#define __WARHEAD_SECRETMGR_H__ #define __ACORE_SECRETMGR_H__
#include "BigNumber.h" #include "BigNumber.h"
#include "Common.h" #include "Common.h"