Commit Graph

30 Commits

Author SHA1 Message Date
Yehonal
2b2e299ccc Fixed all unused-parameters warnings
issue #121

used clang-tidy to achieve this
2017-09-18 14:23:26 +02:00
Yehonal
5ec07ef31f Removed more warnings, mostly related to unused-variable
issue #121

We still have to work on unused-parameter
2017-09-18 03:16:32 +02:00
Yehonal
82be574cda Core: Step 3 - removed all warnings from core
related to #121

Next step: Scripts and extractor tools
2017-09-16 19:13:21 +02:00
talamortis
f6ff4910c3 Added a hook for player::Update 2017-08-24 11:06:21 +02:00
Yehonal
0dd68dfbee Another huge compilation fix
please delete cache and re-run cmake
2017-08-20 04:48:07 +02:00
talamortis
e471c1bb6a fix for PR
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
#	src/game/DungeonFinding/LFGMgr.cpp
#	src/game/Entities/Player/Player.cpp
#	src/game/Entities/Unit/Unit.cpp
#	src/game/Entities/Vehicle/Vehicle.cpp
#	src/game/Guilds/Guild.cpp
#	src/game/Handlers/ChannelHandler.cpp
#	src/game/Handlers/GuildHandler.cpp
#	src/game/Handlers/LFGHandler.cpp
#	src/game/Handlers/LootHandler.cpp
#	src/game/Handlers/MiscHandler.cpp
#	src/game/Handlers/PetitionsHandler.cpp
#	src/game/Handlers/QueryHandler.cpp
#	src/game/Movement/MotionMaster.cpp
#	src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
#	src/game/Server/WorldSocket.cpp
#	src/game/Spells/Auras/SpellAuraEffects.cpp
#	src/game/Spells/SpellEffects.cpp
#	src/scripts/Commands/cs_modify.cpp
2017-08-20 02:33:48 +02:00
Yehonal
bf80a43d78 Fixed travis build errors with Talamortis.
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
#	src/game/Calendar/CalendarMgr.cpp
#	src/game/Chat/Channels/Channel.cpp
#	src/game/Conditions/ConditionMgr.cpp
#	src/game/DungeonFinding/LFGMgr.cpp
#	src/game/DungeonFinding/LFGScripts.cpp
#	src/game/Entities/Player/Player.cpp
#	src/game/Entities/Unit/Unit.cpp
#	src/game/Entities/Vehicle/Vehicle.cpp
#	src/game/Guilds/Guild.cpp
#	src/game/Handlers/ChannelHandler.cpp
#	src/game/Handlers/GuildHandler.cpp
#	src/game/Handlers/LFGHandler.cpp
#	src/game/Handlers/LootHandler.cpp
#	src/game/Handlers/MailHandler.cpp
#	src/game/Handlers/MiscHandler.cpp
#	src/game/Handlers/NPCHandler.cpp
#	src/game/Handlers/PetHandler.cpp
#	src/game/Handlers/PetitionsHandler.cpp
#	src/game/Handlers/QueryHandler.cpp
#	src/game/Handlers/QuestHandler.cpp
#	src/game/Movement/MotionMaster.cpp
#	src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
#	src/game/Server/WorldSession.cpp
#	src/game/Server/WorldSocket.cpp
#	src/game/Spells/SpellEffects.cpp
#	src/scripts/Commands/cs_modify.cpp
2017-08-19 20:31:24 +02:00
Yehonal
c1586e0d99 changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs 2017-08-19 19:42:48 +02:00
Kevin
2da9db04eb Implemented OnPlayerReleasedGhost() hook 2017-06-29 18:59:37 +00:00
Inifield
bd799ecd5b Core/Player: Correct gender by modelid and avoid saving character with wrong gender
Closes #396

Author is MitchesD, Kittnz and Shauren
2017-06-26 16:43:13 +02:00
Кирилл
1a0a3e0578 Core/Locale: fix Locales for gossip menu option (#503) 2017-05-31 22:16:32 +01:00
Yehonal
4fdaa4444e Hook for player data loading from db 2017-03-26 13:49:41 +02:00
Gargarensis
a870e5fae4 hook before a player buys something 2017-03-26 01:09:32 +01:00
Viste
4a88315b07 Fix config option PVP_TOKEN_ENABLE close issue #183 2017-03-20 02:15:09 +03:00
Кирилл
4a6350dc83 Locales for quests (#407) 2017-03-03 16:24:20 +01:00
3ndos
b7ee1a9f12 More hooks for Scripts/Modules (#270) 2016-12-07 09:12:01 +01:00
moob0
a9ca43310e Core/Misc: identation fixes 2016-11-22 22:32:50 +01:00
Matteo Emili
bb429b22cf New hooks OnEquip, OnPlayerJoinBG, OnPlayerJoinArena 2016-11-22 20:11:40 +01:00
Yehonal
7e56f3f1fc Implemented hook for Player::MoveItemFromInventory 2016-11-19 00:18:44 +01:00
Yehonal
d53b5522f9 Updated ScriptMgr with new function to favorite transmog module 2016-11-17 10:28:08 +01:00
Yehonal
3b2fb0949b Core/Logging: Re-Implemented onChat scripting system 2016-09-24 14:36:21 +02:00
mik1893
ce07d52235 Fix for missing assignment of m_race 2016-09-05 15:15:27 +02:00
ShinDarth
5802a37698 Revert "Build/Clang: fixed 96 warnings + improved code readability"
This reverts commit a4589f71d5.
2016-09-04 10:11:10 +02:00
Yehonal
cd2417eb2f Using IsGMAccount instead of direct check 2016-09-02 00:21:12 +02:00
mik1893
b689b7f1e1 Core/Player: Implement original race variable at unit level and initialize it (for future customizations) 2016-08-24 14:27:10 +02:00
ShinDarth
da7a7ab295 Fix License issue, closes #21 2016-08-17 17:58:45 +02:00
ShinDarth
a4589f71d5 Build/Clang: fixed 96 warnings + improved code readability 2016-08-16 23:21:38 +02:00
Rival
9f6ff6bb7c Core/Player: Fixed Weapon Skillup on low level mobs 2016-08-14 10:27:53 +03:00
ShinDarth
e9089ed793 DB/Characters: update DB structure 2016-08-12 11:49:04 +02:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00