Commit Graph
100 Commits
Author SHA1 Message Date
Peter Keresztes Schmidt 3499f518b5 EventMap: Remove GetNextEventTime and GetTimer methods (PR #25092)
(cherry picked from commit 6ab9922171cf6e2877c39f503bcf987dd9faa898)
2022-01-23 22:20:20 +01:00
Carbenium 330e7100cb Core/Scripts: Fix timing issue of EVENT_FLY_TO_RANDOM_PILLAR during Illidan encounter
The intention here is to add additional 30 seconds of delay to the current delay of EVENT_FLY_TO_RANDOM_PILLAR.
Instead of EventMap::GetNextEventTime, EventMap::GetTimeUntilEvent has to be used which returns the currently
scheduled delay until the event occurs.
EventMap::GetNextEventTime instead exposes the timer value internal to EventMap at which the event should occur.

(cherry picked from commit f1f251eb381bccc9164e29a81da9e013090543a4)
2022-01-23 22:19:24 +01:00
Carbenium c8a4cc8068 TaskScheduler: use randtime instead of custom implementation
(cherry picked from commit f773bf68e0f96a97b706f366da4071ba28060b04)
2022-01-23 22:18:14 +01:00
Peter Keresztes Schmidt 44ea32ace4 Build: Enable -Wimplicit-fallthrough on clang (#25056)
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs

Related: #25006

* Misc: Add some missing breaks (no-ops) to satisfy clang

Related: #25006
Closes #25055

* Build: Enable -Wimplicit-fallthrough on clang

Closes #25006
2022-01-23 22:16:15 +01:00
Peter Keresztes Schmidt ad340466d0 Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs (#25054)
Related: #25006
(cherry picked from commit 85b5b842ca6c05d4e51081e6c3282940a80f3761)
2022-01-23 22:02:03 +01:00
Peter Keresztes Schmidt dfc1f08bd8 Misc: Remove some unneeded/duplicated includes (#25051)
(cherry picked from commit ddf16ae4d9eff6e849618bb6c5a00603f26daa93)
2022-01-23 20:48:12 +01:00
Peter Keresztes Schmidt 770fbcca0c Core/Misc: Replace boost::optional with std::optional (#25047)
C++17 is already mandatory, so it's a safe thing to do

(cherry picked from commit 202fd41389973322f63186fd8e5a368fce3e1b04)
2022-01-23 18:05:59 +01:00
Peter Keresztes Schmidt cd86a015c4 Core/Util: Remove EventMap's non-std::chrono::duration based interface (#25049)
Closes #25012

(cherry picked from commit ce1e2c0f9b4f80e1fa5c448ee12fec43204a3634)
2022-01-23 16:39:31 +01:00
Peter Keresztes Schmidt 54d3110ca7 Scripts/World+Pet: Use std::chrono::duration overloads of EventMap (#25017)
Contributes to #25012

(cherry picked from commit 0072fa922db1642d720c545ccc2ac095c140f0ca)
2022-01-23 16:02:35 +01:00
Peter Keresztes Schmidt ce8c0da4fe Scripts/Icecrown Citadel: Use std::chrono::duration overloads of EventMap (Part 2) (#25041)
Part 2: gunship battle and Sindragosa

Contributes to https://github.com/TrinityCore/TrinityCore/issues/25012

(cherry picked from commit 6968e7a1a1d638cc43409e7ab5e96f2e4854fe69)
2022-01-23 16:02:25 +01:00
Peter Keresztes Schmidt 0195ec8945 Scripts/Icecrown Citadel: Use std::chrono::duration overloads of EventMap (#25036)
Part 1: without gunship battle and Sindragosa

Contributes to #25012

(cherry picked from commit 5eaff8a3bcc4a81ca27e19418f0c508966ad3c7f)
2022-01-23 16:02:00 +01:00
Peter Keresztes Schmidt 253cbf5678 Scripts/Tempest Keep: Use std::chrono::duration overloads of EventMap (#25040)
Contributes to #25012

(cherry picked from commit 2d9c5979a6a6d9244f557ff5653694ce5b8f19a4)
2022-01-23 16:01:09 +01:00
Peter Keresztes Schmidt c3228cc252 Scripts/Utgarde Keep: Use std::chrono::duration overloads of EventMap (#25039)
Contributes to #25012

(cherry picked from commit f00ab389d60cd5c8ba44ec8c6a49369c70a95d8b)
2022-01-23 16:00:59 +01:00
Peter Keresztes Schmidt 8e7c368220 Scripts/Magisters Terrace: Use std::chrono::duration overloads of EventMap (#25038)
Contributes to #25012

(cherry picked from commit 88314660b66637982d629b786630af0dc0323eab)
2022-01-23 16:00:43 +01:00
Peter Keresztes Schmidt d62b7c1e35 Core/CombatAI: Use std::chrono::duration overloads of EventMap (#25037)
Contributes to #25012

(cherry picked from commit bd837d4c3dc61e7817ccb14071108e97db86f1f5)
2022-01-23 16:00:27 +01:00
Peter Keresztes Schmidt b27c70aff2 Scripts/Ulduar: Use std::chrono::duration overloads of EventMap (#25035)
Contributes to #25012

(cherry picked from commit d4bce9f4d2d6059740e5bcc146ffa8d98f715d6f)
2022-01-23 15:49:50 +01:00
Peter Keresztes Schmidt b7d5a1653d Scripts/Nexus: Use std::chrono::duration overloads of EventMap (#25033)
Contributes to #25012

(cherry picked from commit 2f538258d9e2e1162766efaee8cb61eeae4f921e)
2022-01-23 15:49:27 +01:00
Peter Keresztes Schmidt ef5f874cea Scripts/Naxxramas: Use std::chrono::duration overloads of EventMap (#25032)
Contributes to #25012

(cherry picked from commit 6eec0bc50f40892275934ae91d410b63ecbe2dfd)
2022-01-23 15:49:09 +01:00
Peter Keresztes Schmidt 65e1b79547 Scripts/Isle of Conquest: Use std::chrono::duration overloads of EventMap (#25031)
Contributes to #25012

(cherry picked from commit 1a32b0f5b3c64bad4f379a45e5e7b07f00fe774e)
2022-01-23 15:49:01 +01:00
Peter Keresztes Schmidt 3d9885a302 Scripts/Gundrak: Use std::chrono::duration overloads of EventMap (#25030)
Contributes to #25012

(cherry picked from commit 3a9b3259b8eb2f35af29135fd9c9c0c44e3e47d2)
2022-01-23 15:48:52 +01:00
Peter Keresztes Schmidt e6e4edd768 Scripts/Frozen Halls: Use std::chrono::duration overloads of EventMap (#25029)
Contributes to #25012

(cherry picked from commit 19ee4d6254370de3f174718a72e5055aa28b6102)
2022-01-23 15:48:41 +01:00
Peter Keresztes Schmidt 0c6b6acda6 Scripts/Drak'Tharon Keep: Use std::chrono::duration overloads of EventMap (#25028)
Contributes to #25012

(cherry picked from commit 65e01053a8dfa713c5ffebe6702d85a3577a9790)
2022-01-23 15:48:25 +01:00
Peter Keresztes Schmidt cd65f988bd Scripts/Chamber of Aspects: Use std::chrono::duration overloads of EventMap (#25027)
Contributes to #25012

(cherry picked from commit 42102871a78e4424ee18c243600327f5e1d84945)
2022-01-23 15:48:17 +01:00
Peter Keresztes Schmidt 5507aa2f5e Scripts/Coilfang Reservoir: Use std::chrono::duration overloads of EventMap (#25025)
Contributes to #25012

(cherry picked from commit 5ed6c6a5c348d601c6f144ca2b0df3e297dd2a69)
2022-01-23 15:48:08 +01:00
Peter Keresztes Schmidt 7f948a3e23 Scripts/Hellfire Citadel: Use std::chrono::duration overloads of EventMap (#25024)
Contributes to #25012

(cherry picked from commit d00c95f26f835e681bcadbb68a2476408948d64a)
2022-01-23 15:47:58 +01:00
Peter Keresztes Schmidt 7b766f45b0 Scripts/Azjol-Nerub: Use std::chrono::duration overloads of EventMap (#25026)
Contributes to #25012

(cherry picked from commit 1c3187e596e1d0d483b9ff7d2794ace017c16963)
2022-01-23 15:47:50 +01:00
Peter Keresztes Schmidt 5c3b3d2225 Scripts/Auchindoun: Use std::chrono::duration overloads of EventMap (#25023)
Contributes to #25012

(cherry picked from commit 4ad80434a2efa046c4f4954221832714225b801d)
2022-01-23 15:47:16 +01:00
Peter Keresztes Schmidt 1a53ac17c8 Scripts/Outland: Use std::chrono::duration overloads of EventMap (#25022)
Contributes to #25012

(cherry picked from commit 39fc17e284bf2082d3b5a0c50dfd9e6cde64b582)
2022-01-23 15:47:00 +01:00
Peter Keresztes Schmidt 5086f1bfdc Scripts/Northrend: Use std::chrono::duration overloads of EventMap (#25021)
Contributes to #25012

(cherry picked from commit 29779db58b19384518706299e6e48be0d04eac65)
2022-01-23 15:46:37 +01:00
Peter Keresztes Schmidt c56f99a1d4 Scripts/Trial of the Crusader: Use std::chrono::duration overloads of EventMap (#25020)
Contributes to #25012

(cherry picked from commit a2b2dc7ad0b22bf0f89dfc26dd7eb33fe7bcacfb)
2022-01-23 15:41:42 +01:00
Peter Keresztes Schmidt 111521d3c9 Scripts/EasternKingdoms: Use std::chrono::duration overloads of EventMap (#25019)
Contributes to #25012

(cherry picked from commit 5ef576d223db0ac019bd803a07976cdc549a26ac)
2022-01-23 15:41:30 +01:00
Peter Keresztes Schmidt 41dab047ed Scripts/Blackrock Mountain: Use std::chrono::duration overloads of EventMap (#25018)
Contributes to #25012

(cherry picked from commit ac27c922d1ac0cbae98e98a3f560484dece75604)
2022-01-23 15:39:28 +01:00
Peter Keresztes Schmidt 8fb60c4d19 Scripts/Kalimdor: Use std::chrono::duration overloads of EventMap (#25016)
Contributes to #25012

(cherry picked from commit 90d5e7e1e82f1f196fb78844f7cad81fc228877c)
2022-01-23 15:38:35 +01:00
Peter Keresztes Schmidt c76f6e0879 Core/Battlegrounds: Use std::chrono::duration overloads of EventMap (#25015)
Contributes to #25012

(cherry picked from commit e372f9badb252f67abc29236e715bcce7fe1155d)
2022-01-23 15:36:37 +01:00
Peter Keresztes Schmidt 365ae6ff25 Fix some compiler warnings reported by GCC (#25007)
* Core/AI: Remove unneeded null checks

GetMap() can never return NULL.

Fixes additionally -Wunused-variable warnings
reported by GCC.

* Core/GameObject: Fix a -Wunused-variable warning reported by GCC

* Core/Player: Fix a -Wunused-variable warning reported by GCC

* Scritps/CavernsOfTime: Fix -Wimplicit-fallthrough warnings reported by GCC

* Scritps/CavernsOfTime: Fix a -Wmaybe-uninitialized warning reported by GCC

Warning:

/home/peterke/DEV/TrinityCore/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp: In member function ‘virtual void npc_arthas_stratholme::npc_arthas_stratholmeAI::UpdateAI(uint32)’:
/home/peterke/DEV/TrinityCore/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp:1119:58: warning: ‘emote’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1119 |                                 (*it)->HandleEmoteCommand(emote);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~

* Scritps/PitOfSaron: Fix -Wunused-variable warnings reported by GCC

* Scritps/EyeOfEternity: Fix a -Wclass-memaccess warning reported by GCC

Warning:

/home/peterke/DEV/TrinityCore/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp: In member function ‘virtual void boss_malygos::boss_malygosAI::UpdateAI(uint32)’:
/home/peterke/DEV/TrinityCore/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp:950:81: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ObjectGuid’; use assignment or value-initialization instead [-Wclass-memaccess]
  950 |                             memset(_surgeTargetGUID, 0, sizeof(_surgeTargetGUID));
      |

* Scritps/CoilfangReservoir: Fix a -Wclass-memaccess warning reported by GCC

Warning:

/home/peterke/DEV/TrinityCore/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp: In member function ‘void boss_leotheras_the_blind::boss_leotheras_the_blindAI::Initialize()’:
/home/peterke/DEV/TrinityCore/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp:220:55: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class ObjectGuid’; use assignment or value-initialization instead [-Wclass-memaccess]
  220 |             memset(InnderDemon, 0, sizeof(InnderDemon));
      |                                                       ^

* Scritps/Naxx: Fix a -Wimplicit-fallthrough warning reported by GCC

For discussion see https://github.com/TrinityCore/TrinityCore/pull/25007

(cherry picked from commit 10be49bdfe6bd1f4d8e0eaf3a1b4354c5a57a2a9)
2022-01-23 00:16:31 +01:00
Peter Keresztes Schmidt 1e1679a1f7 Core/DataStores: Port refactors from Update DBC field names to generated ones (#24999)
(cherry picked from commit c92950b3e1f6366d85d707365a8ad2caddafeecc)
2022-01-23 00:06:16 +01:00
Carbenium 366a514462 Core/Battlefield: Move SendInitWorldStatesTo to Battlefield class
(cherry picked from commit 488b91ab8307e2d84cc010be488aad693dba34c8)
2022-01-07 00:25:36 +01:00
Carbenium 81a3c135a7 Scripts/Battlefield: Move npc_wg_give_promotion_credit script to BattlefieldWG
The script references BattlefieldWG, which is not exported in dynamic builds.
Move the script, so it is in the same library.

(cherry picked from commit c40b897d369cf45696ca626fdf48bf51226a73a8)
2022-01-07 00:22:38 +01:00
Carbenium 49523a74a4 Battlefields: Move BF scripts out of game
This commit introduces the usual script interface
for battlefields.

(cherry picked from commit f7faf20254a120a90b8ee8eb55a284a6351aabc3)
2022-01-07 00:20:57 +01:00
Carbenium ca62d93481 Core/Misc: Move WorldState enum to SharedDefines
Move WG battlefield world states to the global enum

(cherry picked from commit 22c12e7123d76ea584ea8542be3feea57069e997)
2022-01-06 23:50:34 +01:00
Carbenium 60b48ad046 Core/Misc: Create new enum for AreaIds
Move Wintergrasp BF related values there

(cherry picked from commit 6a8c12587eef47722f6c845f477e0ca66e9ccd1e)
2022-01-06 23:42:15 +01:00
Peter Keresztes Schmidt c4098897a8 game/AI: Convert SelectAggroTarget to enum class (#24818)
* game/AI: Convert SelectAggroTarget to enum class

* game/AI: Rename SelectAggroTarget to SelectTargetMethod

(cherry picked from commit 418c3b1fd50664aad035bd975a65281e82ba2dea)
2022-01-06 21:53:27 +01:00
Carbenium 4e44bc6ea2 Core: Fix non-PCH build
(cherry picked from commit 45cb8c90e925580be41393e7647067d27a3e75c7)
2020-08-23 17:57:07 +02:00
Carbenium 692ec8e7c1 Core/SAI: Apply include cleanups to cherry-picked changes 2020-07-16 22:00:30 +02:00
Carbenium f27b7ba285 Core/Player: Reserve TELE_TO_TRANSPORT_TELEPORT used in 3.3.5 2020-07-16 21:47:27 +02:00
Carbenium 9969d6e194 Fix non-PCH build
(cherry picked from commit 05025d79f3cb34fa135cb820badeef32883f7eb4)
2020-06-24 14:35:10 +02:00
Peter Keresztes Schmidt bab5fd87a3 Core/Misc: Replace Trinity::make_unique with std (#24869) 2020-06-23 08:54:12 +02:00
Carbenium f387673aa3 CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0 2020-06-16 09:29:31 +02:00
Carbenium 18ad767226 CMake: Remove guards around CMP0043 and CMP0054
We require CMake >= 3.8 which includes the policies.
CMP0043 OLD behaviour is still required by cotire.
2020-06-16 09:29:31 +02:00
Carbenium abff505a6e common: Add a missing include guard 2020-06-15 00:22:12 +02:00
Carbenium 1258800add Core/Entities: Add a missing include 2020-06-14 14:08:24 +02:00
Carbenium c6bc131b36 Add cmake-build-* directories to .gitignore since these are the default build locations for CLion 2016-11-30 21:29:10 +01:00
Carbenium 060256000b Tools/Mapextractor: Fix a vector subscript out of range debug assertion 2016-07-26 01:14:16 +02:00
Carbenium 73779d09e9 Add CLion files to gitignore 2016-06-21 21:13:32 +02:00
Carbenium d8d594d2bd IssueTemplate: Fix some engrish
Thanks tkrokli for the suggestion
2016-05-18 21:18:37 +02:00
Carbenium 2e3686b7e7 Core/Util: Add a missing include
(cherry picked from commit 1038df8d5b522e1e959528c3b7c17c01a88e7759)
2016-04-02 14:33:25 +02:00
Carbenium 541c125c2c Codestyle 2016-02-11 00:56:39 +01:00
Carbenium bf186ec26d Core/PacketIO: Updated and enabled SMSG_FISH_ESCAPED 2016-02-11 00:24:33 +01:00
Carbenium 0113b0f625 Core/PacketIO: Updated and enabled SMSG_FISH_NOT_HOOKED 2016-02-10 15:34:38 +01:00
Carbenium f8de1ab354 Core/PacketIO: Updated and enabled SMSG_CHAT_RESTRICTED 2016-02-10 00:01:45 +01:00
Carbenium b9f1dffa14 Core/PacketIO: Updated and enabled SMSG_CHAT_PLAYER_AMBIGUOUS 2016-02-08 22:34:20 +01:00
Carbenium f5ccb7b474 Core/PacketIO: Updated and enabled SMSG_SET_PLAYER_DECLINED_NAMES_RESULT 2016-02-07 21:02:35 +01:00
Carbenium 3bdde71a97 Core/PacketIO: Updated and enabled SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION 2016-02-06 23:05:55 +01:00
Carbenium d3c556bc40 Core/PacketIO: Enable SMSG_SPELL_MISS_LOG and SMSG_UPDATE_LAST_INSTANCE 2016-02-05 01:18:55 +01:00
Carbenium 8e8f51848c Core/PacketIO: Enable SMSG_GM_TICKET_SYSTEM_STATUS, SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA, SMSG_PLAY_SCENE and SMSG_QUERY_ITEM_TEXT_RESPONSE 2016-02-05 01:04:59 +01:00
Carbenium 75598953fb Core/PacketIO: Enable SMSG_CORPSE_TRANSPORT_QUERY 2016-02-05 00:47:58 +01:00
Carbenium f1685b97d9 Core/PacketIO: Enable SMSG_AREA_TRIGGER_NO_CORPSE 2016-02-04 01:33:05 +01:00
Carbenium b0d8357d14 Warning fix 2016-02-04 01:11:37 +01:00
Carbenium 93b552685b Core/PacketIO: Updated CMSG_WARDEN_DATA
Note: No packet handling changes made whatsoever.

...and ninja-fix a missing break from previous commit.
2016-02-03 23:28:54 +01:00
Carbenium 15bfabaa0a Core/PacketIO: Updated CMSG_COMPLAINT 2016-02-03 22:53:48 +01:00
Carbenium ff9ac9f9b0 Core/PacketIO: Use Vector3 instead of Position since orientation isn't included (MissileTrajectoryCollision and UpdateMissileTrajectory) 2016-02-03 17:14:15 +01:00
Carbenium ca967f4374 Core/PacketIO: Updated CMSG_VOICE_SESSION_ENABLE and CMSG_SET_ACTIVE_VOICE_CHANNEL for further usage 2016-02-03 16:47:24 +01:00
Carbenium 6715a91907 Core/PacketIO: Updated and enabled CMSG_UPDATE_MISSILE_TRAJECTORY 2016-02-03 15:10:58 +01:00
Carbenium f269335bb2 Core/PacketIO: 305b99e065 follow-up 2016-02-03 01:48:02 +01:00
Carbenium 305b99e065 Core/PacketIO: Updated and enabled CMSG_MISSILE_TRAJECTORY_COLLISION 2016-02-03 01:25:25 +01:00
Carbenium 3fa86e7931 Core/PacketIO: Updated and enabled CMSG_SET_TAXI_BENCHMARK_MODE 2016-02-03 00:20:07 +01:00
Carbenium 3ea1cfc4d0 Core/PacketIO: Updated and enabled CMSG_SET_PLAYER_DECLINED_NAMES 2016-02-02 23:19:37 +01:00
Carbenium aa5c947555 Core/PacketIO: Updated and enabled CMSG_SET_PARTY_ASSIGNMENT 2016-02-02 20:55:48 +01:00
Carbenium 20a6b54bb6 Core/PacketIO: Updated and enabled CMSG_REQUEST_STABLED_PETS 2016-02-02 20:10:33 +01:00
Carbenium a130300b86 Core/PacketIO: Updated and enabled CMSG_REQUEST_RATED_BATTLEFIELD_INFO 2016-02-02 19:51:19 +01:00
Carbenium 46addc21cd Core/PacketIO: Updated and enabled CMSG_REQUEST_PVP_REWARDS 2016-02-02 18:30:34 +01:00
Carbenium fd162fb604 Core/PacketIO: Add CMSG_REQUEST_PET_INFO packet class for further usage 2016-02-02 18:04:36 +01:00
Carbenium ea3cfa9146 Core/PacketIO: Initialize some vars 2016-02-02 17:30:19 +01:00
Carbenium 229322d4d8 Core/PacketIO: Updated and enabled CMSG_PUSH_QUEST_TO_PARTY 2016-02-02 17:18:47 +01:00
Carbenium 1f8268c89c Core/PacketIO: Updated and enabled CMSG_PET_SPELL_AUTOCAST 2016-02-02 16:38:36 +01:00
Carbenium dea718e4ed Core/PacketIO: Updated and enabled CMSG_PET_STOP_ATTACK 2016-02-02 01:56:51 +01:00
Carbenium 5b313bf74d Core/PacketIO: Updated and enabled CMSG_PET_CANCEL_AURA 2016-02-02 01:38:29 +01:00
Carbenium 0b76381283 Core/PacketIO: Updated and enabled CMSG_PET_ABANDON 2016-02-02 01:18:27 +01:00
Carbenium 391992ed80 Core/PacketIO: Updated and enabled CMSG_ITEM_PURCHASE_REFUND 2016-02-02 01:06:44 +01:00
Carbenium 6fbfc61de1 Core/PacketIO: Updated and enabled CMSG_DISMISS_CRITTER 2016-02-01 20:14:10 +01:00
Carbenium 3ec79c96c3 Merge pull request #16428 from Carbenium/mmap-memleak
Collision/MMap: Fix a memleak reported by valgrind
2016-01-30 20:44:49 +01:00
Carbenium 32e8b6506f Collision/MMap: Fix a memleak reported by valgrind
Tiles which are owned by the mesh should have the DT_TILE_FREE_DATA flag to ensure
deallocation on removal from the mesh.

Log:
==23516== 6,181,976 bytes in 6 blocks are definitely lost in loss record 15 of 15
==23516==    at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
==23516==    by 0x2052660: dtCustomAlloc(int, dtAllocHint) (Memory.h:11)
==23516==    by 0x29D7FDA: dtAlloc(int, dtAllocHint) (DetourAlloc.cpp:43)
==23516==    by 0x230AA70: MMAP::MMapManager::loadMap(std::string const&, unsigned int, int, int) (MMapManager.cpp:166)
==23516==    by 0x1DD585B: Map::LoadMMap(int, int) (Map.cpp:125)
==23516==    by 0x1DD7266: Map::LoadMapAndVMap(int, int) (Map.cpp:200)
==23516==    by 0x1DD93C6: Map::EnsureGridCreated_i(CoordPair<64u> const&) (Map.cpp:453)
==23516==    by 0x1DD9129: Map::EnsureGridCreated(CoordPair<64u> const&) (Map.cpp:429)
==23516==    by 0x1DED100: Map::GetGrid(float, float) (Map.cpp:2200)
==23516==    by 0x1DE0F4C: Map::GetAreaFlag(float, float, float, bool*) const (Map.cpp:2349)
==23516==    by 0x198521B: Map::GetZoneId(float, float, float) const (Map.h:353)
==23516==    by 0x197CFF0: WorldObject::GetZoneId() const (Object.cpp:1277)

Phase tiles aren't managed by detour so they shouldn't be free'd automatically on removal.
See MMapManager::UnloadPhaseTile
2016-01-30 20:40:54 +01:00
Carbenium 5918140146 DB: Add missing DELETE statement (2016_01_22_00_world) 2016-01-26 09:20:16 +01:00
Carbenium d3be63d0c8 Fix some linebreaks in 2016_01_22_00_world.sql 2016-01-22 19:37:22 +01:00
Carbenium 575d5f5ff8 Core/PacketIO: CMSG_BATTLEMASTER_JOIN_ARENA 2016-01-20 23:01:12 +01:00
Carbenium 0b0b014fad Script/Naxxramas: Fix a -Winconsistent-missing-override warning reported by clang 3.6
(cherry picked from commit f01ef901efab7f5b705948880c79eaf23061791e)
2016-01-15 19:45:24 +01:00
Carbenium c7e58e4db1 Tools/MapExtractor: Fix a warning reported by gcc 4.9
/var/lib/jenkins/jobs/tc_335_release_gcc49/workspace/src/tools/map_extractor/System.cpp:113:25: error: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Werror=unused-result]
             chdir("../");

*NO reextraction of dbcs/maps needed*
Binary compatibility is ensured

(cherry picked from commit f0c7061f0b6dbd739f98dd91ad471395343fa836)

Conflicts:
	src/tools/map_extractor/CMakeLists.txt
	src/tools/map_extractor/System.cpp
	src/tools/map_extractor/loadlib.cpp
	src/tools/map_extractor/loadlib/loadlib.h
	src/tools/map_extractor/mpq_libmpq04.h
2015-12-13 09:47:20 +01:00
Carbenium c0c4ed7135 Misc: Fix some warnings reported by GCC 4.9 2015-11-28 01:02:13 +01:00
Carbenium 823d50421b Dep/SFMT: Add diff fordd55e41c8158fe1f60e120b0b89469d4112158d2
(cherry picked from commit d4608c8168e547581319386114e70e6ac953a97a)
2015-11-26 23:54:26 +01:00
Carbenium 260005a7e7 Dep/SFMT: Fix a strict-aliasing warning reported by GCC 4.9
(cherry picked from commit dd55e41c8158fe1f60e120b0b89469d4112158d2)
2015-11-26 23:54:25 +01:00