Kitzunu
3d60ce8e6e
chore(Core/PathGenerator.h): Kill Malformed whitespace ( #4289 )
2021-01-24 21:21:48 -05:00
Stefano Borzì
df600f9946
fix(Core/CreatureAI): revert NPC repositioning and path system (temporarily) ( #4274 )
2021-01-14 19:17:34 +01:00
Kitzunu
da4edd547d
chore(core): remove malformed whitespaces ( #4244 )
...
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
2021-01-10 14:27:55 +01:00
Kargatum
ea93a5c1a1
feat(CI/Codestyle): added codestyle check ( #3668 )
2021-01-09 11:59:50 +01:00
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
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ì
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
FALL1N1
0baecd3e8f
fix(Core/Pathfinding): Improve - Point movement ( #3658 )
2020-12-01 10:58:00 -06:00
Kargatum
a2b26272d2
refactor(Core/Game): restyle game lib with astyle ( #3466 )
2020-10-12 10:08:15 +02:00
Andrius Peleckas
be09e03756
feat(Core/Movement): added orientation input for Point movement ( #3456 )
2020-10-05 12:28:25 +02:00
Francesco Borzì
438cde6a56
fix(Core/Spline): -Wcast-function-type warning ( #3442 )
2020-09-08 23:08:52 +02:00
Kitzunu
1f89282b22
refactor(Core): NULL -> nullptr ( #3275 )
...
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com >
2020-08-31 11:55:09 +02:00
mishaparem
a12e58b105
fix(Core): C++ 11 rule of 3 compiant constructors ( #3023 )
2020-06-15 12:45:04 +02:00
Kitzunu
8a1eab2c23
fix(Core/Creature): Use proper name for wander distance ( #2858 )
...
* Change from spawndist to wander_distance
Co-Authored-By: ratkosrb <ratkosrb@users.noreply.github.com >
* fix sql error
Co-Authored-By: ratkosrb <ratkosrb@users.noreply.github.com >
* Let's see if this fixes eluna :)
* Revert "Let's see if this fixes eluna :)"
This reverts commit be675bf83fc6a02f3347ea76408152d623d374bf.
* fix indent
* Revert "fix indent"
This reverts commit f4cb3d2d9fa908445d342b6f2e6dda9d52fd4665.
* Revert "Revert "fix indent""
This reverts commit 48527cfd2f9031f95bdf6e0d7b90111a3c0dc0f2.
Co-authored-by: ratkosrb <ratkosrb@users.noreply.github.com >
2020-04-11 11:20:02 +02:00
Stefano Borzì
19c3a70d41
feat(Core/Config): make stop time for creatures with WP movement configurable #2715 ( #2829 )
...
Original author Stoabrogga
2020-03-31 01:30:39 +02:00
Nefertumm
59234f8f4b
fix(CORE): Missing override on various functions ( #2602 )
2020-01-21 19:03:15 -03:00
Kargatum
4a8f1de538
feat(Core/Misc): remove and replace ACE_Singleton ( #2418 )
2019-12-21 00:29:29 +07:00
Viste
e22d78ecd6
refactor(Core): rename namespaces and macros to acore ( #2454 )
2019-12-01 13:13:31 +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
Kargatum
824a80005c
Refactor(Core/Misc): Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros ( #1627 )
...
* Delete macros UNORDERED_MAP
* Delete macros UNORDERED_SET
2019-03-26 00:01:56 +07:00
Nefertumm
c15206fc15
Revert "feat(core): Ensure that all actions are compared to fixed point in time ( #1236 ) ( #1458 )" ( #1471 )
...
This reverts commit 51b8773528 .
2019-02-15 15:14:49 -03:00
Viste(Кирилл)
51b8773528
feat(core): Ensure that all actions are compared to fixed point in time ( #1236 ) ( #1458 )
...
i.e. world update start
2019-02-14 19:22:17 +01:00
Viste(Кирилл)
cb81f3c17a
feat(Core/LOS): restruct LOS functions and add LineOfSight check ( #1459 )
2019-02-13 22:24:04 +01:00
Stoabrogga
0be44221d2
Core/Pet: additional check if it's a creature ( #1248 )
2019-01-09 20:51:27 +03:00
Stoabrogga
3d416de893
Core/Movement: Prevent pet animation stuttering during movement ( #1142 )
...
* fix vanity pet distance and angle
* fix vanity pet distance to player
* put size calculation for normal pets into the if-statement for vanity pets
* change pet speed algorithm
* change distance calculation
* another change to the distance calculation; differentiate between player running or flying
2019-01-08 09:36:25 +03:00
Poszer
b1b48b92df
CORE/Crash: Fix crash with MoveSpline [hacky] ( #1066 )
...
Closes #1063
Closes #552
Co-authored-by: grimgravy<sr.alansantos@hotmail.com >
2018-12-25 21:48:17 -03:00
Jinyang li
4b6342b42f
Core/NPC: Creatures now alert when they detect stealthed players ( #1060 )
...
Creatures stop when they detect a stealthed player like in retail.
Closes #1020
2018-10-31 20:25:23 +01:00
Nefertumm
dd300003e2
Update license links ( #783 )
2018-03-12 10:54:57 +01:00
Yehonal
403ed2600f
Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure
2017-12-21 11:26:43 +01:00
Yehonal
17332304fd
Using TC structure allowing easier patches importing
2017-12-21 00:20:29 +01:00
Yehonal
b0c8eceb08
Refactoring part 2 [W.I.P]
2016-08-12 02:38:26 +02:00
mik1893
b88e0fe9a8
Fix Compile Unix
2016-07-08 23:54:33 +02:00
mik1893
f978f833b0
Fix VS2015 Compile
2016-07-08 23:54:22 +02:00
Yehonal
f6eefedcd5
converted all tabs to 4 spaces
2016-06-26 19:23:57 +02:00
Yehonal
e8e94a0a66
First Commit
...
For Azeroth!
2016-06-26 10:39:44 +02:00