Commit Graph

187 Commits

Author SHA1 Message Date
Shauren
b095c4cd30 Core/Misc: Removed obsolete NO_CORE_FUNCS 2018-04-02 20:05:08 +02:00
Gacko
bb0056bbe9 Fix non-PCH build. 2018-03-29 21:17:55 +02:00
Shauren
42f9deb21e Core/Maps: Implemented getting area id from gameobject spawns
Yes, you can now spawn LK platform anywhere and it will treat you as inside Icecrown Citadel
2018-03-28 22:01:22 +02:00
ariel-
95615a4b0d Core/Vmaps: build fix mk II
(cherry picked from commit d2a30fef13)
2018-03-28 19:57:00 +02:00
ariel-
570692be9f Core/Vmaps: build fix
(cherry picked from commit a409287fef)
2018-03-28 19:57:00 +02:00
Shauren
a07ed72a9b Core/Vmaps: Fixed getting map height near large gameobjects like LK platform
Updates #19865

(cherry picked from commit cfb0f9fb19)
2018-03-28 19:56:56 +02:00
Shauren
8f53ba3854 Core/Phasing: Rewrite GetTerrainMapId 2018-03-25 19:28:36 +03:00
Shauren
3743d04201 Core/MMaps: Implemented loading phased tiles
Closes #16909
2018-03-25 19:28:36 +03:00
Shauren
6d5e25ddd4 Tools: Moved db2 metadata structures to a location shared by all tools 2018-03-25 19:28:36 +03:00
Shauren
4798d9ce7a Core/VMaps: Implement loading phased tiles
Closes #15163
2018-03-25 19:28:36 +03:00
Shauren
91be2332e2 Core/Entities: Phasing rewrite
* Optimized phase visibility checking
* Handle all phase flags

Closes #16758
Closes #21119
2018-03-25 19:28:36 +03:00
Aokromes
bc88d3bc15 Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version

cherry pick of d18f8b94b0

Running this command when reporting bugs is MANDATORY (you can censor paths)
2018-03-14 11:41:09 +01:00
Shauren
abdf6479dd Core/CrashHandler: Fixed generating crash logs from CRT debug assertions 2018-03-10 15:15:41 +01:00
Warlockbugs
87bd1126ff Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21534)
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.

Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.

Port of CMaNGOS commit: e1b0048f05
2018-03-04 15:26:08 +01:00
Shauren
31f6ba5a92 Core: Updated allowed build to 7.3.5.26124 2018-02-28 23:18:41 +01:00
Shauren
8467503b90 Core/MMaps: Remove phased tile support
* Extremely slow
* Needs to be implemented partially in tools
* Conflicts with upcoming phasing rewrite
2018-02-20 22:33:38 +01:00
Shauren
d32c981022 Revert "Collision/MMap: Fix a memleak reported by valgrind"
This reverts commit 32e8b6506f.
2018-02-20 21:59:41 +01:00
Shauren
9ad9cac1f3 Revert "Core/MMaps: Fix crash introduced in commit 32e8b65 (#17447)"
This reverts commit f293994ef4.
2018-02-20 21:59:32 +01:00
Shauren
fa4626b2bf Warning fixes 2018-02-18 17:07:52 +01:00
Shauren
75603fe1a0 Core/DataStores: Updated db2 structures to 7.3.5.25996 2018-02-18 16:33:50 +01:00
joschiwald
dc43a08d36 Core/Misc: Fixed new-delete-type-mismatch issue reported by AddressSanitizer 2018-01-28 23:34:14 +01:00
Shauren
dfd2660a85 Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
* Based on work done by @dimiandre in PR #21173

Closes #21171
Closes #21173
2018-01-06 01:21:59 +01:00
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