mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
chore(misc): cleanup (#17274)
This commit is contained in:
@@ -575,7 +575,7 @@ if(OPENSSL_FOUND)
|
|||||||
include(EnsureVersion)
|
include(EnsureVersion)
|
||||||
ENSURE_VERSION("${OPENSSL_EXPECTED_VERSION}" "${OPENSSL_VERSION}" OPENSSL_VERSION_OK)
|
ENSURE_VERSION("${OPENSSL_EXPECTED_VERSION}" "${OPENSSL_VERSION}" OPENSSL_VERSION_OK)
|
||||||
if(NOT OPENSSL_VERSION_OK)
|
if(NOT OPENSSL_VERSION_OK)
|
||||||
message(FATAL_ERROR "TrinityCore needs OpenSSL version ${OPENSSL_EXPECTED_VERSION} but found too new version ${OPENSSL_VERSION}. TrinityCore needs OpenSSL 1.0.x or 1.1.x to work properly. If you still have problems please install OpenSSL 1.0.x if you still have problems search on forum for TCE00022")
|
message(FATAL_ERROR "AzerothCore needs OpenSSL version ${OPENSSL_EXPECTED_VERSION} but found too new version ${OPENSSL_VERSION}. AzerothCore needs OpenSSL 1.0.x or 1.1.x to work properly. If you still have problems please install OpenSSL 1.0.x if you still have problems search on forum for TCE00022")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT TARGET OpenSSL::Crypto AND
|
if(NOT TARGET OpenSSL::Crypto AND
|
||||||
|
|||||||
@@ -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) 2008+ TrinityCore <http://www.trinitycore.org/>
|
*
|
||||||
|
* 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 _MAPDEFINES_H
|
#ifndef _MAPDEFINES_H
|
||||||
|
|||||||
@@ -1,7 +1,19 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
|
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
|
||||||
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
*
|
||||||
*/
|
* 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 "GitRevision.h"
|
#include "GitRevision.h"
|
||||||
#include "revision.h"
|
#include "revision.h"
|
||||||
|
|||||||
@@ -1,7 +1,19 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
|
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
|
||||||
* Copyright (C) 2008-2018 TrinityCore <http://www.trinitycore.org/>
|
*
|
||||||
*/
|
* 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 __GITREVISION_H__
|
#ifndef __GITREVISION_H__
|
||||||
#define __GITREVISION_H__
|
#define __GITREVISION_H__
|
||||||
|
|||||||
@@ -1,6 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
|
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
|
||||||
* Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/>
|
*
|
||||||
|
* 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 EnumFlag_h__
|
#ifndef EnumFlag_h__
|
||||||
|
|||||||
@@ -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) 2008+ TrinityCore <http://www.trinitycore.org/>
|
*
|
||||||
|
* 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 "TaskScheduler.h"
|
#include "TaskScheduler.h"
|
||||||
|
|||||||
@@ -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) 2008+ TrinityCore <http://www.trinitycore.org/>
|
*
|
||||||
|
* 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 _TASK_SCHEDULER_H_
|
#ifndef _TASK_SCHEDULER_H_
|
||||||
|
|||||||
@@ -122,4 +122,4 @@ protected:
|
|||||||
uint32 HealingDone = 0;
|
uint32 HealingDone = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // TRINITY_BATTLEGROUND_SCORE_H
|
#endif // _BATTLEGROUND_SCORE_H
|
||||||
|
|||||||
@@ -1058,7 +1058,7 @@ enum AcoreStrings
|
|||||||
LANG_COMMAND_TICKETLISTRESPONSE = 2029,
|
LANG_COMMAND_TICKETLISTRESPONSE = 2029,
|
||||||
LANG_COMMAND_TICKETCOMPLETED = 2030,
|
LANG_COMMAND_TICKETCOMPLETED = 2030,
|
||||||
|
|
||||||
// Trinity strings 5000-9999
|
// acore strings 5000-9999
|
||||||
LANG_COMMAND_FREEZE = 5000,
|
LANG_COMMAND_FREEZE = 5000,
|
||||||
LANG_COMMAND_FREEZE_ERROR = 5001,
|
LANG_COMMAND_FREEZE_ERROR = 5001,
|
||||||
LANG_COMMAND_FREEZE_WRONG = 5002,
|
LANG_COMMAND_FREEZE_WRONG = 5002,
|
||||||
|
|||||||
@@ -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 TRINITYSERVER_MOVEPLINE_H
|
#ifndef AC_MOVEPLINE_H
|
||||||
#define TRINITYSERVER_MOVEPLINE_H
|
#define AC_MOVEPLINE_H
|
||||||
|
|
||||||
#include "MoveSplineInitArgs.h"
|
#include "MoveSplineInitArgs.h"
|
||||||
#include "Spline.h"
|
#include "Spline.h"
|
||||||
@@ -132,4 +132,4 @@ namespace Movement
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif // TRINITYSERVER_MOVEPLINE_H
|
#endif // AC_MOVEPLINE_H
|
||||||
|
|||||||
@@ -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 TRINITYSERVER_MOVESPLINEFLAG_H
|
#ifndef AC_MOVESPLINEFLAG_H
|
||||||
#define TRINITYSERVER_MOVESPLINEFLAG_H
|
#define AC_MOVESPLINEFLAG_H
|
||||||
|
|
||||||
#include "MovementTypedefs.h"
|
#include "MovementTypedefs.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
@@ -145,4 +145,4 @@ namespace Movement
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // TRINITYSERVER_MOVESPLINEFLAG_H
|
#endif // AC_MOVESPLINEFLAG_H
|
||||||
|
|||||||
@@ -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 TRINITYSERVER_MOVESPLINEINIT_H
|
#ifndef AC_MOVESPLINEINIT_H
|
||||||
#define TRINITYSERVER_MOVESPLINEINIT_H
|
#define AC_MOVESPLINEINIT_H
|
||||||
|
|
||||||
#include "MoveSplineInitArgs.h"
|
#include "MoveSplineInitArgs.h"
|
||||||
#include "PathGenerator.h"
|
#include "PathGenerator.h"
|
||||||
@@ -209,4 +209,4 @@ namespace Movement
|
|||||||
|
|
||||||
inline void MoveSplineInit::DisableTransportPathTransformations() { args.TransformForTransport = false; }
|
inline void MoveSplineInit::DisableTransportPathTransformations() { args.TransformForTransport = false; }
|
||||||
}
|
}
|
||||||
#endif // TRINITYSERVER_MOVESPLINEINIT_H
|
#endif // AC_MOVESPLINEINIT_H
|
||||||
|
|||||||
@@ -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 TRINITYSERVER_MOVESPLINEINIT_ARGS_H
|
#ifndef AC_MOVESPLINEINIT_ARGS_H
|
||||||
#define TRINITYSERVER_MOVESPLINEINIT_ARGS_H
|
#define AC_MOVESPLINEINIT_ARGS_H
|
||||||
|
|
||||||
#include "MoveSplineFlag.h"
|
#include "MoveSplineFlag.h"
|
||||||
#include <G3D/Vector3.h>
|
#include <G3D/Vector3.h>
|
||||||
@@ -68,4 +68,4 @@ namespace Movement
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // TRINITYSERVER_MOVESPLINEINIT_ARGS_H
|
#endif // AC_MOVESPLINEINIT_ARGS_H
|
||||||
|
|||||||
@@ -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 TRINITYSERVER_PACKET_BUILDER_H
|
#ifndef AC_PACKET_BUILDER_H
|
||||||
#define TRINITYSERVER_PACKET_BUILDER_H
|
#define AC_PACKET_BUILDER_H
|
||||||
|
|
||||||
#include "Define.h"
|
#include "Define.h"
|
||||||
|
|
||||||
@@ -40,4 +40,4 @@ namespace Movement
|
|||||||
static void WriteCreate(const MoveSpline& mov, ByteBuffer& data);
|
static void WriteCreate(const MoveSpline& mov, ByteBuffer& data);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif // TRINITYSERVER_PACKET_BUILDER_H
|
#endif // AC_PACKET_BUILDER_H
|
||||||
|
|||||||
@@ -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 TRINITYSERVER_TYPEDEFS_H
|
#ifndef AC_TYPEDEFS_H
|
||||||
#define TRINITYSERVER_TYPEDEFS_H
|
#define AC_TYPEDEFS_H
|
||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
|
|
||||||
@@ -74,4 +74,4 @@ namespace Movement
|
|||||||
extern UInt32Counter splineIdGen;
|
extern UInt32Counter splineIdGen;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // TRINITYSERVER_TYPEDEFS_H
|
#endif // AC_TYPEDEFS_H
|
||||||
|
|||||||
@@ -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 TRINITYSERVER_SPLINE_H
|
#ifndef AC_SPLINE_H
|
||||||
#define TRINITYSERVER_SPLINE_H
|
#define AC_SPLINE_H
|
||||||
|
|
||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
#include "MovementTypedefs.h"
|
#include "MovementTypedefs.h"
|
||||||
@@ -210,4 +210,4 @@ namespace Movement
|
|||||||
|
|
||||||
#include "SplineImpl.h"
|
#include "SplineImpl.h"
|
||||||
|
|
||||||
#endif // TRINITYSERVER_SPLINE_H
|
#endif // AC_SPLINE_H
|
||||||
|
|||||||
@@ -1,7 +1,18 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
|
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
|
||||||
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
*
|
||||||
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
|
* 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/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* ScriptData
|
/* ScriptData
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2008-2018 TrinityCore <https://www.trinitycore.org/>
|
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
* 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
|
* under the terms of the GNU Affero General Public License as published by the
|
||||||
* Free Software Foundation; either version 2 of the License, or (at your
|
* Free Software Foundation; either version 3 of the License, or (at your
|
||||||
* option) any later version.
|
* option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
|
||||||
* more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
|||||||
Reference in New Issue
Block a user