DarkflameServer/thirdparty
jadebenn fcf4d6c6fa
feat: Improve console output to show packet enum names (magic_enum) (#1344)
* add enum stringification functionality from third party source

* squashed commit

* Macros: Add test and improve speed

Space macros out
utilize cache locality
ensure no lost functionality

* moved stringify code to dCommon

* Rename #defines in stringify enum tests

* Revert "moved stringify code to dCommon"

This reverts commit 33fa5f8d2f.

* improve macro functionality

change function handle

formatting and function definition tweaks

* typo fixes

* moved code to dCommon/dEnums and tests to dCommonTests/dEnumsTests

* initial magic_enums alternate implementation of enum stringification

* deleted unused tests

* reverted compile flag oopsy and fixed output types

* fixed testing suite

* test formatting improvement

* formatting again :(

* added gm string to "aborting gm!" message

* Push my suggestion for CI tests.

* updated magic enum test

* fix test variable type

* added gm test

* making sure magic_enum is on a release branch

* tidying up console outputs

* re-implemented enum array access for performance

* now it is bugged :(

* nvm, working

* helping out the snowflake compilers

* changed return type too

* optimization too

* formatting too I guess because why not

* being even more painfully specific

* Update WorldServer.cpp to match emo's feedback

* Update MagicEnumTests.cpp to use srand(time(NULL))

* Update eGameMessageType.h - formatting

* Trying to fix the crash but can't actually compile the code to check on my own rn

* Update WorldServer.cpp - third try at this

* Update MagicEnumTests.cpp - use better macro definitions

* Update MagicEnumTests.cpp - c string comparison fix

* addressing all but the cmake feedback

* fixed cmake to the best of my very limited ability

* added tests to verify magic enum arrays are pre-sorted

* updated

---------

Co-authored-by: David Markowitz <EmosewaMC@gmail.com>
Co-authored-by: Jettford <mrjettbradford@gmail.com>
2023-12-23 10:51:59 -06:00
..
AccountManager@19e2a4fe9f Move AccountManager to submodules 2022-01-05 17:32:30 +01:00
cpp-httplib@824e7682e4 Attempting to fix submodules 2021-12-05 19:13:03 +01:00
cpplinq Improve cpplinq checks 2022-07-12 03:06:54 +01:00
libbcrypt@d6523c370d Attempting to fix submodules 2021-12-05 19:13:03 +01:00
magic_enum@e55b9b54d5 feat: Improve console output to show packet enum names (magic_enum) (#1344) 2023-12-23 10:51:59 -06:00
mariadb-connector-cpp@3fbdf8fa33 Add Aarch64 support (#231) 2022-07-03 21:33:05 -07:00
raknet Log some recvfrom errors on linux (#885) 2022-12-15 22:32:36 -08:00
recastnavigation@c5cbd53024 Attempting to fix submodules 2021-12-05 19:13:03 +01:00
SQLite Modularize CMakeLists for submodules (#736) 2022-08-18 19:23:42 -07:00
tinyxml2@a977397684 Attempting to fix submodules 2021-12-05 19:13:03 +01:00
CMakeLists.txt feat: Improve console output to show packet enum names (magic_enum) (#1344) 2023-12-23 10:51:59 -06:00
CMakeMariaDBLists.txt Update MariaDB for windows (#792) 2023-07-23 20:51:13 -05:00