Skip to content

Commit 75016af

Browse files
evil-at-wowxfurry
authored andcommitted
[3038] Remove all traces of MANGOS_DLL_DECL, which is a useless define these days. See cmangos/issues#402 for details.
Signed-off-by: xfurry <xfurry@scriptdev2.com>
1 parent cb38e7a commit 75016af

412 files changed

Lines changed: 840 additions & 840 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

base/escort_ai.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ enum EscortState
3333
STATE_ESCORT_PAUSED = 0x004 // will not proceed with waypoints before state is removed
3434
};
3535

36-
struct MANGOS_DLL_DECL npc_escortAI : public ScriptedAI
36+
struct npc_escortAI : public ScriptedAI
3737
{
3838
public:
3939
explicit npc_escortAI(Creature* pCreature);

base/follower_ai.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ enum FollowState
1616
STATE_FOLLOW_POSTEVENT = 0x020 // can be set at complete and allow post event to run
1717
};
1818

19-
class MANGOS_DLL_DECL FollowerAI : public ScriptedAI
19+
class FollowerAI : public ScriptedAI
2020
{
2121
public:
2222
explicit FollowerAI(Creature* pCreature);

base/guard_ai.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ enum eShattrathGuard
2424
SPELL_EXILE = 39533
2525
};
2626

27-
struct MANGOS_DLL_DECL guardAI : public ScriptedAI
27+
struct guardAI : public ScriptedAI
2828
{
2929
public:
3030
explicit guardAI(Creature* pCreature);
@@ -45,14 +45,14 @@ struct MANGOS_DLL_DECL guardAI : public ScriptedAI
4545
void DoReplyToTextEmote(uint32 uiTextEmote);
4646
};
4747

48-
struct MANGOS_DLL_DECL guardAI_orgrimmar : public guardAI
48+
struct guardAI_orgrimmar : public guardAI
4949
{
5050
guardAI_orgrimmar(Creature* pCreature) : guardAI(pCreature) {}
5151

5252
void ReceiveEmote(Player* pPlayer, uint32 uiTextEmote) override;
5353
};
5454

