mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 00:23:48 +00:00
feat(Core/Scripting): move all script objects to separated files (#17860)
* feat(Core/Scripts): move all script objects to separated files
* Apply 5bfeabde81
* try gcc build
* again
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#ifndef DBCENUMS_H
|
||||
#define DBCENUMS_H
|
||||
|
||||
#include "Define.h"
|
||||
|
||||
#pragma pack(push, 1)
|
||||
|
||||
struct DBCPosition2D
|
||||
@@ -48,7 +50,7 @@ struct DBCPosition3D
|
||||
// also see MAX_LEVEL and GT_MAX_LEVEL define
|
||||
#define STRONG_MAX_LEVEL 255
|
||||
|
||||
enum BattlegroundBracketId // bracketId for level ranges
|
||||
enum BattlegroundBracketId : uint8 // bracketId for level ranges
|
||||
{
|
||||
BG_BRACKET_ID_FIRST = 0,
|
||||
BG_BRACKET_ID_LAST = 15
|
||||
@@ -268,7 +270,7 @@ enum AreaFlags
|
||||
AREA_FLAG_NO_FLY_ZONE = 0x20000000 // Marks zones where you cannot fly
|
||||
};
|
||||
|
||||
enum Difficulty
|
||||
enum Difficulty : uint8
|
||||
{
|
||||
REGULAR_DIFFICULTY = 0,
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#ifndef ACORE_SHAREDDEFINES_H
|
||||
#define ACORE_SHAREDDEFINES_H
|
||||
|
||||
#include "DBCEnums.h"
|
||||
#include "Define.h"
|
||||
#include "EnumFlag.h"
|
||||
#include <cassert>
|
||||
@@ -25,7 +26,7 @@
|
||||
float const GROUND_HEIGHT_TOLERANCE = 0.05f; // Extra tolerance to z position to check if it is in air or on ground.
|
||||
constexpr float Z_OFFSET_FIND_HEIGHT = 2.0f;
|
||||
|
||||
enum SpellEffIndex
|
||||
enum SpellEffIndex : uint8
|
||||
{
|
||||
EFFECT_0 = 0,
|
||||
EFFECT_1 = 1,
|
||||
@@ -174,7 +175,7 @@ enum UnitClass
|
||||
|
||||
#define PLAYER_MAX_BATTLEGROUND_QUEUES 2
|
||||
|
||||
enum ReputationRank
|
||||
enum ReputationRank : uint8
|
||||
{
|
||||
REP_HATED = 0,
|
||||
REP_HOSTILE = 1,
|
||||
@@ -754,7 +755,7 @@ enum Language
|
||||
|
||||
#define LANGUAGES_COUNT 19
|
||||
|
||||
enum TeamId
|
||||
enum TeamId : uint8
|
||||
{
|
||||
TEAM_ALLIANCE = 0,
|
||||
TEAM_HORDE,
|
||||
@@ -3572,7 +3573,7 @@ enum TradeStatus
|
||||
TRADE_STATUS_NOT_ELIGIBLE = 23 // Related to trading soulbound loot items
|
||||
};
|
||||
|
||||
enum XPColorChar
|
||||
enum XPColorChar : uint8
|
||||
{
|
||||
XP_RED,
|
||||
XP_ORANGE,
|
||||
@@ -3581,7 +3582,7 @@ enum XPColorChar
|
||||
XP_GRAY
|
||||
};
|
||||
|
||||
enum RemoveMethod
|
||||
enum RemoveMethod : uint8
|
||||
{
|
||||
GROUP_REMOVEMETHOD_DEFAULT = 0,
|
||||
GROUP_REMOVEMETHOD_KICK = 1,
|
||||
|
||||
Reference in New Issue
Block a user