Commit Graph

14 Commits

Author SHA1 Message Date
ratkosrb f105489d54 Prevent double delete of DynamicObjects on grid unload.
https://github.com/cmangos/mangos-classic/commit/28acfa42188c54bf22eb016dbf1a39e8c001fe48

The cmangos solution doesn't work, so I fixed it another way.
2023-04-25 07:00:42 +03:00
namreeb dfb90c5880 Logging rewrite (#1519) 2022-10-06 16:34:56 +03:00
ratkosrb 39afde5307 Implement pathing on elevators and improve extractors. (#1206)
* Implement GAMEOBJECT_TYPE_TRANSPORT serverside position simulation

https://github.com/cmangos/mangos-classic/commit/a0a9ebfb641146d347c10d2bd6348c560914d2ed

* Implement Boarding and Unboarding for GO type 11 TRANSPORT

https://github.com/cmangos/mangos-classic/commit/3b3ff84751f264a06b1ed92c5d439c756404e8af

* Fix issues with boats.

* Rename DARK_WATER to DEEP_WATER.

Cherry picked from https://github.com/cmangos/mangos-classic/commit/bf00a047bed5fdf736f3308a1d8b2947ac11a3c3

* Mmap generation improvements

https://github.com/cmangos/mangos-classic/commit/ee121a78542f28acfe152a89c8f4e9e8cb28ef50

* Replace use of 'new' with CreateGameObject.

* Implement Gameobject model mmap extraction and loading

https://github.com/cmangos/mangos-classic/commit/91291db3928feff80fa9066f65dea08ec551169a

* MMAP: Add mmap extractor option to only extract GO models

https://github.com/cmangos/mangos-classic/commit/add3e1f6e5b9cfa67454eaf1367c65f6ae032917

* Rename a few local variables in buildGameObject to match cmangos.

https://github.com/cmangos/mangos-classic/commit/ac98ef2cc9ee52ba425af35fe15c20f46686dd5c

* Implement support for transport pathfinding and teleporting onto transport

https://github.com/cmangos/mangos-classic/commit/d6bb14ce3dd394ee0b6d5c08e034c35775e8e63e

* MMap: Adjust default parameters in favor of proper extraction of gameobjects

https://github.com/cmangos/mangos-classic/commit/15ba386aac01ccac95c40d5a196ecd1e5b595ac8

* MMap: Add building of all transports

https://github.com/cmangos/mangos-classic/commit/99fcbe1a58ee61ac3a1904cd1cb015a7c0e86ab4

* Transport: Make movementInfo pos and tpos reference

https://github.com/cmangos/mangos-classic/commit/ff0df5e811f7f1ad5753778b94d5b6b0ca6d047d

* Transport: Add readout to HandleGPSCommand for transport pos

https://github.com/cmangos/mangos-classic/commit/c2cb0050f412b174cf2d359c47b086b1f6c7bf6d

* Transport/Object: Minor refactor of position fetching for UPDATEFLAG_HAS_POSITION

https://github.com/cmangos/mangos-classic/commit/f758a22f39bbf46af8b4a2d2514fa99c09e37b75

* Transport/MMAP: Add help output for new --onlyGO switch

https://github.com/cmangos/mangos-classic/commit/0f8a8d1bd8ad03ba9285499118c77b2589d5b85b

* Increase visibility range of transports.

* Do not use UPDATEFLAG_TRANSPORT for corpses

https://github.com/cmangos/mangos-classic/commit/018bccf6ca43338d098ae8b996c26bc867c784ec

* Transport: Fix order and sign of transport type 11 coordinates

https://github.com/cmangos/mangos-classic/commit/f8002fe061811805fc3f6f27087481be9e834759

* Transports: Remove redundant if (GetGoState() == GO_STATE_READY) block in TBC

https://github.com/cmangos/mangos-classic/commit/36c8c2dfd380b331667cee463e04d8f7747f7266

* Transports: Fix orientation of GO type 11 in vanilla and tbc using proper quat computation

https://github.com/cmangos/mangos-classic/commit/08004564acaeee6e20e76180a1073c4eb1f17c20

* Vmap: Search upward for finding height if below is nothing

https://github.com/cmangos/mangos-classic/commit/c124b3eb8579ae2dcbf1d8ab30ee5249701fad9e

* MapExtraction: Fix water height redundancy algorithm ignoring no water

https://github.com/cmangos/mangos-classic/commit/9b39a41774b145bcb1e5a49038a030f6739d91a9

* VMAP: Replace string* with vector of strings

https://github.com/cmangos/mangos-classic/commit/884452ef54cc265d326dc56e6cef3994794c3db

* Vmap: Port MOPY flag usage from TC and introduce back mogpflag usage for lighting groups

https://github.com/cmangos/mangos-classic/commit/0666136d0d6cc6843fad1eb4286aee83df1dea01

* Vmap: Introduce skipping of antiportals

https://github.com/cmangos/mangos-classic/commit/2cee1027baeebef3646b2645ec95d8d079e6da89

* Transports: Also print orientation in gps command

https://github.com/cmangos/mangos-classic/commit/6effe3f0786bf1d67a722f7379cc533083247475

* Mmap: Do not register and extract GO displayid 462 and 562

https://github.com/cmangos/mangos-classic/commit/328ef02c05a36867772c08f3cb3d8de116719619

* Increase map version.

* Fix version check.

Co-authored-by: Killerwife <killerwife@gmail.com>
Co-authored-by: Laizerox <dpetmanson@gmail.com>
2021-06-01 19:18:40 +03:00
ratkosrb 4a4f5692cc Remove MANGOS_DLL_DECL and its use.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/61837298b7ba4bd81fdfbda3d7456d10f296e7cd
2020-02-10 22:17:36 +02:00
ratkosrb e806acc769 Apply clang tidy fixes. (#330) 2019-12-24 06:23:40 +02:00
ratkosrb 49b9a82244 Switch to east const style. 2019-12-21 00:45:35 +02:00
ratkosrb 66659fe13f Cleanup and reorganization of Unit and SpellEntry headers. (#312)
* Move some unit and spell defines to dedicated header.

* Reorder functions in unit header.

* Clean up until spell category.

* Finish cleaning up spell functions.

* Cleanup combat system methods.

* Done cleaning up unit header.

* Reduce not needed includes.
2019-11-24 22:20:44 +02:00
ratkosrb df76eff1d3 Fix a ton of warnings found using clang. (#308) 2019-11-20 20:27:36 +02:00
ratkosrb 4afe949345 Replace usage of NULL with nullptr. 2019-11-12 19:53:42 +02:00
ratkosrb 428aa18976 Implement gameobject spell casting (#271)
* Some initial work.

* More work.

* Just a few more errors fixed.

* More progress.

* Fixed all errors in main spell code.

* It compiles!

* Change order of function declarations.

* Fix healing effects.

* Remove empty lines.

* Try to fix travis build.

* Fix old version of Slice and Dice.

* Headers cleanup.

* Move gameobjects list back to unit class.
2019-09-18 23:40:41 +03:00
sipertruk 2c993f37f3 fix crash at shutdown EnterEvadeMode loop (#1700) 2017-08-07 17:10:59 +10:00
sipertruk ab40cf8dd7 reset eventai phase at grid unload/stop (#1381) 2017-07-16 01:49:55 +01:00
StadenElysium 43452c0d9c License update (#27) 2017-03-15 17:27:20 +00:00
shenna c9151a5715 Initial Commit / Core Files 2017-03-10 00:38:11 +03:00