55-
struct MANGOS_DLL_DECL guardAI_stormwind : public guardAI
55+
struct guardAI_stormwind : public guardAI
5656
{
5757
guardAI_stormwind(Creature* pCreature) : guardAI(pCreature) {}
5858

base/pet_ai.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#define SC_PET_H
77

88
// Using CreatureAI for now. Might change later and use PetAI (need to export for dll first)
9-
class MANGOS_DLL_DECL ScriptedPetAI : public CreatureAI
9+
class ScriptedPetAI : public CreatureAI
1010
{
1111
public:
1212
explicit ScriptedPetAI(Creature* pCreature);

include/sc_creature.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ enum SCEquip
4141

4242
/// Documentation of CreatureAI functions can be found in MaNGOS source
4343
// Only list them here again to ensure that the interface between SD2 and the core is not changed unnoticed
44-
struct MANGOS_DLL_DECL ScriptedAI : public CreatureAI
44+
struct ScriptedAI : public CreatureAI
4545
{
4646
public:
4747
explicit ScriptedAI(Creature* pCreature);
@@ -221,7 +221,7 @@ struct MANGOS_DLL_DECL ScriptedAI : public CreatureAI
221221
uint32 m_uiEvadeCheckCooldown;
222222
};
223223

224-
struct MANGOS_DLL_DECL Scripted_NoMovementAI : public ScriptedAI
224+
struct Scripted_NoMovementAI : public ScriptedAI
225225
{
226226
Scripted_NoMovementAI(Creature* pCreature) : ScriptedAI(pCreature)
227227
{

include/sc_instance.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ enum EncounterState
2323
#define OUT_LOAD_INST_DATA_COMPLETE debug_log("SD2: Instance Data Load for Instance %s (Map %d, Instance Id: %d) is complete.", instance->GetMapName(), instance->GetId(), instance->GetInstanceId())
2424
#define OUT_LOAD_INST_DATA_FAIL script_error_log("Unable to load Instance Data for Instance %s (Map %d, Instance Id: %d).", instance->GetMapName(), instance->GetId(), instance->GetInstanceId())
2525

26-
class MANGOS_DLL_DECL ScriptedInstance : public InstanceData
26+
class ScriptedInstance : public InstanceData
2727
{
2828
public:
2929
ScriptedInstance(Map* pMap) : InstanceData(pMap) {}
@@ -69,7 +69,7 @@ class MANGOS_DLL_DECL ScriptedInstance : public InstanceData
6969
};
7070

7171
// Class for world maps (May need additional zone-wide functions later on)
72-
class MANGOS_DLL_DECL ScriptedMap : public ScriptedInstance
72+
class ScriptedMap : public ScriptedInstance
7373
{
7474
public:
7575
ScriptedMap(Map* pMap) : ScriptedInstance(pMap) {}

scripts/battlegrounds/battleground.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ enum
4545
SPELL_WAITING_TO_RESURRECT = 2584 // players who cancel this aura don't want a resurrection
4646
};
4747

48-
struct MANGOS_DLL_DECL npc_spirit_guideAI : public ScriptedAI
48+
struct npc_spirit_guideAI : public ScriptedAI
4949
{
5050
npc_spirit_guideAI(Creature* pCreature) : ScriptedAI(pCreature)
5151
{

scripts/eastern_kingdoms/arathi_highlands.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ enum
5050
ENTRY_VENGEFUL_SURGE = 2776
5151
};
5252

53-
struct MANGOS_DLL_DECL npc_professor_phizzlethorpeAI : public npc_escortAI
53+
struct npc_professor_phizzlethorpeAI : public npc_escortAI
5454
{
5555
npc_professor_phizzlethorpeAI(Creature* pCreature) : npc_escortAI(pCreature) { Reset(); }
5656

@@ -141,7 +141,7 @@ enum
141141
QUEST_HINTS_NEW_PLAGUE = 660
142142
};
143143

144-
struct MANGOS_DLL_DECL npc_kineloryAI : public npc_escortAI
144+
struct npc_kineloryAI : public npc_escortAI
145145
{
146146
npc_kineloryAI(Creature* pCreature) : npc_escortAI(pCreature) { Reset(); }
147147

scripts/eastern_kingdoms/blackrock_depths/blackrock_depths.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ bool AreaTrigger_at_ring_of_law(Player* pPlayer, AreaTriggerEntry const* pAt)
158158
## npc_grimstone
159159
######*/
160160

161-
struct MANGOS_DLL_DECL npc_grimstoneAI : public npc_escortAI
161+
struct npc_grimstoneAI : public npc_escortAI
162162
{
163163
npc_grimstoneAI(Creature* pCreature) : npc_escortAI(pCreature)
164164
{
@@ -550,7 +550,7 @@ enum
550550
QUEST_ALE = 4295
551551
};
552552

553-
struct MANGOS_DLL_DECL npc_rocknotAI : public npc_escortAI
553+
struct npc_rocknotAI : public npc_escortAI
554554
{
555555
npc_rocknotAI(Creature* pCreature) : npc_escortAI(pCreature)
556556
{
@@ -724,7 +724,7 @@ enum
724724
QUEST_JAIL_BREAK = 4322
725725
};
726726

727-
struct MANGOS_DLL_DECL npc_marshal_windsorAI : public npc_escortAI
727+
struct npc_marshal_windsorAI : public npc_escortAI
728728
{
729729
npc_marshal_windsorAI(Creature* m_creature) : npc_escortAI(m_creature)
730730
{

scripts/eastern_kingdoms/blackrock_depths/blackrock_depths.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static const float aVaultPositions[4] = {821.905f, -338.382f, -50.134f, 3.78736f
118118
// Tomb of the Seven dwarfs
119119
static const uint32 aTombDwarfes[MAX_DWARFS] = {NPC_ANGERREL, NPC_SEETHREL, NPC_DOPEREL, NPC_GLOOMREL, NPC_VILEREL, NPC_HATEREL, NPC_DOOMREL};
120120

121-
class MANGOS_DLL_DECL instance_blackrock_depths : public ScriptedInstance
121+
class instance_blackrock_depths : public ScriptedInstance
122122
{
123123
public:
124124
instance_blackrock_depths(Map* pMap);

0 commit comments

Comments
 (0)