vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
7bb62cd23d
Core/DataStores: Updated db2 structures to 7.3.2.25480
2017-12-30 00:26:37 +01:00
Shauren
b49fa9658a
Tools/Patcher: Properly sign certificate bundle
2017-12-29 12:50:12 +01:00
Shauren
b54d1ab35f
Core/Crypto: Remove unused declaration
2017-12-26 01:42:38 +01:00
Shauren
130d3eb0ae
Core/Crypto: Add const_cast hack to fix linux build with openssl
2017-12-26 01:37:02 +01:00
Shauren
2628daadeb
Nopch build fix2
2017-12-25 21:51:20 +01:00
Shauren
6a4c40126d
Nopch build fix
2017-12-25 21:47:21 +01:00
Shauren
e161769c4f
Build fix
2017-12-25 21:45:07 +01:00
Shauren
61ca3d6235
Core/Crypto: Refactor RSA encryption to use openssl functions instead of doing it manually
2017-12-25 21:41:34 +01:00
Naios
1285347518
Build: Inherit the features and warning flags privately
2017-12-20 04:04:28 +01:00
Naios
f07eefadf9
Core/Utilities: Globally enable C++14 chrono literals
...
* Usable like 12s, 15m...
(cherry picked from commit 364fde5213 )
2017-12-20 04:04:28 +01:00
Naios
a8813fc6fe
Core/Common: Use the std make_unique instead of a custom one
...
(cherry picked from commit ca023fd60a )
2017-12-20 04:04:27 +01:00
Naios
964d6bd1b2
Build: Use the cotire library for precompiled header handling
...
* Required for handling flags inherited by linked projects
correctly in the corresponding precompiled header.
* Reduces the maintenance effort for precompiled headers
(cherry picked from commit 92f96fc10e )
2017-12-20 04:04:27 +01:00
Naios
ff35262a3a
Build: Use interface targets for inheriting flags and definitions
...
* Remove the usage of global flags and definitions
set through the CMAKE_CXX_FLAGS variable.
* Use cmake target compile features for setting the
CXX standard automatically.
* Make C++14 globally available in the project
* Closes #21033
(cherry picked from commit e60c1f84a7 )
2017-12-20 04:04:27 +01:00
Shauren
ce0054f030
Core/DataStores: Fixed possible out of bounds memory access
2017-11-25 22:28:30 +01:00
Aokromes
df6e0538fe
Misc: More cleanup
2017-11-25 02:57:49 +01:00
Aokromes
90badf9d7e
Misc: More cleanup
2017-11-25 02:50:29 +01:00
Naios
e7ec5bead1
Dep/fmt: Update fmt to fmtlib/fmt@5f39721c0a
...
* Rename cppformat to fmt in the PackageList.txt
(cherry picked from commit 5077c8289c )
2017-10-16 22:54:23 +02:00
Shauren
d184768bbc
Core/Misc: Improved error message reported by ASSERT_NOTNULL
2017-09-24 23:53:33 +02:00
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