Treeston
d11c3807b3
Core/Time: Rename GetGameTime{System, Steady}Point methods
...
The names are a bit unhandy. Rename them (shorter but still meaningful).
GetGameTimeSystemPoint() -> GetSystemTime()
GetGameTimeSteadyPoint() -> Now()
Also add 2 new typedefs:
typedef std::chrono::steady_clock::time_point TimePoint;
typedef std::chrono::system_clock::time_point SystemTimePoint;
Closes #25042
(cherry picked from commit 896b68d5c297b06587645caebc98b704978ecaa7)
2022-01-23 21:36:03 +01:00
Peter Keresztes Schmidt
dfc1f08bd8
Misc: Remove some unneeded/duplicated includes ( #25051 )
...
(cherry picked from commit ddf16ae4d9eff6e849618bb6c5a00603f26daa93)
2022-01-23 20:48:12 +01:00
Shauren
cd0b301779
Nopch fix
...
(cherry picked from commit c0ade2e98fbc6cc129b4725d2216016f90996e8b)
2022-01-23 20:40:34 +01:00
Shauren
2b312c7bd2
Dep: Switch to boost process instead of old standalone version
...
(cherry picked from commit 524d16739861d0b2279e2270e319b0c77ec9b03b)
2022-01-23 20:39:15 +01:00
Shauren
596bf2b772
Core/Misc: Replace boost::optional with std::optional part 2
2022-01-23 20:31:52 +01:00
Peter Keresztes Schmidt
770fbcca0c
Core/Misc: Replace boost::optional with std::optional ( #25047 )
...
C++17 is already mandatory, so it's a safe thing to do
(cherry picked from commit 202fd41389973322f63186fd8e5a368fce3e1b04)
2022-01-23 18:05:59 +01:00
Peter Keresztes Schmidt
cd86a015c4
Core/Util: Remove EventMap's non-std::chrono::duration based interface ( #25049 )
...
Closes #25012
(cherry picked from commit ce1e2c0f9b4f80e1fa5c448ee12fec43204a3634)
2022-01-23 16:39:31 +01:00
Shauren
15d59640fa
Scripts/World: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00
Shauren
8417c7d815
Scripts/Zul'aman: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00
Shauren
5a53fa4b58
Scripts/Blackrock Spire: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00
Shauren
1ef00ccd10
Scripts/Stonecore: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00
Shauren
f0a7bc5267
Scripts/Halls of Origination: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00
Shauren
66641b6d22
Scripts/Blackrock Caverns: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00
Shauren
d07425e620
Scripts/Firelands: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00
Shauren
bb29fb406e
Scripts/Baradin Hold: Use std::chrono::duration overloads of EventMap
2022-01-23 16:39:31 +01:00
NoName
fdd06dc1dd
Core/Misc: Port refactors 9fe6756cf26e916d69673879c31e09ee57ef6470
...
* + For SMSG_DEATH_RELEASE_LOC
G3D::Vector3 -> TaggedPosition<Position::XYZ>
+ removed non 3.3.5 packets
Co-authored-by: Peter Keresztes Schmidt <[email protected] >
Co-authored-by: Mogadischu <[email protected] >
Co-authored-by: Shauren <[email protected] >
(cherry picked from commit 9fe6756cf26e916d69673879c31e09ee57ef6470)
2022-01-23 16:07:06 +01:00
Peter Keresztes Schmidt
54d3110ca7
Scripts/World+Pet: Use std::chrono::duration overloads of EventMap ( #25017 )
...
Contributes to #25012
(cherry picked from commit 0072fa922db1642d720c545ccc2ac095c140f0ca)
2022-01-23 16:02:35 +01:00
Peter Keresztes Schmidt
ce8c0da4fe
Scripts/Icecrown Citadel: Use std::chrono::duration overloads of EventMap (Part 2) ( #25041 )
...
Part 2: gunship battle and Sindragosa
Contributes to https://github.com/TrinityCore/TrinityCore/issues/25012
(cherry picked from commit 6968e7a1a1d638cc43409e7ab5e96f2e4854fe69)
2022-01-23 16:02:25 +01:00
Peter Keresztes Schmidt
0195ec8945
Scripts/Icecrown Citadel: Use std::chrono::duration overloads of EventMap ( #25036 )
...
Part 1: without gunship battle and Sindragosa
Contributes to #25012
(cherry picked from commit 5eaff8a3bcc4a81ca27e19418f0c508966ad3c7f)
2022-01-23 16:02:00 +01:00
Peter Keresztes Schmidt
253cbf5678
Scripts/Tempest Keep: Use std::chrono::duration overloads of EventMap ( #25040 )
...
Contributes to #25012
(cherry picked from commit 2d9c5979a6a6d9244f557ff5653694ce5b8f19a4)
2022-01-23 16:01:09 +01:00
Peter Keresztes Schmidt
c3228cc252
Scripts/Utgarde Keep: Use std::chrono::duration overloads of EventMap ( #25039 )
...
Contributes to #25012
(cherry picked from commit f00ab389d60cd5c8ba44ec8c6a49369c70a95d8b)
2022-01-23 16:00:59 +01:00
Peter Keresztes Schmidt
8e7c368220
Scripts/Magisters Terrace: Use std::chrono::duration overloads of EventMap ( #25038 )
...
Contributes to #25012
(cherry picked from commit 88314660b66637982d629b786630af0dc0323eab)
2022-01-23 16:00:43 +01:00
Peter Keresztes Schmidt
d62b7c1e35
Core/CombatAI: Use std::chrono::duration overloads of EventMap ( #25037 )
...
Contributes to #25012
(cherry picked from commit bd837d4c3dc61e7817ccb14071108e97db86f1f5)
2022-01-23 16:00:27 +01:00
Peter Keresztes Schmidt
b27c70aff2
Scripts/Ulduar: Use std::chrono::duration overloads of EventMap ( #25035 )
...
Contributes to #25012
(cherry picked from commit d4bce9f4d2d6059740e5bcc146ffa8d98f715d6f)
2022-01-23 15:49:50 +01:00
Peter Keresztes Schmidt
b7d5a1653d
Scripts/Nexus: Use std::chrono::duration overloads of EventMap ( #25033 )
...
Contributes to #25012
(cherry picked from commit 2f538258d9e2e1162766efaee8cb61eeae4f921e)
2022-01-23 15:49:27 +01:00
Peter Keresztes Schmidt
ef5f874cea
Scripts/Naxxramas: Use std::chrono::duration overloads of EventMap ( #25032 )
...
Contributes to #25012
(cherry picked from commit 6eec0bc50f40892275934ae91d410b63ecbe2dfd)
2022-01-23 15:49:09 +01:00
Peter Keresztes Schmidt
65e1b79547
Scripts/Isle of Conquest: Use std::chrono::duration overloads of EventMap ( #25031 )
...
Contributes to #25012
(cherry picked from commit 1a32b0f5b3c64bad4f379a45e5e7b07f00fe774e)
2022-01-23 15:49:01 +01:00
Peter Keresztes Schmidt
3d9885a302
Scripts/Gundrak: Use std::chrono::duration overloads of EventMap ( #25030 )
...
Contributes to #25012
(cherry picked from commit 3a9b3259b8eb2f35af29135fd9c9c0c44e3e47d2)
2022-01-23 15:48:52 +01:00
Peter Keresztes Schmidt
e6e4edd768
Scripts/Frozen Halls: Use std::chrono::duration overloads of EventMap ( #25029 )
...
Contributes to #25012
(cherry picked from commit 19ee4d6254370de3f174718a72e5055aa28b6102)
2022-01-23 15:48:41 +01:00
Peter Keresztes Schmidt
0c6b6acda6
Scripts/Drak'Tharon Keep: Use std::chrono::duration overloads of EventMap ( #25028 )
...
Contributes to #25012
(cherry picked from commit 65e01053a8dfa713c5ffebe6702d85a3577a9790)
2022-01-23 15:48:25 +01:00
Peter Keresztes Schmidt
cd65f988bd
Scripts/Chamber of Aspects: Use std::chrono::duration overloads of EventMap ( #25027 )
...
Contributes to #25012
(cherry picked from commit 42102871a78e4424ee18c243600327f5e1d84945)
2022-01-23 15:48:17 +01:00
Peter Keresztes Schmidt
5507aa2f5e
Scripts/Coilfang Reservoir: Use std::chrono::duration overloads of EventMap ( #25025 )
...
Contributes to #25012
(cherry picked from commit 5ed6c6a5c348d601c6f144ca2b0df3e297dd2a69)
2022-01-23 15:48:08 +01:00
Peter Keresztes Schmidt
7f948a3e23
Scripts/Hellfire Citadel: Use std::chrono::duration overloads of EventMap ( #25024 )
...
Contributes to #25012
(cherry picked from commit d00c95f26f835e681bcadbb68a2476408948d64a)
2022-01-23 15:47:58 +01:00
Peter Keresztes Schmidt
7b766f45b0
Scripts/Azjol-Nerub: Use std::chrono::duration overloads of EventMap ( #25026 )
...
Contributes to #25012
(cherry picked from commit 1c3187e596e1d0d483b9ff7d2794ace017c16963)
2022-01-23 15:47:50 +01:00
Shauren
e0256154b6
Scripts/Mana Tombs: Fix Pandemonious Dark Shell event delay
...
(cherry picked from commit 7e5cf40d4c776bc048f74b8323c435173394772f)
2022-01-23 15:47:38 +01:00
Peter Keresztes Schmidt
5c3b3d2225
Scripts/Auchindoun: Use std::chrono::duration overloads of EventMap ( #25023 )
...
Contributes to #25012
(cherry picked from commit 4ad80434a2efa046c4f4954221832714225b801d)
2022-01-23 15:47:16 +01:00
Peter Keresztes Schmidt
1a53ac17c8
Scripts/Outland: Use std::chrono::duration overloads of EventMap ( #25022 )
...
Contributes to #25012
(cherry picked from commit 39fc17e284bf2082d3b5a0c50dfd9e6cde64b582)
2022-01-23 15:47:00 +01:00
Peter Keresztes Schmidt
5086f1bfdc
Scripts/Northrend: Use std::chrono::duration overloads of EventMap ( #25021 )
...
Contributes to #25012
(cherry picked from commit 29779db58b19384518706299e6e48be0d04eac65)
2022-01-23 15:46:37 +01:00
Peter Keresztes Schmidt
c56f99a1d4
Scripts/Trial of the Crusader: Use std::chrono::duration overloads of EventMap ( #25020 )
...
Contributes to #25012
(cherry picked from commit a2b2dc7ad0b22bf0f89dfc26dd7eb33fe7bcacfb)
2022-01-23 15:41:42 +01:00
Peter Keresztes Schmidt
111521d3c9
Scripts/EasternKingdoms: Use std::chrono::duration overloads of EventMap ( #25019 )
...
Contributes to #25012
(cherry picked from commit 5ef576d223db0ac019bd803a07976cdc549a26ac)
2022-01-23 15:41:30 +01:00
Peter Keresztes Schmidt
41dab047ed
Scripts/Blackrock Mountain: Use std::chrono::duration overloads of EventMap ( #25018 )
...
Contributes to #25012
(cherry picked from commit ac27c922d1ac0cbae98e98a3f560484dece75604)
2022-01-23 15:39:28 +01:00
Peter Keresztes Schmidt
8fb60c4d19
Scripts/Kalimdor: Use std::chrono::duration overloads of EventMap ( #25016 )
...
Contributes to #25012
(cherry picked from commit 90d5e7e1e82f1f196fb78844f7cad81fc228877c)
2022-01-23 15:38:35 +01:00
Peter Keresztes Schmidt
c76f6e0879
Core/Battlegrounds: Use std::chrono::duration overloads of EventMap ( #25015 )
...
Contributes to #25012
(cherry picked from commit e372f9badb252f67abc29236e715bcce7fe1155d)
2022-01-23 15:36:37 +01:00
Giacomo Pozzoni
e188a75c68
Scripts/Kologarn: Fix another "stuck in combat" issue ( #24998 )
...
(cherry picked from commit ee34a1f19ea6062ffe8612a735eede990dd2840e)
2022-01-23 15:20:29 +01:00
Gildor
81154a7455
Core/Spells: Check a few aura effects for determining if should be negative ( #25004 )
...
(cherry picked from commit 5e1571062ac05bc3e68ebf1cf9ed04ab54e713bd)
2022-01-23 15:20:09 +01:00
Shauren
b6a3774a38
Warning fix
2022-01-23 15:18:10 +01:00
Giacomo Pozzoni
e9cf3828ba
Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. ( #23 ) ( #24997 )
...
* Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT. (#23 )
Original research by @xvwyh.
* Add missing sql update
* Fix some build errors
* Remove unused enum values
* Change artkits from 0-4 to 0-3
* Remove unused code
* Code review feedback
* Fix sql
* Remove artkit4 special case handling
* Default initialize artKits
* Code review feedback
* Split sql into structure and data files
Co-authored-by: Warpten <[email protected] >
(cherry picked from commit 203573db83fb1d3f141b5aadbf1d1ca0a637bf94)
2022-01-23 15:17:54 +01:00
Shauren
a55801e35e
Correct g3d patch naming conflicts with 3.3.5 branch
2022-01-23 00:34:44 +01:00
Shauren
aed8e1c3b4
Fixed -Wdeprecated-copy warning in G3D
...
(cherry picked from commit a650bd631a4681d09e3ff66f79b73b99299565f3)
2022-01-23 00:19:57 +01:00
Shauren
d4568a90b1
Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression
...
(cherry picked from commit 042b1abfd747160085e5acc24a842a076b20ea01)
2022-01-23 00:18:39 +01:00