Shauren
fdd9227b23
Core/Misc: Util changes
...
* Move IteratorPair to its own header
* Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere)
2017-07-23 23:32:20 +02:00
joschiwald
ae070a1b64
Core/Spells: Implemented ConeAngle from DB2
2017-07-18 15:16:32 +02:00
jackpoz
fc6b488620
Core/Misc: Fix static analysis issues
...
# Conflicts:
# src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp
# src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
# src/server/game/Entities/Unit/Unit.cpp
# src/server/scripts/Commands/cs_ban.cpp
# src/server/scripts/Commands/cs_disable.cpp
2017-07-16 21:14:22 +02:00
Shauren
137f5e7887
Buildsystem: Minor PCH building changes
...
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets
2017-06-08 00:37:15 +02:00
Shauren
4226eb2ea5
Core/Misc: Some /W4 warning fixes
2017-06-07 17:23:50 +02:00
Golrag
a5819bdadd
Core/VMaps: Fix LoS in Strand of the Ancients
2017-06-06 13:25:55 +02:00
ariel-
555fc9d3d5
Core/Utils: restored previous behaviour of RandomResize
...
(cherry picked from commit 8188511759 )
2017-06-05 03:47:14 -03:00
Shauren
c5d3dd90be
Core/Game: Include cleanup
...
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren
a12a34b1dc
Core/Game: Include cleanup - removed G3D classes from packets
...
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-16 22:16:21 +02:00
Marco Ebert
8ea16ff923
Common: Use cstdlib instead of stdlib.h.
2017-05-13 21:33:43 +02:00
Marco Ebert
6e2a911f6d
Fix non-PCH build.
...
Your ad here.
2017-05-13 21:11:57 +02:00
Shauren
beb3316089
Core/Shared: Include cleanup
2017-05-13 11:49:09 +02:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
Gacko
5a2b60d815
Fix non-PCH build.
...
What else?
2017-05-06 11:59:52 +02:00
joschiwald
b68b7ecd9f
Fixed warning
2017-05-05 21:32:20 +02:00
joschiwald
036f67c0c1
Core/Collision: Replaced phasemask with proper phases in GameObject collision calculation
2017-05-05 21:22:58 +02:00
joschiwald
66744c4b4c
Core/Tools: MapId can have 4 digits
...
Note: Re-extracting any maps is NOT required.
2017-04-27 19:24:14 +02:00
vincent-michael
a3dec5cb75
Build: Fixed build with boost 1.64
2017-04-20 20:49:30 +02:00
Shauren
912774dc26
Warning fix
2017-04-17 00:22:22 +02:00
Shauren
0b9548a1cc
Core: Updated GameTables to 7.2.0
...
Tools/Extractors: Updated to 7.2.0
Tools/ConnectionPatcher: Updated patterns to 7.2.0
Supported version is now 7.2.0.23911
2017-04-17 00:03:44 +02:00
Shauren
d20dedebd6
Core/DataStores: Updated db2 structures to 7.2.0
2017-04-06 23:39:34 +02:00
Shauren
f097e341f5
Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list
...
* Also fix gcc build
2017-03-23 00:11:58 +01:00
Shauren
a1e3b54e07
Core/Utils: Changed all Trinity::Containers utilities to work on all container types (including arrays where it makes sense)
...
* Added MapGetValuePtr to allow writing `if (Val* v = MapGetValuePtr(map, key))`
* Added utility IteratorPair class with begin/end methods and MapEqualRange for use in range for syntax with multimaps
2017-03-21 21:04:01 +01:00
Shauren
7b235ce6e4
Core/DataStores: Refactor DB2 loaders to be reusable by extractors
2017-03-08 18:10:02 +01:00
Shauren
b8db320bf1
Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
2017-03-04 18:46:18 +01:00
treeston
e829af4c2b
Common/Utilities: More std::chrono overloads for EventMap. Specifying 2 std::chrono types now gives you a random (to milliseconds) time in that interval (inclusive) for (Re)ScheduleEvent.
...
(cherry picked from commit 2174c5d7dd )
2017-02-26 20:02:15 +01:00
Shauren
bc2380e105
Core/DataStores: Fixed Meta->Types/TypesString mixup causing crashes when trying to send hotfix for nonlocalized string
...
Closes #18882 (for real this time)
2017-02-26 15:00:46 +01:00
joschiwald
c6632dc3ee
Fixed build and typo
2017-02-18 13:40:03 +01:00
joschiwald
bc3ffceae4
Core/Misc: Added missing include
2017-02-17 22:23:54 +01:00
joschiwald
80c36f3d9c
Scripts/Command: Fixed phases output in .pinfo command
...
Closes #19144
2017-02-17 21:54:49 +01:00
jackpoz
f98e3b0ee5
Tools/MMapGenerator: Avoid saving uninitialized padding bytes to disk
...
Initialize padding bytes in MmapTileHeader struct to avoid saving uninitialized data to disk, causing issues when binary-comparing *.mmtile files.
(cherry picked from commit 2585c62e6f )
2017-02-12 15:39:38 +01:00
Shauren
2add03ab99
Build fix
2017-01-17 23:54:40 +01:00
Shauren
6767bbc95f
Fix static analysis issues
...
CID 1291964
CID 1292775
2017-01-17 20:14:44 +01:00
joschiwald
fc22e97369
Core/SpellScripts: Added some const correctness
2017-01-04 00:08:52 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
DDuarte
e6473ab5d9
Dep: Update fmt (cppformat) to 3.0.1 7fa8f8fa48
...
Also renamed cppformat to fmt
2016-12-29 23:45:59 +00:00
Shauren
0c9bfd074d
Core/Logging: Fix static analysis issue
...
CID 1367942, 1367944, 1367953,1367955,1367957, 1367958, 1367960, 1367961, 1367962, 1367964
2016-12-24 13:09:12 +01:00
Shauren
b6f1f8405f
Core/Misc: Added regex compatibility layer to fall back to boost::regex for really old compiler
2016-12-10 19:11:10 +01:00
zori
fcbbeb3644
Correct Nav type for WMO objects ( #18364 )
...
* Tools/MMaps: Correct liquid type for WMO objects
* MMaps: Update version to 6
(cherry picked from commit 0df0cb30ca )
2016-12-04 02:23:13 +01:00
Aokromes
22396f1bcf
Fix typo in VMap BIH generation ( #18297 )
...
Fix typo in VMap BIH generation
By zorix
(cherry picked from commit 2402f47642 )
Core/Maps: bumping Vmap version after 2402f47642
Re-extracting vmaps is required
(cherry picked from commit ec9a8345a4 )
Core/Map: missing file change in last commit
(cherry picked from commit 881cd78ae3 )
2016-12-03 15:27:23 +01:00
Shauren
9633c8c2b7
Core/Debugging: Partially revert e0fb4445cd, the cmake hack to build wheaty directly into executable is still needed as it is impossible to have it initialize before every other static variable when it resides in dll (dynamic linking only)
2016-11-28 20:21:21 +01:00
Shauren
e0fb4445cd
Core/Debugging: Added wheaty everywhere and modified it to always reliably report issues during static initialization
2016-11-28 18:37:51 +01:00
Shauren
b9f7b500a3
Core/Auras: Rewritten conditionally applying SPELL_AURA_MOD_WEAPON_CRIT_PERCENT, SPELL_AURA_MOD_DAMAGE_DONE and SPELL_AURA_MOD_DAMAGE_PERCENT_DONE auras
...
* Now the entire aura is removed when changing equipment
* All aura types can now depend on equipped items
2016-11-20 00:44:49 +01:00
jackpoz
f23c6c4d7e
Shared/Metric: Initial support for tag value escaping
...
Fix #18175
(cherry picked from commit 189edc0f23 )
2016-11-14 20:33:03 +01:00
ariel-
780d1019f2
Core/ScriptMgr: use vector instead of list to contain Spell and Aura scripts and hooks
...
(cherry picked from commit cbb5c073ce )
2016-11-14 05:35:41 -03:00
Shauren
505d3e24cc
Core/DataStores: Removed the need to edit DB2Metadata automatically generated to account for non-localized string fields
2016-10-26 01:34:29 +02:00
Shauren
cd28d23ed8
Build fix
2016-10-22 13:28:58 +02:00
keke222
a3b953952a
Tools: Automatically create directories for tools ( #17971 )
2016-10-20 23:32:49 +02:00
Shauren
d34020da7f
Core/DataStores: Fixed loading signed db2 fields
2016-10-09 16:54:11 +02:00
Shauren
59fe908744
Core/Random: Remove no longer needed hack for VS 2013
2016-09-01 11:52:08 +02:00