Aokromes
ca588b2e66
Core/Spells: Implemented personal summons
...
* By default determined by summon property flag SUMMON_PROP_FLAG_PERSONAL_SPAWN
2018-04-08 21:56:55 +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
Ovahlord
89c6777803
* Core/Phasing: fixed gameobject floor detection
...
*merged a crash fix
2018-03-22 17:36:01 +01:00
Ovahlord
20d0aa0c23
Core/Maps: synch phasing with latest PR state. Fixes a instance map crash
2018-03-19 23:49:21 +01:00
Aokromes
a22175ca4f
Core/Transports: Fix warnings
2018-03-15 20:26:46 +01:00
Ovah
60afe858e8
MMaps phasing
2018-03-12 18:19:19 +00:00
Ovahlord
78793ac452
Core/Entities: use PhaseShift when processing terrain updates
2018-03-12 11:08:05 +01:00
Ovahlord
4623c411be
Core/Maps: fixed loading maps
2018-03-10 20:59:53 +01:00
Ovahlord
27652214b5
Core/Phasing: Rewrite GetTerrainMapId *updated phasing with latest changes
2018-03-10 16:10:48 +01:00
Ovahlord
b9d0ab6ed8
Core/Maps: Implemented loading swapped maps
2018-03-10 13:54:23 +01:00
Ovahlord
ce4e137889
Core/Entities: Take terrain swaps into account when calculating LoS/height/area
2018-03-09 23:45:06 +01:00
Ovahlord
e44bb5f387
Core/Entities: Phase Rework (main commit)
2018-03-08 22:58:50 +01:00
Aokromes
4bd0525edd
Update copyright note for 2018
2018-01-01 01:06:19 +01:00
Aokromes
4b48d0dfdc
Core/Misc: minor typo and codestyle fixes
2017-12-14 13:41:06 +01:00
Aokromes
2e0f2ee3fb
Core/Misc: Fix static analysis issues
2017-12-08 15:23:32 +01:00
jackpoz
52a53ea2ab
Core/Maps: Fix memory leak in BoundaryUnionBoundary
...
Add missing destructor in BoundaryUnionBoundary to avoid reporting a memory leak (even if it's used only in a global variable)
2017-11-26 12:31:36 +01:00
Aokromes
b93430ee08
Misc: More cleanup
2017-11-25 02:25:18 +01:00
Aokromes
4a0ecb7404
Fixed SCRIPT_COMMAND_TALK description, comment was matching the old behavior
2017-10-17 13:36:52 +02:00
Aokromes
86cda20261
Revert "Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time."
...
This reverts commit 6d2bfac955 .
2017-09-10 16:46:42 +02:00
Treeston
6d2bfac955
Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time.
2017-09-10 15:42:55 +02:00
Shauren
3bf8426942
Core/Maps: Fixed initializing instance free ids when compiled with WITH_COREDEBUG
...
Closes #19931
2017-06-25 14:16:04 +02:00
Aokromes
1a5c0f5c3b
Core/Grids: Ported cmangos/mangos-wotlk@ea99457
...
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00
Aokromes
9057cae219
So, I came in trying to fix gameobject LoS. So I restructured some stuff.
...
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff.
And remove the hack from Sapphiron because I could.
2017-06-11 19:02:07 +02:00
treeston
e20bc3d4bf
Added new BoundaryUnionBoundary subclass of AreaBoundary, which does what it says on the tin. Hi, sirikfoll.
2017-06-11 17:49:35 +02:00
Aokromes
ec49af7b59
Build fix
2017-06-09 14:11:36 +02:00
Aokromes
572021e0b3
Core/Maps: Corrected GetWaterOrGroundLevel
...
* When a gameobject was above water like in ToC. It would return water level
2017-06-09 13:29:18 +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
Shauren
900a2da03d
Core/Instances: Fixed and optimized instance id reuse
2017-06-06 08:00:10 +02:00
Ryan
20726edec2
Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
2017-05-19 23:49:46 +01: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
xinef1
b88200cd58
Core/Misc: Various crash fixes
2017-05-05 01:59:34 +01:00
Aokromes
adae2fec26
Ensure that all actions are compared to fixed point in time (ie. world update start)
2017-04-14 15:02:49 +02:00
ariel-
c17fa0bcc5
Core/Instance: stop updating the instance resettimes based on creature respawns
2017-04-14 13:50:13 +02:00
pete318
4d65596f0d
Only read and delete from corpse table for current map instance. Not for
...
all. Prevents assert stop upon entering an instance on second character
after first one is a corpse in the same dungeon on different instance ID.
2017-04-01 19:41:03 +01:00
ariel-
66c0c634ad
Core/AI: Build fix
...
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope
2017-04-01 07:06:53 +02:00
ariel-
d3151fed8c
Core/AI: AreaBoundary refactor
...
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same
2017-04-01 07:06:35 +02:00
sevi
d4c703a2e2
Core/Instance: implement the combat resurrection limit.
...
Cherry Pick from https://github.com/TrinityCore/TrinityCore/commit/948146f3ee890b85af50944176877c7d44c0c120
I change this a bit, so that this is works right for 4.3.3 Patch. (Here isn't add charges after a specific time. Groups have from begin 1 or 3 Charges for Resurrection.)
2017-03-19 01:55:40 +01:00
Aokromes
41c30413c9
Core/Misc: Minimize branch differences
2017-03-13 09:52:07 +01:00
Aokromes
f430d2fd31
Core/Misc: added loading error message for SCRIPT_COMMAND_PLAY_ANIMKIT
...
SMSG_PLAY_ONE_SHOT_ANIM_KIT can now be used in waypoint_scripts
2017-02-19 09:46:43 +01:00
Aokromes
0b31236470
Update MapScripts.cpp
2017-02-19 09:01:10 +01:00
Shauren
9d4a1ddc10
Core/Maps: Adjusted WorldObject::GetGridActivationRange() to never be less than map visibility distance for active objects to ensure equal ranges for activation/deactivation of grids
...
Updates #19072
2017-02-10 05:26:38 +01:00
Rushor
042633b10e
Game/Mapscripts: Implement SCRIPT_COMMAND_MOVEMENT
2017-02-10 05:24:53 +01:00
Aokromes
8bb777ef5c
Few small optimizations here and there
2017-02-01 16:51:21 +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
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
ariel-
02ba07dee0
Core/Misc: fix interaction of spells like Shadowmeld with Threat reducing effects
...
- SPELL_AURA_MOD_TOTAL_THREAT should be temporary and not added/subtracted from total, only computed
- Cleanup of reference related code
- Kill getLast() and reverse iterator obsevers, LinkedList iterator can't be used as a standard reverse_iterator (ie with operator++). They weren't used anyways
2016-10-21 09:14:38 +02:00
Aokromes
c9965c331a
Core/Maps: Fix compile on windows
...
By ConradBunton
2016-09-27 20:24:44 +02:00
treeston
3d82e5771d
Map/InstanceMap: Ease up on a somewhat overzealous error message regarding instance saves.
2016-09-22 03:10:06 +02:00