Stefano Borzì
b2761626fe
feat(Core/CreatureAI): improve npc position during the combat ( #3369 )
...
+ tangent equation to find correct angle and distance when moving
+ implemented proper backward
* Improved performance + random angle margin
* chore: add tollerance calculation in instance
* improved LOS checks with movements
* implemented collisions using raycast (imported by TC)
+ improved collision detection for CanReachPositionAndGetCoords
+ improved collision check
+ set correct flags for the backward movement
+ first implementation of slope angle (to improve)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com >
2021-01-04 20:23:08 +01:00
FALL1N1
1f5babf0a6
Core/Utils: Create std::optional helper class ( #3994 )
2020-12-22 02:13:18 -06:00
Francesco Borzì
c5a35efd7b
refactor(Core): apply clang-tidy modernize-use-default-member-init ( #3827 )
2020-12-07 13:34:06 -06:00
Francesco Borzì
1cf39b3d22
refactor(Core): apply clang-tidy modernize-use-equals-default ( #3834 )
2020-12-07 19:21:55 +01:00
Francesco Borzì
0b8ec1f6ee
refactor(Core): apply clang-tidy modernize-loop-convert ( #3822 )
2020-12-07 19:04:19 +01:00
Francesco Borzì
cba126fa84
refactor(Core): apply clang-tidy modernize-use-nullptr ( #3819 )
2020-12-06 20:55:11 +01:00
Francesco Borzì
161302252e
refactor(Core): apply clang-tidy modernize-use-nodiscard ( #3835 )
2020-12-06 19:39:48 +01:00
Francesco Borzì
d4a58700d4
refactor(Core): apply clang-tidy modernize-use-override ( #3817 )
2020-12-06 18:04:55 +01:00
Kargatum
7f26c9ddad
refactor(Core/Common): restyle tools with astyle ( #3706 )
2020-11-17 16:59:58 +07:00
Andrius Peleckas
ab5933effa
fix(Core/Util): EventMap::RepeatEvent when eventId is retrieved by ExecuteEvent() call ( #3426 )
2020-10-17 14:59:22 +02:00
Kargatum
3a0b0356ac
refactor(Core/Common): restyle common lib with astyle ( #3461 )
2020-09-12 03:50:48 +07:00
Kargatum
e15a493927
feat(Core/Time): remove inherited ACE Time ( #3455 )
...
Co-authored-by: Viste <viste02@gmail.com >
2020-09-11 14:03:26 +02:00
Francesco Borzì
fa6f814eba
fix(Core/Misc): GCC warnings ( #3428 )
2020-09-04 17:39:02 +02:00
mishaparem
a12e58b105
fix(Core): C++ 11 rule of 3 compiant constructors ( #3023 )
2020-06-15 12:45:04 +02:00
Viste
435190979e
fix(Core/Tools): fix build ( #2529 )
2019-12-29 03:07:17 +07:00
Shard
067d9e791f
fix(Core/Battlegrounds) Rewrite RandomBG and enabling bg/arenas weights ( #2516 )
2019-12-28 09:40:13 +01:00
Viste
ec808793ae
fix(Core/Misc): few improvements to ut8 handling ( #2455 )
2019-12-02 08:33:44 +01:00
Viste
e22d78ecd6
refactor(Core): rename namespaces and macros to acore ( #2454 )
2019-12-01 13:13:31 +01:00
Kargatum
a3206c56dc
feat(Core/Misc): replace all prefix preprocessor defines from CompilerDefs with AC_ ( #2419 )
2019-11-15 23:27:31 +07:00
Stefano Borzì
c294dd3142
fix(Core/Crash): Improved Utf8toWStr() function to prevent crashes ( #2407 )
2019-11-06 09:34:24 +01:00
Viste
854b426978
feat(Core): Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert ( #2273 )
2019-09-26 09:51:33 +02:00
Viste
bc1ad036a5
refactor(Core/Misc): Rewrite name handling functions that use raw buffers ( #2230 )
2019-08-26 21:12:19 +02:00
Kargatum
859eaed800
feat(Core/Deps): Added fmt lib ( #2190 )
...
* About library (https://github.com/fmtlib/fmt )
2019-08-13 15:52:03 +07:00
Nefertumm
dd300003e2
Update license links ( #783 )
2018-03-12 10:54:57 +01:00
Yehonal
a36e94a49a
Fixed crashes with not initialized CustomData
2018-03-02 21:03:40 +00:00
Rochet2
96761f0741
Fix VS 2015 compile
2018-02-03 01:33:07 +02:00
Rochet2
7696bd355e
Add missing include (travis passed though)
2018-02-02 00:52:49 +02:00
Rochet2
6217874f77
Update DataMap.h
2018-02-02 00:41:26 +02:00
Rochet2
96167c54ea
Fix copy paste mistakes
2018-02-02 00:39:55 +02:00
Rochet2
0a3be94815
Implement convenience functions for DataMap
...
See https://github.com/azerothcore/azerothcore-wotlk/pull/748#issuecomment-362411082 for more.
2018-02-02 00:27:14 +02:00
Rochet2
ff2851164d
Implement data storage for Entitiies ( #748 )
2018-02-01 13:46:34 +01:00
Yehonal
8f7bc1c749
Moved files after merging
2017-12-21 11:29:24 +01:00
Yehonal
17332304fd
Using TC structure allowing easier patches importing
2017-12-21 00:20:29 +01:00