mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
This commit is contained in:
parent
5d294f0ad2
commit
adc46ef907
23 changed files with 335 additions and 337 deletions
|
|
@ -28,243 +28,243 @@ noinst_LIBRARIES = libmangosgame.a
|
|||
|
||||
# libmangossgame library will later be reused by ...
|
||||
libmangosgame_a_SOURCES = \
|
||||
AccountMgr.cpp \
|
||||
AccountMgr.h \
|
||||
AddonHandler.cpp \
|
||||
AddonHandler.h \
|
||||
AggressorAI.cpp \
|
||||
AggressorAI.h \
|
||||
AnimalRandomMovementGenerator.h \
|
||||
ArenaTeam.cpp \
|
||||
ArenaTeam.h \
|
||||
ArenaTeamHandler.cpp \
|
||||
AuctionHouse.cpp \
|
||||
AuctionHouseObject.h \
|
||||
Bag.cpp \
|
||||
Bag.h \
|
||||
BattleGround.cpp \
|
||||
BattleGroundAA.cpp \
|
||||
BattleGroundAB.cpp \
|
||||
BattleGroundAV.cpp \
|
||||
BattleGroundBE.cpp \
|
||||
BattleGroundEY.cpp \
|
||||
BattleGroundNA.cpp \
|
||||
BattleGroundRL.cpp \
|
||||
BattleGroundWS.cpp \
|
||||
BattleGround.h \
|
||||
BattleGroundAA.h \
|
||||
BattleGroundAB.h \
|
||||
BattleGroundAV.h \
|
||||
BattleGroundBE.h \
|
||||
BattleGroundEY.h \
|
||||
BattleGroundNA.h \
|
||||
BattleGroundRL.h \
|
||||
BattleGroundWS.h \
|
||||
BattleGroundHandler.cpp \
|
||||
BattleGroundMgr.cpp \
|
||||
BattleGroundMgr.h \
|
||||
Cell.h \
|
||||
CellImpl.h \
|
||||
Channel.cpp \
|
||||
Channel.h \
|
||||
ChannelHandler.cpp \
|
||||
ChannelMgr.h \
|
||||
CharacterHandler.cpp \
|
||||
Chat.cpp \
|
||||
Chat.h \
|
||||
ChatHandler.cpp \
|
||||
CombatHandler.cpp \
|
||||
ConfusedMovementGenerator.cpp \
|
||||
ConfusedMovementGenerator.h \
|
||||
Corpse.cpp \
|
||||
Corpse.h \
|
||||
CreatureAI.cpp \
|
||||
CreatureAI.h \
|
||||
CreatureAIImpl.h \
|
||||
CreatureAIRegistry.cpp \
|
||||
CreatureAIRegistry.h \
|
||||
CreatureAISelector.cpp \
|
||||
CreatureAISelector.h \
|
||||
Creature.cpp \
|
||||
Creature.h \
|
||||
debugcmds.cpp \
|
||||
DestinationHolder.cpp \
|
||||
DestinationHolder.h \
|
||||
DestinationHolderImp.h \
|
||||
DuelHandler.cpp \
|
||||
DynamicObject.cpp \
|
||||
DynamicObject.h \
|
||||
FleeingMovementGenerator.cpp \
|
||||
FleeingMovementGenerator.h \
|
||||
Formulas.h \
|
||||
GameEvent.cpp \
|
||||
GameEvent.h \
|
||||
GameObject.cpp \
|
||||
GameObject.h \
|
||||
GlobalEvents.cpp \
|
||||
GlobalEvents.h \
|
||||
GossipDef.cpp \
|
||||
GossipDef.h \
|
||||
GridDefines.h \
|
||||
GridNotifiers.cpp \
|
||||
GridNotifiers.h \
|
||||
GridNotifiersImpl.h \
|
||||
GridStates.cpp \
|
||||
GridStates.h \
|
||||
Group.cpp \
|
||||
Group.h \
|
||||
GroupHandler.cpp \
|
||||
GuardAI.cpp \
|
||||
GuardAI.h \
|
||||
Guild.cpp \
|
||||
Guild.h \
|
||||
GuildHandler.cpp \
|
||||
HateMatrix.h \
|
||||
HomeMovementGenerator.cpp \
|
||||
HomeMovementGenerator.h \
|
||||
HostilRefManager.cpp \
|
||||
HostilRefManager.h \
|
||||
IdleMovementGenerator.cpp \
|
||||
IdleMovementGenerator.h \
|
||||
InstanceData.cpp \
|
||||
InstanceData.h \
|
||||
InstanceSaveMgr.cpp \
|
||||
InstanceSaveMgr.h \
|
||||
Item.cpp \
|
||||
Item.h \
|
||||
ItemEnchantmentMgr.cpp \
|
||||
ItemEnchantmentMgr.h \
|
||||
ItemHandler.cpp \
|
||||
ItemPrototype.h \
|
||||
Language.h \
|
||||
Level0.cpp \
|
||||
Level1.cpp \
|
||||
Level2.cpp \
|
||||
Level3.cpp \
|
||||
LFGHandler.cpp \
|
||||
LootHandler.cpp \
|
||||
LootMgr.cpp \
|
||||
LootMgr.h \
|
||||
Mail.cpp \
|
||||
Mail.h \
|
||||
Map.cpp \
|
||||
Map.h \
|
||||
MapInstanced.cpp \
|
||||
MapInstanced.h \
|
||||
MapManager.cpp \
|
||||
MapManager.h \
|
||||
MiscHandler.cpp \
|
||||
MotionMaster.cpp \
|
||||
MotionMaster.h \
|
||||
MovementGenerator.cpp \
|
||||
MovementGenerator.h \
|
||||
MovementGeneratorImpl.h \
|
||||
MovementHandler.cpp \
|
||||
NPCHandler.cpp \
|
||||
NPCHandler.h \
|
||||
NullCreatureAI.cpp \
|
||||
NullCreatureAI.h \
|
||||
ObjectAccessor.cpp \
|
||||
ObjectAccessor.h \
|
||||
Object.cpp \
|
||||
ObjectDefines.h \
|
||||
ObjectGridLoader.cpp \
|
||||
ObjectGridLoader.h \
|
||||
Object.h \
|
||||
ObjectMgr.cpp \
|
||||
ObjectMgr.h \
|
||||
ObjectPosSelector.cpp \
|
||||
ObjectPosSelector.h \
|
||||
Opcodes.cpp \
|
||||
Opcodes.h \
|
||||
Path.h \
|
||||
PetAI.cpp \
|
||||
PetAI.h \
|
||||
Pet.cpp \
|
||||
Pet.h \
|
||||
PetHandler.cpp \
|
||||
PetitionsHandler.cpp \
|
||||
Player.cpp \
|
||||
Player.h \
|
||||
PlayerDump.cpp \
|
||||
PlayerDump.h \
|
||||
PointMovementGenerator.cpp \
|
||||
PointMovementGenerator.h \
|
||||
QueryHandler.cpp \
|
||||
QuestDef.cpp \
|
||||
QuestDef.h \
|
||||
QuestHandler.cpp \
|
||||
RandomMovementGenerator.cpp \
|
||||
RandomMovementGenerator.h \
|
||||
ReactorAI.cpp \
|
||||
ReactorAI.h \
|
||||
ScriptCalls.cpp \
|
||||
ScriptCalls.h \
|
||||
SharedDefines.h \
|
||||
SkillHandler.cpp \
|
||||
SpellAuraDefines.h \
|
||||
SpellAuras.cpp \
|
||||
SpellAuras.h \
|
||||
Spell.cpp \
|
||||
SpellEffects.cpp \
|
||||
Spell.h \
|
||||
SkillDiscovery.cpp \
|
||||
SkillDiscovery.h \
|
||||
SkillExtraItems.cpp \
|
||||
SkillExtraItems.h \
|
||||
SpellHandler.cpp \
|
||||
SocialMgr.cpp \
|
||||
SocialMgr.h \
|
||||
SpellMgr.cpp \
|
||||
SpellMgr.h \
|
||||
StatSystem.cpp \
|
||||
TargetedMovementGenerator.cpp \
|
||||
TargetedMovementGenerator.h \
|
||||
TaxiHandler.cpp \
|
||||
TemporarySummon.cpp \
|
||||
TemporarySummon.h \
|
||||
tools.cpp \
|
||||
Tools.h \
|
||||
TotemAI.cpp \
|
||||
TotemAI.h \
|
||||
Totem.cpp \
|
||||
Totem.h \
|
||||
TradeHandler.cpp \
|
||||
Transports.cpp \
|
||||
Transports.h \
|
||||
ThreatManager.cpp \
|
||||
ThreatManager.h \
|
||||
Traveller.h \
|
||||
Unit.cpp \
|
||||
Unit.h \
|
||||
UnitEvents.h \
|
||||
UpdateData.cpp \
|
||||
UpdateData.h \
|
||||
UpdateFields.h \
|
||||
UpdateMask.h \
|
||||
VoiceChatHandler.cpp \
|
||||
WaypointManager.cpp \
|
||||
WaypointManager.h \
|
||||
WaypointMovementGenerator.cpp \
|
||||
WaypointMovementGenerator.h \
|
||||
Weather.cpp \
|
||||
Weather.h \
|
||||
World.cpp \
|
||||
World.h \
|
||||
WorldLog.cpp \
|
||||
WorldLog.h \
|
||||
WorldSession.cpp \
|
||||
WorldSession.h \
|
||||
WorldSocket.cpp \
|
||||
WorldSocket.h \
|
||||
WorldSocketMgr.cpp \
|
||||
WorldSocketMgr.h \
|
||||
FollowerReference.cpp \
|
||||
FollowerReference.h \
|
||||
FollowerRefManager.h \
|
||||
GroupReference.cpp \
|
||||
GroupReference.h \
|
||||
GroupRefManager.h
|
||||
AccountMgr.cpp \
|
||||
AccountMgr.h \
|
||||
AddonHandler.cpp \
|
||||
AddonHandler.h \
|
||||
AggressorAI.cpp \
|
||||
AggressorAI.h \
|
||||
AnimalRandomMovementGenerator.h \
|
||||
ArenaTeam.cpp \
|
||||
ArenaTeam.h \
|
||||
ArenaTeamHandler.cpp \
|
||||
AuctionHouse.cpp \
|
||||
AuctionHouseObject.h \
|
||||
Bag.cpp \
|
||||
Bag.h \
|
||||
BattleGround.cpp \
|
||||
BattleGroundAA.cpp \
|
||||
BattleGroundAB.cpp \
|
||||
BattleGroundAV.cpp \
|
||||
BattleGroundBE.cpp \
|
||||
BattleGroundEY.cpp \
|
||||
BattleGroundNA.cpp \
|
||||
BattleGroundRL.cpp \
|
||||
BattleGroundWS.cpp \
|
||||
BattleGround.h \
|
||||
BattleGroundAA.h \
|
||||
BattleGroundAB.h \
|
||||
BattleGroundAV.h \
|
||||
BattleGroundBE.h \
|
||||
BattleGroundEY.h \
|
||||
BattleGroundNA.h \
|
||||
BattleGroundRL.h \
|
||||
BattleGroundWS.h \
|
||||
BattleGroundHandler.cpp \
|
||||
BattleGroundMgr.cpp \
|
||||
BattleGroundMgr.h \
|
||||
Cell.h \
|
||||
CellImpl.h \
|
||||
Channel.cpp \
|
||||
Channel.h \
|
||||
ChannelHandler.cpp \
|
||||
ChannelMgr.h \
|
||||
CharacterHandler.cpp \
|
||||
Chat.cpp \
|
||||
Chat.h \
|
||||
ChatHandler.cpp \
|
||||
CombatHandler.cpp \
|
||||
ConfusedMovementGenerator.cpp \
|
||||
ConfusedMovementGenerator.h \
|
||||
Corpse.cpp \
|
||||
Corpse.h \
|
||||
CreatureAI.cpp \
|
||||
CreatureAI.h \
|
||||
CreatureAIImpl.h \
|
||||
CreatureAIRegistry.cpp \
|
||||
CreatureAIRegistry.h \
|
||||
CreatureAISelector.cpp \
|
||||
CreatureAISelector.h \
|
||||
Creature.cpp \
|
||||
Creature.h \
|
||||
debugcmds.cpp \
|
||||
DestinationHolder.cpp \
|
||||
DestinationHolder.h \
|
||||
DestinationHolderImp.h \
|
||||
DuelHandler.cpp \
|
||||
DynamicObject.cpp \
|
||||
DynamicObject.h \
|
||||
FleeingMovementGenerator.cpp \
|
||||
FleeingMovementGenerator.h \
|
||||
Formulas.h \
|
||||
GameEvent.cpp \
|
||||
GameEvent.h \
|
||||
GameObject.cpp \
|
||||
GameObject.h \
|
||||
GlobalEvents.cpp \
|
||||
GlobalEvents.h \
|
||||
GossipDef.cpp \
|
||||
GossipDef.h \
|
||||
GridDefines.h \
|
||||
GridNotifiers.cpp \
|
||||
GridNotifiers.h \
|
||||
GridNotifiersImpl.h \
|
||||
GridStates.cpp \
|
||||
GridStates.h \
|
||||
Group.cpp \
|
||||
Group.h \
|
||||
GroupHandler.cpp \
|
||||
GuardAI.cpp \
|
||||
GuardAI.h \
|
||||
Guild.cpp \
|
||||
Guild.h \
|
||||
GuildHandler.cpp \
|
||||
HateMatrix.h \
|
||||
HomeMovementGenerator.cpp \
|
||||
HomeMovementGenerator.h \
|
||||
HostilRefManager.cpp \
|
||||
HostilRefManager.h \
|
||||
IdleMovementGenerator.cpp \
|
||||
IdleMovementGenerator.h \
|
||||
InstanceData.cpp \
|
||||
InstanceData.h \
|
||||
InstanceSaveMgr.cpp \
|
||||
InstanceSaveMgr.h \
|
||||
Item.cpp \
|
||||
Item.h \
|
||||
ItemEnchantmentMgr.cpp \
|
||||
ItemEnchantmentMgr.h \
|
||||
ItemHandler.cpp \
|
||||
ItemPrototype.h \
|
||||
Language.h \
|
||||
Level0.cpp \
|
||||
Level1.cpp \
|
||||
Level2.cpp \
|
||||
Level3.cpp \
|
||||
LFGHandler.cpp \
|
||||
LootHandler.cpp \
|
||||
LootMgr.cpp \
|
||||
LootMgr.h \
|
||||
Mail.cpp \
|
||||
Mail.h \
|
||||
Map.cpp \
|
||||
Map.h \
|
||||
MapInstanced.cpp \
|
||||
MapInstanced.h \
|
||||
MapManager.cpp \
|
||||
MapManager.h \
|
||||
MiscHandler.cpp \
|
||||
MotionMaster.cpp \
|
||||
MotionMaster.h \
|
||||
MovementGenerator.cpp \
|
||||
MovementGenerator.h \
|
||||
MovementGeneratorImpl.h \
|
||||
MovementHandler.cpp \
|
||||
NPCHandler.cpp \
|
||||
NPCHandler.h \
|
||||
NullCreatureAI.cpp \
|
||||
NullCreatureAI.h \
|
||||
ObjectAccessor.cpp \
|
||||
ObjectAccessor.h \
|
||||
Object.cpp \
|
||||
ObjectDefines.h \
|
||||
ObjectGridLoader.cpp \
|
||||
ObjectGridLoader.h \
|
||||
Object.h \
|
||||
ObjectMgr.cpp \
|
||||
ObjectMgr.h \
|
||||
ObjectPosSelector.cpp \
|
||||
ObjectPosSelector.h \
|
||||
Opcodes.cpp \
|
||||
Opcodes.h \
|
||||
Path.h \
|
||||
PetAI.cpp \
|
||||
PetAI.h \
|
||||
Pet.cpp \
|
||||
Pet.h \
|
||||
PetHandler.cpp \
|
||||
PetitionsHandler.cpp \
|
||||
Player.cpp \
|
||||
Player.h \
|
||||
PlayerDump.cpp \
|
||||
PlayerDump.h \
|
||||
PointMovementGenerator.cpp \
|
||||
PointMovementGenerator.h \
|
||||
QueryHandler.cpp \
|
||||
QuestDef.cpp \
|
||||
QuestDef.h \
|
||||
QuestHandler.cpp \
|
||||
RandomMovementGenerator.cpp \
|
||||
RandomMovementGenerator.h \
|
||||
ReactorAI.cpp \
|
||||
ReactorAI.h \
|
||||
ScriptCalls.cpp \
|
||||
ScriptCalls.h \
|
||||
SharedDefines.h \
|
||||
SkillHandler.cpp \
|
||||
SpellAuraDefines.h \
|
||||
SpellAuras.cpp \
|
||||
SpellAuras.h \
|
||||
Spell.cpp \
|
||||
SpellEffects.cpp \
|
||||
Spell.h \
|
||||
SkillDiscovery.cpp \
|
||||
SkillDiscovery.h \
|
||||
SkillExtraItems.cpp \
|
||||
SkillExtraItems.h \
|
||||
SpellHandler.cpp \
|
||||
SocialMgr.cpp \
|
||||
SocialMgr.h \
|
||||
SpellMgr.cpp \
|
||||
SpellMgr.h \
|
||||
StatSystem.cpp \
|
||||
TargetedMovementGenerator.cpp \
|
||||
TargetedMovementGenerator.h \
|
||||
TaxiHandler.cpp \
|
||||
TemporarySummon.cpp \
|
||||
TemporarySummon.h \
|
||||
tools.cpp \
|
||||
Tools.h \
|
||||
TotemAI.cpp \
|
||||
TotemAI.h \
|
||||
Totem.cpp \
|
||||
Totem.h \
|
||||
TradeHandler.cpp \
|
||||
Transports.cpp \
|
||||
Transports.h \
|
||||
ThreatManager.cpp \
|
||||
ThreatManager.h \
|
||||
Traveller.h \
|
||||
Unit.cpp \
|
||||
Unit.h \
|
||||
UnitEvents.h \
|
||||
UpdateData.cpp \
|
||||
UpdateData.h \
|
||||
UpdateFields.h \
|
||||
UpdateMask.h \
|
||||
VoiceChatHandler.cpp \
|
||||
WaypointManager.cpp \
|
||||
WaypointManager.h \
|
||||
WaypointMovementGenerator.cpp \
|
||||
WaypointMovementGenerator.h \
|
||||
Weather.cpp \
|
||||
Weather.h \
|
||||
World.cpp \
|
||||
World.h \
|
||||
WorldLog.cpp \
|
||||
WorldLog.h \
|
||||
WorldSession.cpp \
|
||||
WorldSession.h \
|
||||
WorldSocket.cpp \
|
||||
WorldSocket.h \
|
||||
WorldSocketMgr.cpp \
|
||||
WorldSocketMgr.h \
|
||||
FollowerReference.cpp \
|
||||
FollowerReference.h \
|
||||
FollowerRefManager.h \
|
||||
GroupReference.cpp \
|
||||
GroupReference.h \
|
||||
GroupRefManager.h
|
||||
|
||||
## Link against shared library
|
||||
libmangosgame_a_LIBADD = ../shared/libmangosshared.a ../shared/Auth/libmangosauth.a ../shared/Config/libmangosconfig.a ../shared/Database/libmangosdatabase.a ../shared/vmap/libmangosvmaps.a
|
||||
|
|
|
|||
|
|
@ -507,5 +507,3 @@ void WorldSession::SendAuthWaitQue(uint32 position)
|
|||
SendPacket(&packet);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
|
||||
#ifndef _WORLDSOCKET_H
|
||||
#define _WORLDSOCKET_H
|
||||
#define _WORLDSOCKET_H
|
||||
|
||||
#include <ace/Basic_Types.h>
|
||||
#include <ace/Synch_Traits.h>
|
||||
|
|
@ -228,6 +228,6 @@ private:
|
|||
uint32 m_Seed;
|
||||
};
|
||||
|
||||
#endif /* _WORLDSOCKET_H */
|
||||
#endif /* _WORLDSOCKET_H */
|
||||
|
||||
/// @}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue