Commit Graph
602 Commits
Author SHA1 Message Date
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 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 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 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
Chaouki Dhib 81e7cb4c42 Core/Movement: Correct distance checking
Distance checking should always be in 3D, independently on if the mover has the ability to fly or not.
2018-03-05 14:18:33 +01:00
Chaouki Dhib e8bdb2a157 Core/Movement: Correct the allowed distance to target before a repositioning is necessary. #20173
Also getting rid of the wordserveur config parameter 'TargetPosRecalculateRange' since it is no longer needed.
2018-01-14 06:56:50 +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 93e0e0c291 Core/Movement: MotionMaster & MovementGenerators cleaning 2017-08-13 14:55:54 +02:00
ccrs 227a4d8ccb Core/Movement: ee2d7c1d53 followup 2017-08-13 03:38:52 +02:00
Aokromes 62cf8c879a reduce diff 2017-08-13 03:38:48 +02:00
Aokromes eab24df48a Core/Movement: PropagateSpeedChange should only be called on the top (current active) movement generator 2017-08-13 03:36:13 +02:00
ccrs 591019d9f6 Core/Movement: add new helper that cleans the referenced MovementSlot 2017-08-13 03:31:28 +02:00
Aokromes 37be43ae8b Fix an issue where temp summons were ignoring m_regenHealth. 2017-06-17 11:46:01 +02:00
Aokromes 461ba1cb56 Fix (C) for multiple files 2017-06-15 08:46:45 +02:00
treeston 4b073c7354 Fixed a potential crash when resuming a SplineChainMovementGenerator. 2017-06-09 13:22:32 +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
Aokromes 1c6021ba96 Core/AI: Factory functions cleanup
- Get rid of fugly void pointers
- Streamlined AI selection code, using Permissible as it should've been instead of harcoded checks on the selector code
- Moved IdleMovementGenerator singleton to factory code
2017-06-01 13:22:24 +02:00
Aokromes 06168fb412 Implement real time statistic visualization 2017-05-26 14:47:59 +02:00
Aokromes 0fbcdca05e Core/Collision: Replaced phasemask with proper phases in GameObject c…
…ollision calculation
2017-05-06 01:55:17 +02:00
Aokromes 386c126e83 kill whitespace 2017-04-16 15:15:11 +02:00
Aokromes a723deb52e missing part 2017-04-12 23:26:15 +02:00
Aokromes 43aecc42aa Commit name: Add flying check to MoveSmoothPath
By Malcrom
2017-04-12 23:21:58 +02:00
Aokromes 51594356dd Core/MotionMaster: Initialize SetFly 2017-04-09 23:51:40 +02:00
tkrokli d40b252c01 Game/AI: SMART_ACTION_JUMP_TO_POS should resume path when reached jump location (#19029)
SmartAI NPCs using SMART_ACTION_JUMP_TO_POS
should resume their path when they have reached the jump location.

The changes in this PR makes the action work as intended.

Closes #18760
2017-04-01 07:05:03 +02:00
ccrs 6f1a3c4b43 Fix warning
field '_top' will be initialized after field '_owner'
2017-03-26 06:15:36 +02:00
ccrs 7ea5c422cb Core/Movement: 96f4c7c followup 2017-03-26 06:15:26 +02:00
ccrs 2683f6cf6b Core/MotionMaster: cleanup use of _expireList
And restore broken _cleanFlag check/use on update (eca3645d8bb655b88e39f05e36b435171f738f70)
2017-03-26 06:15:18 +02:00
ccrs 5d79ac9275 Core/Unit: cleanup UnitState enum 2017-03-26 06:15:09 +02:00
ccrs a29bae966d Core/Movement: cleanup MovementGeneratorType 2017-03-26 06:14:57 +02:00
ariel- 3ceeffde86 Core/Movement: Corrected all speed checks after 23b6991273bac4ee9d7cf1b4ac3b9a92e0a7300e
Ref issue #19210
2017-03-03 01:30:15 +01:00
Aokromes 0748e7f820 Added some missing SetFallInformation calls
Fixed HP drop bug on zeppelins
Fixed possible packet relocation problems on huge transports
2017-02-17 09:39:09 +01:00
xinef1 ac3a9d6112 Core/Creatures: Stop falling if corpse is removed (can happen when alive unit is despawned instantly in air) (#18995)
Do not allow to start waypoint movement when unit is dead
2017-02-01 01:29:59 +01:00
HelloKitty 927a73a7ef Core/Vmaps: Stop M2s from occluding for spellcast LoS
Closes #18528
2017-01-21 14:45:30 +01:00
Aokromes 1cf9bdd6c7 build fix 2017-01-20 16:59:17 +01:00
Aokromes 31484029a0 Revert "[3.3.5][master] Core/Movement: Smooth movement 2017-01-20 16:26:38 +01:00
Aokromes 55aba887f7 more missing part 2017-01-18 15:21:28 +01:00
Aokromes 50e68d7149 Core/Movement: Update MoveSmoothPath for flying creatures 2017-01-14 15:01:51 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Chaouki Dhib 935a4cbeab Core/Movement: minor MotionMaster refactor (#18367) 2016-12-06 11:08:10 +01:00
Aokromes 7b48d8c15c compile fix 2016-11-27 17:39:31 +01:00
Aokromes f6160d4d0b Core/Movement: Smooth movement
Implement smooth movement for all waypoint pathing and escortai
2016-11-27 16:59:31 +01:00
Aokromes 0737ea9b6e Core/Spells: Fixed logic related to movement while channeling 2016-11-27 15:47:21 +01:00
Aokromes d8d165241d Core/MotionMaster: cleanup, reordering and renaming 2016-11-27 03:56:15 +01:00
Krudor 64763f86de Core/Creatures: Enable swimming creatures to chase targets in 3d (#18298)
Closes #11060
2016-11-23 11:18:06 +01:00
ariel- 3944dc25b9 Core/Creature: Call SetSpawnHealth after JustReachedHome in HomeMovementGenerator
Fixes issues with quests that rely on this behaviour (eg Free your Mind)

Also updated SetSpawnHealth so it doesn't do anything in case spawn is manual (SetHealth(GetHealth()) does modify things depending on deathstate)
2016-10-24 11:10:41 +02:00