aboutsummaryrefslogtreecommitdiff
path: root/src/common/Collision/Models
AgeCommit message (Collapse)Author
2024-12-11Core/Vmaps: Minor cleanup (formatting) and documentation updates for ↵Shauren
BIH::build copy vs move choice
2024-11-28Core/Vmaps: Don't ignore model rotation when calculating liquid levelShauren
Closes #30205
2024-10-01Core/Utilities: Extend make_unique_ptr_with_deleter functionality to allow ↵Shauren
it to create deleters with compile time constant functions (reduces its size to just sizeof(void*))
2024-07-17Added missing GameObjectModel::iLosBlockingDisabled initialization in ↵Shauren
constructor
2024-07-17Core/GameObject: Implemented NotLOSBlocking door propertyShauren
2024-07-06Core/Vmaps: Fixed use after free and deadlocks when loading a model file failsShauren
2024-07-05Core/Vmaps: Optimize loading vmapsShauren
* Changed spawn id to BIH tree index mapping from generated on load to baked in tile files * Remove map holding model load counts and moved that to ModelInstance instead
2024-07-05Core/Vmaps: Minor cleanup in vmap4assembler - use unique_ptr to manage file ↵Shauren
handles
2024-07-04Core/Vmaps: Replace manual reference counting with shared_ptr and slightly ↵Shauren
reduce memory use by deduplicating model name strings
2024-03-25Core/vmaps: Improved WMO detection for group models that don't have floorShauren
2024-03-07Core/vmaps: Removed vmap lookup functions duplicating functionality of each ↵Shauren
other
2024-03-06Tools/vmap_extractor: Move information about model type from spawns in vmap ↵Shauren
tiles to model file itself
2024-03-06Tools/mmaps_generator: Added const on some functions interfacing with vmapsShauren
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2022-12-30Core/Vmaps: Fix inconsistency of hitInstance and hitModel to cause wrong ↵ModoX
area ids (#28632) Closes #28326 Co-authored-by: Gosha <284210+Lordron@users.noreply.github.com>
2022-12-20Core/vmaps: Stop worldserver startup when gameobject models cannot be loadedShauren
2022-05-22Core/GameObjects: Use all axis rotations for gameobject model collision, not ↵Shauren
just orientation
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-02-04Core/Misc: Fix issues reported by static analysis (#25351)Giacomo Pozzoni
* Core/Misc: Fix issues reported by static analysis * Core/Vmaps: Code cleanup after e77716188861d4aa83b227a90e04a66b63baeb1f (cherry picked from commit cfc8f7b442a9dba07b198fcebe2c02ab89cf0a8b)
2021-09-25Core/Maps: Adjusted logic in GetFullTerrainStatusForPosition to closer match ↵Shauren
what the client does regarding being inside WMOs Closes #21625 Closes #21624 Closes #21516 (cherry picked from commit b9c6bbb51df0ed10f74617482740fedb91ff5366)
2021-04-25Core/Vmaps: Reduce memory used by vmaps, part 2Shauren
2021-04-25Core/Vmaps: Reduce memory used by vmaps (and their size, slightly)Shauren
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-07-16[3.3.5] Get zone/area IDs from vmap data in the liquid update (#19840)Treeston
* 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. Closes #16489 (cherry picked from commit f6c849729b27b77228704b595de3adaf24da2c10)
2020-06-28Core/Collision: Port new parts for retrieving area/liquid data from ↵Shauren
gameobjects added when porting 42f9deb21ec68e169f7ed1c8cf14092f144b22da to 3.3.5
2020-01-02New YearAokromes
2019-02-16Core/Misc: Fix static analysis issuesShauren
Fix static analysis issues reported by Coverity
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-12-09Core/Collision: fix no-PCH buildariel-
(cherry-picked from 65b6202bd81856ab836af7bc6acf96f12f9e81aa)
2018-12-09Core/Vmaps: Stop M2s from occluding for spellcast LoSHelloKitty
Closes #18528 (cherry-picked from 01d715eaef99e91f0959dc85fb7f69eb26d01a22)
2018-04-27Core/VMAPS: Fixed vmaps in single WMO instances like ragefire chasmShauren
* 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) Closes #21879
2018-04-08Core/GameObjects: Skip gameobjects with M2 models when searching for area ↵Shauren
info (perf optimization, they dont have any area info)
2018-04-07Add missing fcloseShauren
2018-04-07Tools:Shauren
* mapextractor - fixed fatigue in Thousand Needles * mapextractor - fixed compressing liquid data * vmapextractor - fixed extracting liquids inside WMOs * vmapextractor - implemented new WMO flags * vmapextractor - store model type for gameobject models * mmap_generator - fixed processing liquids broken in e5d23103f37c40d2e946fa0e2db66d2f527ad9af
2018-04-02Core/Misc: Removed obsolete NO_CORE_FUNCSShauren
2018-03-29Fix non-PCH build.Gacko
2018-03-28Core/Maps: Implemented getting area id from gameobject spawnsShauren
Yes, you can now spawn LK platform anywhere and it will treat you as inside Icecrown Citadel
2018-03-25Core/VMaps: Implement loading phased tilesShauren
Closes #15163
2018-03-25Core/Entities: Phasing rewriteShauren
* Optimized phase visibility checking * Handle all phase flags Closes #16758 Closes #21119
2018-01-28Core/Misc: Fixed new-delete-type-mismatch issue reported by AddressSanitizerjoschiwald
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-05-05Fixed warningjoschiwald
2017-05-05Core/Collision: Replaced phasemask with proper phases in GameObject ↵joschiwald
collision calculation
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-08-03Common/Maps: Reduce differences between 3.3.5 and 6.x branchesjackpoz
Partially port 1347d7cf7a8656f3db9d8b2f6e6d955e1fa8c129 too
2016-03-24Core/Common: Converted the common library to a shared library.Naios
* There is still the possibility to static link against common.
2016-03-11Core/Common: Move singleton instances into compilation unitsNaios
* Fixes issues when building shared libraries (prevents gcc and clang from providing several instance)
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-10-17Warning fixesShauren