Commit Graph
74 Commits
Author SHA1 Message Date
Ovahlord f1c54a4529 Core/VMAPS: Fixed vmaps in single WMO instances like ragefire chasm (ported commit: 24d30dab84f93a200ad3acad6302327379f5031c)
* Fixed some models not always being spawned because they only appear in one tile file but are large enough to cross tile boundaries (lava in Firelands at Ragnaros place)
2018-04-27 22:55:21 +02:00
Ovahlord fbcb423f60 Tools: merged Master tools updates 2018-04-24 18:45:23 +02:00
Ovahlord 9c3f274491 Revert tools changes 2018-04-08 14:59:53 +02:00
Ovahlord 459bfdbddc Tools:
*ported master commits:
2c64bb97e6fddcbd15ef39fde3d0828bbf600ec6
a71d4b70ff8329878967652b131ce811ad699aa6
cfa948193c7fcdc8d2acacf7594fcb0a891516c3
2018-04-08 09:46:14 +02:00
Ovahlord 98a7ccfab5 Tools/Mapextractor: Implemented liquid object detection
* Core/Vmaps: reverted position and liquid data update function from 3.3.5 and restored master handling in order to fix conflicts between the new phasing and liquid object handlings
2018-03-29 21:41:58 +02:00
ariel- 5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Ovah 3de2e68245 Updated Phasing with latest master differences 2018-03-13 12:30:56 +00:00
Ovah 60afe858e8 MMaps phasing 2018-03-12 18:19:19 +00:00
Ovahlord 27652214b5 Core/Phasing: Rewrite GetTerrainMapId *updated phasing with latest changes 2018-03-10 16:10:48 +01:00
Ovahlord fe4f86b1bc Core/VMaps: fixed build, vmaps extraction and some copy paste fails 2018-03-09 22:21:28 +01:00
Ovahlord 4bbdce57e2 Core/VMaps: Implement loading phased tiles 2018-03-09 18:05:47 +01:00
Ovahlord e44bb5f387 Core/Entities: Phase Rework (main commit) 2018-03-08 22:58:50 +01:00
Aokromes c33ff02c34 Core/MMaps: Remove phased tile support
* Extremely slow
* Needs to be implemented partially in tools
* Conflicts with upcoming phasing rewrite
2018-03-06 00:22:05 +01:00
Shauren 523a2dccdc Revert "Collision/MMap: Fix a memleak reported by valgrind"
This reverts commit 32e8b6506fc064fdba134d692dfe99298e43f055.
2018-03-06 00:02:33 +01:00
Aokromes cbf7a27478 Revert "Core/MMaps: Fix crash introduced in commit 32e8b65 (#17447)"
This reverts commit f293994.
2018-03-06 00:01:52 +01:00
jackpoz 5a61b3ce5e Core/Misc: Fix static analysis issues 2018-01-01 15:50:42 +01:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Aokromes a18293833e Misc: More cleanup 2017-11-25 03:02:18 +01:00
Aokromes b93430ee08 Misc: More cleanup 2017-11-25 02:25:18 +01:00
Aokromes 91affef0c6 Misc: Kill trailing white spaces 2017-11-25 01:36:21 +01:00
Aokromes 13a3531698 Core/VMaps: Fix no collision triangles
vmaps extraction required
2017-11-22 17:27:04 +01:00
jackpoz c62b81dd8b Dep/Recast: Update recastnavigation to recastnavigation/recastnavigation@2c85309 2017-11-19 18:03:17 +01:00
Aokromes 5b2b8ae9d1 Core/Misc: make clang 6.0 happy 2017-10-28 17:12:58 +02:00
Shauren 3f5f58ec6a Build fix 2017-07-29 15:23:08 +02:00
jackpoz 3410edfdae Core/Misc: Fix static analysis issues 2017-07-17 18:51:56 +02:00
Aokromes c6a1ea7c32 Tools: Automatically create directories for tools 2017-07-17 10:26:41 +02:00
Aokromes 8b6261c809 Core/Misc: Fix static analysis issues 2017-07-16 19:05:26 +02:00
ariel- 987f0bda82 Core/Vmaps: build fix mk II 2017-06-09 13:30:07 +02:00
ariel- 3914ace3ba Core/Vmaps: build fix 2017-06-09 13:30:01 +02:00
Shauren 39356deeb9 Core/Vmaps: Fixed getting map height near large gameobjects like LK platform
Updates #19865
2017-06-09 13:29:41 +02:00
Aokromes f8d9d954d1 Get zone/area IDs from vmap data in the liquid update
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
* Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject
* Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields
* Clean up liquid state handling on Unit and Player
* Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject.
2017-06-09 13:20:37 +02:00
Golrag 3afbcbc0e4 Core/VMaps: Fix LoS in Strand of the Ancients (#19847)
Core/Collision: Fixed MOPY chunk flags enum.

Also avoid loading destructible WMOs into vmaps.

VMap re-extraction is required.

Closes #15798.
2017-06-06 08:44:49 +02:00
Aokromes 06168fb412 Implement real time statistic visualization 2017-05-26 14:47:59 +02:00
Aokromes fc20b6934b build fix 2017-05-06 02:38:01 +02:00
Aokromes 0fbcdca05e Core/Collision: Replaced phasemask with proper phases in GameObject c…
…ollision calculation
2017-05-06 01:55:17 +02:00
jackpoz 1664c1bd2e Core/Misc: Fix static analysis issues 2017-04-26 05:09:44 +02:00
jackpoz 53939cd14e Core/Misc: Fix static analysis issues 2017-04-09 18:17:51 +02:00
Aokromes 00622f0ad9 Core/Misc: Fix static analysis issues 2017-02-17 09:30:02 +01:00
Shauren dc2deb8602 Core/Vmaps: Changed error message when loading outdated vmaps
Closes #18431
Closes #18857
2017-01-23 00:17:17 +01:00
Shauren bbcd694155 Fix static analysis issues
CID 1291964
CID 1292775

(cherry picked from commit 6767bbc95f46df4b62c8131a39a132d3f9bb8a26)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/Spells/SpellInfo.cpp
2017-01-23 00:15:36 +01:00
ariel- 4edbb2d633 Core/Collision: fix no-PCH build 2017-01-21 18:46:40 +01:00
HelloKitty 927a73a7ef Core/Vmaps: Stop M2s from occluding for spellcast LoS
Closes #18528
2017-01-21 14:45:30 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
zori 15a1e26d99 Correct Nav type for WMO objects (#18364)
* Tools/MMaps: Correct liquid type for WMO objects

* MMaps: Update version to 6
2016-12-06 11:10:13 +01:00
ariel- bea6bbb321 Core/Maps: bumping Vmap version after 2402f476424531a175d9a016f433321f00608501
Re-extracting vmaps is required
2016-12-06 11:09:39 +01:00
Aokromes f4a3d112a2 Fix typo in VMap BIH generation (#18297)
Fix typo in VMap BIH generation
By zorix
2016-12-06 11:03:08 +01:00
jackpoz e6c7894be1 Tools/MMapGenerator: Avoid saving uninitialized padding bytes to disk
Initialize padding bytes in MmapTileHeader struct to avoid saving uninitialized data to disk, causing issues when binary-comparing *.mmtile files.
2016-08-18 09:35:04 +02:00
Aokromes e201c034c7 Core/Common: Converted the common library to a shared library.
* There is still the possibility to static link against common.
2016-08-12 11:58:18 +02:00
Aokromes 384a5216fd Core/Common: Converted the common library to a shared library.
* There is still the possibility to static link against common.
2016-08-10 08:19:25 +02:00
jackpoz 3c66feafcc Common/Maps: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-03 22:39:59 +02:00