Commit Graph

11333 Commits

Author SHA1 Message Date
Gacko
82d93f7712 Fix non-PCH build. 2017-05-19 17:38:45 +02:00
Shauren
5992572175 Nopch build fix 2017-05-19 00:41:18 +02:00
Shauren
c5d3dd90be Core/Game: Include cleanup
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren
b0ca3660d5 Core/PacketIO: Fix sending rotations vector in PlayOrphanSpellVisual 2017-05-16 22:44:31 +02:00
Shauren
a12a34b1dc Core/Game: Include cleanup - removed G3D classes from packets
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-16 22:16:21 +02:00
Shauren
b421a5c0cb Core/Game: Include cleanup - remove Map dependency from Object.h 2017-05-15 22:55:16 +02:00
vincent-michael
eb555dd48b Core/Creatures: Fixed typo 2017-05-15 20:36:02 +02:00
DDuarte
95ebd19f8c Core/Guild: Misc. code changes
NULL to nullptr, add const to methods and remove unimplemented method definitions
2017-05-14 17:46:21 +01:00
DDuarte
c784780156 Core/Guilds: Remove old Guild.UndeletableLevel config
Send guild achievement points in SMSG_GUILD_INVITE instead of level
Remove old references to guild levels
Player still have PLAYER_GUILDLEVEL field which is always 25
2017-05-14 17:31:06 +01:00
Shauren
efc16ded75 Fix nopch build 2017-05-14 12:49:48 +02:00
joschiwald
e64ad15993 Core/Spells: Redefined SPELL_AURA_MOD_HONOR_GAIN_PCT and defined SPELL_AURA_MOD_GUILD_REPUTATION_GAIN_PCT 2017-05-14 12:39:52 +02:00
Traesh
c73ce93f4c Core/Entities : Basic Conversation Implementation (#18010) 2017-05-14 11:40:55 +02:00
Marco Ebert
6e2a911f6d Fix non-PCH build.
Your ad here.
2017-05-13 21:11:57 +02:00
Shauren
9299e9bde0 Core/Grids: Ported cmangos/mangos-wotlk@ea99457e50 2017-05-13 19:37:33 +02:00
joschiwald
229c78b5a3 Core/Packets: Implemented CMSG_QUERY_REALM_NAME and SMSG_REALM_QUERY_RESPONSE 2017-05-13 17:25:21 +02:00
Shauren
da32ff84d6 Build fix 2017-05-13 12:57:55 +02:00
Shauren
beb3316089 Core/Shared: Include cleanup 2017-05-13 11:49:09 +02:00
joschiwald
c00316d3d4 Core/Spells: Defined SPELL_AURA_MOD_SPEED_NO_CONTROL 2017-05-12 20:52:06 +02:00
Shauren
7e538980a2 Core/Database: Include cleanup 2017-05-12 18:50:27 +02:00
Aokromes
8fdf0778ca Core/Logs: Reword some logs 2017-05-12 10:42:50 +02:00
Shauren
3a418a0bbc Core/Common: Include cleanup 2017-05-11 22:29:51 +02:00
Gacko
ed986a416a Fix build. 2017-05-10 17:27:59 +02:00
Aokromes
26305cd5fb Core/Misc: Fix some false startup errors 2017-05-10 11:35:20 +02:00
joschiwald
b52949aa1f Core/Misc: Removed useless log message 2017-05-09 20:43:22 +02:00
Shauren
38b1ad0ce1 Warning fix 2017-05-09 00:27:10 +02:00
Shauren
8fc527f404 Core/Items: Set and save item context field 2017-05-08 23:56:35 +02:00
joschiwald
5c86b2aa36 Core/SpellScripts: SPELL_SCRIPT_HOOK_EFFECT_SUCCESSFUL_DISPEL is a TargetHook and a EffectHook 2017-05-07 20:39:51 +02:00
Shauren
118a0afbfa Build fix 2017-05-07 17:16:47 +02:00
Shauren
6828c7bc2f Core/Items: Implemented new item bonus and enchantment types 2017-05-07 16:47:49 +02:00
joschiwald
8aa516528f Core/Spells: Fixed wrong usage of unitTarget in Spell::EffectChargeDest 2017-05-07 15:28:56 +02:00
Shauren
707fd7cdfa Core/Items: Fixed default item appearances
Closes #19558
2017-05-06 21:43:32 +02:00
funjoker
0c3c5dd0e1 Core/Player: Fix Scene blackscreen (#19473)
* Move Flags from DBCEnums.h to SceneMgr.h (nothing to do with any DB2)
* Send SMSG_CANCEL_SCENE if scene ends (canceled or completed)
2017-05-06 13:28:03 +02:00
joschiwald
2abfaecf0c Core/SAI: Fixed memory leak 2017-05-06 12:27:45 +02:00
Arog
f2becced5a Core/Conditions: CONDITION_QUEST_OBJECTIVE_COMPLETE (#19510)
* Ignore QUEST_OBJECTIVE_FLAG_OPTIONAL from quest_completion
2017-05-05 22:23:45 +02:00
joschiwald
036f67c0c1 Core/Collision: Replaced phasemask with proper phases in GameObject collision calculation 2017-05-05 21:22:58 +02:00
joschiwald
c1cc0e9949 Core/Misc: Added Creature::CanGiveExperience helper function 2017-05-05 14:44:47 +02:00
Shauren
65190eb5e2 Core/PacketIO: Fixed structures of CMSG_AUCTION_SELL_ITEM and CMSG_AUCTION_LIST_BIDDER_ITEMS - FlushBits() should never be used by client packets, use ResetBitPos() instead
Closes #19481
2017-05-05 14:23:03 +02:00
joschiwald
272d2a29e5 Core/Entities: Tweak WorldObject::IsNeverVisible to pass the seer 2017-05-05 13:31:25 +02:00
Shauren
6c92a481a3 Core/Misc: Cleanup worldserver/bnetserver main() functions to run destructors in predictable order
* world/bnet servers will now fail to startup if listen ports are in use
* Restored "Network.OutUBuff" config option lost during boost transition
2017-05-04 20:41:22 +02:00
joschiwald
3b873add19 Core/Packets: Implemented SMSG_CANCEL_SPELL_VISUAL_KIT and SMSG_PLAY_ORPHAN_SPELL_VISUAL
* Added some helper methods for sending these packets

Closes #19486
2017-05-04 18:38:04 +02:00
Shauren
0d556dd4af Core/Chat: Fixed addon whispers and channel messages
Closes #19490
Closes #19534
2017-05-03 13:55:03 +02:00
Shauren
713783531c Core/Corpses: Misc fixes
* Updated corpse flags
* Fixed corpse guid during creation
* Properly set corpse faction
* Fixed setting weapon inventory types if transmogrified
* Fixed corpse location query response when corpse cannot be found
2017-05-01 20:20:18 +02:00
joschiwald
00f28a81af Core/Opcodes: Defined SMSG_SORT_BAGS_RESULT
Thx @Vincent-Michael
2017-05-01 18:37:13 +02:00
Shauren
eac82be155 Core/GameObjects: Updated dynamic flags
Closes #19523
2017-04-29 21:33:35 +02:00
joschiwald
037ffdf609 Fixed warning 2017-04-27 19:35:22 +02:00
Shauren
3e060fc95d Core/Players: Fixed setting a few updatefields to make client addons relying on player names/realn names behave properly
Ref #19490
2017-04-27 00:03:18 +02:00
Rochet2
adc7764d73 Core/PacketIO: Remove bad slot for mirror image packet (#19513) 2017-04-26 18:02:00 +02:00
Shauren
2f859ffd2e Core/Misc: Fixed issues found by coverity
CID 1374575, 1374574, 1374573, 1374572, 1374563, 1374556
2017-04-26 18:01:50 +02:00
tkrokli
65eefebe43 More warning fixes
- unused variables reported by clang in travis-ci
2017-04-26 10:53:38 +02:00
joschiwald
9a41e05201 Fixed warning 2017-04-25 20:16:28 +02:00