Takenbacon
ee69a569c4
fix(Core/Grids): Grid improvements ( #20955 )
2025-02-14 22:11:27 +01:00
Takenbacon
edcfaeb845
refactor(Core/World): Create WorldSessionMgr to split session logic out of World ( #21400 )
2025-02-13 07:04:38 +01:00
Kitzunu
ceefd89a06
feat(CI/Codestyle): check for curly brackets before/after if/else statements ( #20977 )
...
* feat(CI/Codestyle): check for braces after if/else statements
* right need to edit a cpp file to trigger cpp check
* Revert "right need to edit a cpp file to trigger cpp check"
This reverts commit 2e34d8c52f35216549107a3476e79e79ea2ae077.
* fix codestyle in cpp
* Update oculus.cpp
* Update codestyle.py
* Update codestyle.py
* Update codestyle.py
* Update codestyle.py
2024-12-19 21:14:58 +01:00
Francesco Borzì
c06cadfe75
refactor(src/common|server): remove unused import (big part 1) ( #20377 )
...
* refactor(src/common|server): remove unused import (big part 1)
* chore: fix build
* chore: fix build
* chore: fix build
* chore: fix build
* chore: attempt to fix damn linkin error
2024-10-31 21:46:11 +01:00
Kitzunu
386aea03ee
chore(Core/Misc): Some cleanup ( #19970 )
...
* remove weird blanks
* update if
* ) ) to ))
* missed some ) )
* now switch
* .
2024-09-21 19:34:31 +02:00
Benjamin Jackson
1edac37ac3
refactor(Core): Make more use of helpers. ( #19835 )
...
* Init.
* Reword.
* Update codestyle script.
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Add gameobject type ID check, reorder checks.
* Add helper/codestyle check for unit type.
* `IsUnit()` -> `IsCreature()`
* Add `IsUnit()` method.
* Use type mask.
https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
* Replace instances of `isType` with `IsUnit`.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
2024-09-03 14:41:31 -03:00
Grimdhex
643362d697
refactor(Core/Object): adds consistency in the use of type object check ( #19671 )
2024-08-25 09:57:37 -03:00
Grimdhex
61f3a631c3
fix(Server): remove double blank lines at the end of several files ( #19735 )
2024-08-25 07:21:14 -03:00
Francesco Borzì
e592fdd248
refactor(Scripts/misc): remove unused imports ( #19458 )
2024-07-22 16:20:41 -03:00
Kitzunu
5a4692e45a
chore(Core/Misc): #include cleanup ( #19255 )
2024-07-02 15:52:02 +02:00
sudlud
e447351b0f
fix(Core/Creature): Remove automated z spawn correction ( #18200 )
...
* fix(Core/Creature): Remove automated z spawn correction
* comment out unused parameter
* remove gridLoad parameter from Creature::LoadCreatureFromDB()
2024-01-21 07:33:00 -03:00
Pedro Antonio
2c7c3b6832
fix(CORE/OPvP): Halaa Mechanics not working properly ( #15634 )
2024-01-14 14:00:53 -03:00
IntelligentQuantum
016bb86d3b
refactor(Scripts): remove useless includes ( #18004 )
2023-12-22 18:41:28 +01:00
Winfidonarleyan
eb1ecc38a5
feat(Core/Scripting): move all script objects to separated files ( #17860 )
...
* feat(Core/Scripts): move all script objects to separated files
* Apply 5bfeabde81
* try gcc build
* again
2023-12-02 21:13:20 +01:00
Winfidonarleyan
e90d7a2f92
chore(Core/Misc): sort includes ( #17776 )
...
* chore(Cleanup): sort includes
* fix build
* fix build again
2023-11-18 17:51:26 +01:00
Winfidonarleyan
18d3940145
chore(Core/OutdoorPvP): cleanup ptr's, rename private fields ( #17778 )
...
chore(Game/OutdoorPvP): cleanup ptr's, private fields
2023-11-18 17:51:02 +01:00
M'Dic
7e58650cf5
revert(Core): ChrRace.dbc full implementation ( #16114 )
...
* revert (core): ChrRace.dbc full implementation
we revert this due to several issues arrising. Although the dbc reading is done in full and correctly. Azerothcore relied on the original handling (althought not propper) for so long that there is
* revert
* Update remove_charrace_dbc.sql
* Update remove_charrace_dbc.sql
* Update remove_charrace_dbc.sql
2023-04-29 08:23:11 -03:00
M'Dic
3eae4c5713
fix(core/dbc): improve ChrRace DBC handling ( #14843 )
...
Cherry pick of https://github.com/TrinityCore/TrinityCore/pull/24508
Co-authored-by: HelloKitty <5829095+HelloKitty@users.noreply.github.com >
2023-04-28 01:29:33 +02:00
Kitzunu
bd6034e1a9
refactor(Core/AI): Some more refactoring prep for Comat Threat system… ( #15026 )
...
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com >
2023-02-13 21:39:40 +01:00
Kitzunu
f039836a2f
chore(Core/Misc): Change all TODO to doxygen comment ( #14966 )
2023-02-12 10:05:34 -03:00
Pedro Antonio
160d3141a3
fix(Scripts/HP PvP): Hellfire PvP Objective Flag and Progress bar not in sync ( #14304 )
2023-01-28 11:01:08 +01:00
Kitzunu
4870b14b1f
refactor(Core/Object): getLevel() -> GetLevel() ( #14122 )
...
* refactor(Core/Object): getLevel() -> GetLevel()
* fix build and sneak some doxygen in
* codeSTLE
* codestyle
2022-12-31 17:39:23 +01:00
55Honey
718454fd48
feat(Core/scripts): expose Halaa slider value and owner setter
2022-12-30 22:29:19 +01:00
Kitzunu
b709a22ddc
feat(Core/Players): PlayerFlag helpers ( #11294 )
...
* feat(Core/Players): PlayerFlag helpers
* Update Player.h
* fix build
2022-04-05 18:53:50 +02:00
SilentCLD
546c4f8942
feat(Core/Scripts): Spirit towers reset to neutral 6 hours after capture and save WorldState ( #11030 )
2022-03-27 01:28:41 -03:00
UltraNix
0b02ba87fc
fix(Core/Reputations): Faction rep gained by killing mobs is now prop… ( #9737 )
...
* fix(Core/Reputations): Faction rep gained by killing mobs is now properly rounded up.
Do not increase reputation rank if exceeds max rank cap.
Fixes #8718
2022-02-05 07:37:00 -03:00
Francesco Borzì
abc56842c4
refactor(Core): remove unused imports ( #10296 )
2022-01-22 11:21:35 +01:00
Francesco Borzì
b748730bc8
refactor(Core): remove unused imports ( #9969 )
2022-01-02 20:22:09 +01:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Kargatum
52aa0e9966
feat(License): add new headers information about license ( #7941 )
...
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2021-09-30 13:40:52 +07:00
Kitzunu
2f449326e0
refactor(Core): Rename ...Manager to ...Mgr ( #6910 )
...
* Rename MapManager.h to MapMgr.h
* Rename BanManager.h to BanMgr.h
* Rename MapManager.cpp to MapMgr.cpp
* Rename BanManager.cpp to BanMgr.cpp
* Rename MapRefManager.h to MapRefMgr.h
* Rename ThreatManager.h to ThreatMgr.h
* Rename GridRefManager.h to GridRefMgr.h
* Rename ThreatManager.cpp to ThreatMgr.cpp
* Rename GroupRefManager.h to GroupRefMgr.h
* Rename HostileRefManager.h to HostileRefMgr.h
* Rename HostileRefManager.cpp to HostileRefMgr.cpp
* Rename MMapManager.h to MMapMgr.h
* Rename FollowerRefManager.h to FollowerRefMgr.h
* Rename VMapManager2.h to VMapMgr2.h
* Rename IVMapManager.h to IVMapMgr.h
* Rename MMapManager.cpp to MMapMgr.cpp
* Rename VMapManager2.cpp to VMapMgr2.cpp
* Rename RefManager.h to RefMgr.h
* Rename WaypointManager.h to WaypointMgr.h
* Rename WaypointManager.cpp to WaypointMgr.cpp
* Rename MPQManager.h to MPQMgr.h
* Rename MPQManager.cpp to MPQMgr.cpp
* Rename IMMAPManager.h to IMMAPMgr.h
* fix build
* Update Main.cpp
* chore(Core/Misc): Remove toxic language
* Revert "chore(Core/Misc): Remove toxic language"
* fix build
* build
2021-09-15 17:50:28 +02:00
Francesco Borzì
383946af6c
refactor(Scripts/OutdoorPvP): code cleanup (part 7) ( #6927 )
2021-07-21 14:12:40 +02:00
Kargatum
5991b2769a
feat(Core/Scripts): split the huge scriptloader into smaller pieces ( #5346 )
...
* feat(Core/Scripts): split the huge scriptloader into smaller pieces
* AddSC_swamp_of_sorrows del
* 1
* add mod info
* 1
* 039f0e0faa
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-06-22 23:19:02 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Kargatum
b2861be1cd
feat(Core/Threading): replace ace threading ( #4821 )
2021-04-16 19:45:29 +02:00
Francesco Borzì
f6a17164be
fix(Core/License): issue with old files license ( #4762 )
2021-03-17 09:46:01 -06:00
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +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
Francesco Borzì
d4a58700d4
refactor(Core): apply clang-tidy modernize-use-override ( #3817 )
2020-12-06 18:04:55 +01:00
Kargatum
5e20b46812
refactor(Core/Scripts): restyle scripts lib with astyle ( #3467 )
2020-10-11 10:35:34 +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
Viste
e22d78ecd6
refactor(Core): rename namespaces and macros to acore ( #2454 )
2019-12-01 13:13:31 +01:00
Stoabrogga
7a9f09341f
chore(PCH): remove "ScriptPCH.h" from cpp scripts ( #1423 )
...
remove "ScriptPCH.h" from cpp scripts as it is intended to be used as precompiled header for the build process only
2019-02-10 14:50:44 +01:00
Kargatum
1a9f8dfc0c
Core/DBC Move WorldSafeLocs.dbc storage to DB ( #932 )
2019-01-08 09:37:31 +03:00
Nefertumm
dd300003e2
Update license links ( #783 )
2018-03-12 10:54:57 +01:00
Kaev
05cd8c8c61
Move area trigger storage from DBC to database ( #742 )
...
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
2018-01-02 22:08:08 +01:00
Yehonal
17332304fd
Using TC structure allowing easier patches importing
2017-12-21 00:20:29 +01:00
Yehonal
0f85ce1c54
Big re-organization of repository [W.I.P]
2016-08-11 20:25:27 +02:00
Yehonal
991eed3b5a
Using more appropriate NS prefixes for our macro and cmake vars
2016-08-11 20:10:08 +02:00