Aokromes
719a317a67
Update copyright note for 2017
2017-01-02 07:26:38 +01:00
DDuarte
0578f5612a
Dep: Update fmt (cppformat) to 3.0.1 7fa8f8fa48
2016-12-30 01:19:58 +01:00
zori
15a1e26d99
Correct Nav type for WMO objects ( #18364 )
...
* Tools/MMaps: Correct liquid type for WMO objects
* MMaps: Update version to 6
2016-12-06 11:10:13 +01:00
ariel-
bea6bbb321
Core/Maps: bumping Vmap version after 2402f47642
...
Re-extracting vmaps is required
2016-12-06 11:09:39 +01:00
Aokromes
f4a3d112a2
Fix typo in VMap BIH generation ( #18297 )
...
Fix typo in VMap BIH generation
By zorix
2016-12-06 11:03:08 +01:00
Aokromes
c0ba6c2dfe
Core/Auras: Rewritten conditionally applying SPELL_AURA_MOD_WEAPON_CR…
...
…IT_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-27 03:09:29 +01:00
treeston
1fb05a1797
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.
2016-09-14 14:34:10 +02:00
Naios
f0e47a27f9
Core/Define: Remove the conditional macro for constexpr.
...
* Not needed anymore since the requirements were raised to MSVC 2015.
2016-08-29 22:08:31 +02:00
Naios
65e2355c8f
Core/Common: Correct the linking of localeNames
2016-08-29 22:08:15 +02:00
jackpoz
e6c7894be1
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.
2016-08-18 09:35:04 +02:00
roc13x
a54adfd894
Core/Build: Fixed dynamic mode build
...
Core can now be built in dynamic mode, enabling the hotswap system to be
used.
Hotswap works fine on Windows. Didnt work for me on Debian, the rebuild
and reload process happens but the old version of the module remains for
some reason. Cant figure it out right now
2016-08-13 17:26:30 +01:00
jackpoz
1d6adef396
Common/Common: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-12 11:58:55 +02:00
Aokromes
e201c034c7
Core/Common: Converted the common library to a shared library.
...
* There is still the possibility to static link against common.
2016-08-12 11:58:18 +02:00
Naios
a354feb48b
Core/EventProcessor: Check whether an event was aborted before aborting it.
...
* Fixes an assertion introduced in commit 1ad73212dc .
* Use itr = std::unordered_map<...>::erase for updating the iterator.
2016-08-10 09:05:17 +02:00
Naios
80d77dfb46
Core/EventProcessor: Wait for non deletable events to get deletable.
...
* Immediate deletion caused issues with the SpellEvent,
so we delete it at one of the next update ticks now.
* Only affects the unforced cancellation of events.
* Ref #16675
2016-08-10 09:04:55 +02:00
Naios
d4e76b75dc
Core/Common: Add the linkage type to the version string
...
* Add platform strings for intel and apple
* Remove usage of underscore uppercase identifiers because
those are reserved for the compiler.
* Requested by Aokromes
(cherry picked from commit afa0bac669 )
2016-08-10 09:03:50 +02:00
Aokromes
9264bfaf86
Core/Game: Remove some unnecessary export macros
2016-08-10 09:03:10 +02:00
Naios
a682a01270
Core/Common: Move the query callback header to the database project
...
* Also renames the header to it's correct name QueryCallback
2016-08-10 08:59:35 +02:00
Naios
2cd46f6f05
Core/Utilities: Inherit env vars when starting external processes
2016-08-10 08:58:38 +02:00
Naios
176f3f1a87
Core/Common: Fix a std::string -> char* -> std::string conversion
...
* Thanks jackpoz for noticing
2016-08-10 08:58:09 +02:00
Naios
7a827fe435
Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header
2016-08-10 08:56:37 +02:00
Naios
a75d2b01fb
Core/Common: Capsule boost process into helper functions
...
* For easier usage, the processes output it routed
correctly to the TC logger line by line now.
* Add support for asynchronous process execution
and process termination.
2016-08-10 08:51:52 +02:00
Aokromes
231d680826
typo fix
2016-08-10 08:21:10 +02:00
Aokromes
384a5216fd
Core/Common: Converted the common library to a shared library.
...
* There is still the possibility to static link against common.
2016-08-10 08:19:25 +02:00
Aokromes
4905073101
Buildsystem: Initial changes to support building with vs clang toolset
2016-08-10 04:43:29 +02:00
Shauren
ea918e1b69
Core/Utils: Added additional argument to Tokenizer class to make it behave like strtok - not returning empty tokens in case of multiple consecutive separators in input string
...
(cherry picked from commit dd1533b315 )
2016-08-07 21:28:29 +02:00
jackpoz
0f965a530e
Common/Threading: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-04 23:48:39 +02:00
jackpoz
44165712ca
Common/Logging: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-04 21:56:30 +02:00
jackpoz
e8bc203651
Common/Debugging: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-04 20:57:38 +02:00
jackpoz
5dcb395e90
Common/Crypto: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-03 23:35:34 +02:00
jackpoz
3c66feafcc
Common/Maps: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-03 22:39:59 +02:00
jackpoz
8cd5cefaf6
Common/Maps: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-03 19:48:38 +02:00
Vincent-Michael
aa61332af8
Core: Revert fail
...
(cherry picked from commit b5329d8a03 )
2016-07-22 18:51:10 +02:00
Vincent-Michael
0d7a6c6556
Core: Added missing overrides
...
(cherry picked from commit 5d584116fe )
2016-07-22 18:50:26 +02:00
jackpoz
648b8859d5
Core/Crash reporting: Better handle max nesting level setting
...
Fix wheaty exception report counting reference symbols as 2 nesting levels, not logging child objects in some cases, i.e. spell id in SpellEvent crash.
2016-07-20 18:30:50 +02:00
jackpoz
d9f485273c
Core/VMaps: Fix some vmap height edge cases
...
Fix Map::GetWaterOrGroundLevel() checking dynamic object only in phase 1 instead of current Unit phase.
Improve DynamicMapTree::getHeight() dynamic object check by casting the ray at +0.5f from the passed Z coordinate, this value will be tuned to improve even more the results.
2016-07-20 15:45:05 +02:00
Shauren
f11a9a31c2
Core/Containers: Warning fixes and RandomResizeList with predicate optimization
2016-07-20 13:28:41 +02:00
Naios
74a588b462
Core/Misc: Replace tc's optional with boost::optional. (very partial cherry-pick)
...
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.
(cherry picked from commit 800d5d8939 )
2016-07-19 13:37:37 +02:00
Aokromes
f5de65fd96
Core/Misc: MSVC /W4 warning fixes
2016-07-19 13:02:54 +02:00
Aokromes
9c1b965136
Core/Misc: MSVC warning fixes
2016-07-19 12:40:58 +02:00
ariel-
1a6f3472da
Core/Misc: remove unused function prototype
2016-07-17 14:11:33 +02:00
Aokromes
9cf3bdf125
Core/Build: Add the possibility to link libraries dynamically.
...
* makes it possible to access exported singletons from other shared lib's.
* reduces binary size
2016-07-15 20:35:32 +02:00
Aokromes
5ecf2e318c
Update MMapManager.cpp
2016-06-24 17:16:14 +00:00
Aokromes
1cc604cdee
by et65 closes https://github.com/TrinityCore/TrinityCore/issues/16910
2016-06-23 10:24:55 +02:00
Aokromes
460a660d4f
CMake: Use inherited dependencies in common and tools (partial pick, need help on this)
2016-05-23 06:24:26 +02:00
Naios
9ac55d9181
Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c
...
Conflicts:
src/server/worldserver/CMakeLists.txt
2016-05-16 22:37:02 +02:00
Shauren
2aa7dff892
Core/Misc: Use steady_clock instead of system_clock for calculating ms timers. This makes update diffs immune to systemwide time changes
...
(cherry picked from commit 406ac4f4b4 )
2016-05-12 09:09:13 +02:00
joschiwald
42033fd904
Core/Utils: replaced std::random_shuffle with our own implementation using SFMT random generator
2016-05-12 09:07:29 +02:00
Shauren
4c3db96715
Core/Common: Moved MessageBuffer to common
...
(cherry picked from commit a81a204678 )
2016-05-12 08:28:38 +02:00
DDuarte
477a4edfe2
Core/Config: Fix 3 more missing config warnings
...
Closes #16861
Thanks tkrokli
(cherry picked from commit 0afcefea27 )
2016-05-12 08:24:45 +02:00