Commit Graph

18 Commits

Author SHA1 Message Date
ratkosrb 6ae8e14278 Use shared_timed_mutex instead of shared_mutex.
Turns out that shared_mutex is a c++17 feature, yet Visual Studio 2015 has it implemented, but it uses a Windows 7 api so it causes the core not to run on XP anymore. And it broke build on GCC and Clang since they have strict language standard checks unlike MSVC.

https://devblogs.microsoft.com/cppblog/vs-2015-update-2s-stl-is-c17-so-far-feature-complete/
2023-10-31 15:19:47 +02:00
ratkosrb 5280d9b763 Replace some locks with shared locks.
Suggested by Chero.
2023-10-31 05:00:52 +02:00
ratkosrb 19e716439c Remove useless debug logs from packet handlers. 2022-11-03 22:30:33 +02:00
namreeb dfb90c5880 Logging rewrite (#1519) 2022-10-06 16:34:56 +03:00
GrenderG 4ac9681594 Fix Linux build. (#1546) 2022-07-18 20:30:50 +03:00
ratkosrb 4bae78dad0 Don't show deleted characters in ignore list.
Issue only occurs when using delete method 1 (unlinked) instead of true delete.
2022-07-17 15:29:25 +03:00
ratkosrb d54dbd66c2 Cleanup header dependencies. 2021-04-12 14:34:00 +03:00
WobLight 03a2e108ba Replace use of ACE threads (#25) 2021-02-21 14:25:25 +02:00
ratkosrb da32b7228a Fix static analysis repeated expression performance warning.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/c3a3f287435f13d307eca517abb855d20e6ab38d
2020-01-21 19:36:10 +02:00
ratkosrb e806acc769 Apply clang tidy fixes. (#330) 2019-12-24 06:23:40 +02:00
ratkosrb 221145d46e Misc code style cleanup. 2019-12-20 07:18:54 +02:00
ratkosrb 66659fe13f Cleanup and reorganization of Unit and SpellEntry headers. (#312)
* Move some unit and spell defines to dedicated header.

* Reorder functions in unit header.

* Clean up until spell category.

* Finish cleaning up spell functions.

* Cleanup combat system methods.

* Done cleaning up unit header.

* Reduce not needed includes.
2019-11-24 22:20:44 +02:00
ratkosrb df76eff1d3 Fix a ton of warnings found using clang. (#308) 2019-11-20 20:27:36 +02:00
ratkosrb 680d6c8f93 Fix two friends list bugs.
1. If you had the friends list window open while somebody on your list logged in, their class, level and zone would not display correctly until your closed and opened the window again.

2. When you added somebody to your friends list, their class, level and zone would not display correctly at first on 1.8.4.
2019-04-05 19:07:20 +03:00
ratkosrb 395d47d15f Organize code in Player.h 2018-12-02 19:19:04 +02:00
Prithu Parker 79c24ca516 Serialise access to the social manager social mapping 2018-02-14 19:56:40 +11:00
StadenElysium 43452c0d9c License update (#27) 2017-03-15 17:27:20 +00:00
shenna c9151a5715 Initial Commit / Core Files 2017-03-10 00:38:11 +03:00