Commit Graph

12 Commits

Author SHA1 Message Date
Francesco Borzì
d8b8e123f6 refactor(Core/Common): code cleanup (part 12) (#7520) 2021-08-26 18:02:08 +02:00
UltraNix
a8c0a2cc89 fix(Core/Movement): (#7008)
- 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
- Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields.
- Clean up liquid state handling on Unit and Player
- Implemented getting area id from gameobject spawns.
- Removed old core related to getting movement flags dependent on environment.
- Movement flags are now processed more precisely and dynamically.

Original source: TrinityCore.

- Closes #5086
- Updates #2208.
2021-08-25 12:41:20 +02:00
Kitzunu
b84f9b8a4b refactor(Collision): update some methods to UpperCamelCase (#6486) 2021-06-27 16:37:22 +02:00
Kargatum
3c24b511f2 refactor(Core/Misc): add braces and impove codestyle (#6402) 2021-06-24 19:50:18 +02:00
Kargatum
8202da358b refactor(Core/Common): alphabetical sorting inlcudes (#6282)
- Part https://github.com/WarheadCore/WarheadBand/pull/37
2021-06-23 01:01:53 +02:00
Kargatum
db7d754f3f feat(Core/Common): delete lib game-interface inherited (#5333)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-05-07 02:16:44 +07:00
Francesco Borzì
f6a17164be fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00
Kitzunu
28f1dc5c0c refactor(Core): replace NULL with nullptr (#4593) 2021-03-02 01:34:20 +01:00
Kargatum
3a0b0356ac refactor(Core/Common): restyle common lib with astyle (#3461) 2020-09-12 03:50:48 +07:00
Kaev
2fa9f5c249 fix(Core): potential crashes/bugs reported by static analysis #2 (#2622) 2020-02-03 07:52:27 +01:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00