DarkflameServer/dCommon
David Markowitz b7341c8106
Resolve warnings, change config init order and remove unused Game variables for all servers (#877)
* Resolve warnings and change init order

Initialize dConfig first, before logger so we know whether or not to log to console
Initialize namespace Game variables to nullptr so they are a known value if accessed before initialization.
Removed unused Game variables
Replaced config with a pointer instead of referencing something on the stack.
Assign return values to system calls to silence warnings.

Tested that the server still compiles, runs and allows me to load into the game.

* Only start Master of config files exist

Also default the logging to console to on on the off chance the files exist but are wrong / corrupted.
2022-12-15 08:13:49 -06:00
..
dClient Allow servers to be run from directories other than build. Read/write files relative to binary instead of cwd (#834) 2022-11-27 03:59:59 -08:00
dEnums Implement FDB to SQLite (#872) 2022-12-05 00:57:58 -08:00
AMFDeserialize.cpp format codebase 2022-07-28 08:39:57 -05:00
AMFDeserialize.h format codebase 2022-07-28 08:39:57 -05:00
AMFFormat_BitStream.cpp format codebase 2022-07-28 08:39:57 -05:00
AMFFormat_BitStream.h format codebase 2022-07-28 08:39:57 -05:00
AMFFormat.cpp Change AMFArray getters to use Templates and fix CI halting when one matrix fails (#796) 2022-10-30 13:06:05 -07:00
AMFFormat.h Change AMFArray getters to use Templates and fix CI halting when one matrix fails (#796) 2022-10-30 13:06:05 -07:00
BinaryIO.cpp Add support for packed clients (#802) 2022-11-01 13:21:26 -05:00
BinaryIO.h Add support for packed clients (#802) 2022-11-01 13:21:26 -05:00
BinaryPathFinder.cpp Allow servers to be run from directories other than build. Read/write files relative to binary instead of cwd (#834) 2022-11-27 03:59:59 -08:00
BinaryPathFinder.h Allow servers to be run from directories other than build. Read/write files relative to binary instead of cwd (#834) 2022-11-27 03:59:59 -08:00
BrickByBrickFix.cpp Add support for packed clients (#802) 2022-11-01 13:21:26 -05:00
BrickByBrickFix.h Add support for packed clients (#802) 2022-11-01 13:21:26 -05:00
CMakeLists.txt Implement FDB to SQLite (#872) 2022-12-05 00:57:58 -08:00
dConfig.cpp Add support to reload the config (#868) 2022-12-04 16:25:58 -06:00
dConfig.h Add support to reload the config (#868) 2022-12-04 16:25:58 -06:00
Diagnostics.cpp Improve Diagnostics logging (#841) 2022-11-27 13:47:14 -08:00
Diagnostics.h format codebase 2022-07-28 08:39:57 -05:00
dLogger.cpp Replace the vsprintf used in the logger with vsnprintf. (#694) 2022-08-01 15:23:01 -05:00
dLogger.h format codebase 2022-07-28 08:39:57 -05:00
eBlueprintSaveResponseType.h Implement undo action for pre-built models (#830) 2022-11-27 16:48:46 -08:00
FdbToSqlite.cpp hot fix 2022-12-08 04:44:56 -08:00
FdbToSqlite.h Implement FDB to SQLite (#872) 2022-12-05 00:57:58 -08:00
Game.h Resolve warnings, change config init order and remove unused Game variables for all servers (#877) 2022-12-15 08:13:49 -06:00
GeneralUtils.cpp Change File Finder (#873) 2022-12-05 09:04:59 -06:00
GeneralUtils.h Change File Finder (#873) 2022-12-05 09:04:59 -06:00
LDFFormat.cpp use UTF8ToUTF16 more (#695) 2022-08-02 08:56:20 -05:00
LDFFormat.h format codebase 2022-07-28 08:39:57 -05:00
MD5.cpp format codebase 2022-07-28 08:39:57 -05:00
MD5.h format codebase 2022-07-28 08:39:57 -05:00
Metrics.cpp format codebase 2022-07-28 08:39:57 -05:00
Metrics.hpp format codebase 2022-07-28 08:39:57 -05:00
NiPoint3.cpp format codebase 2022-07-28 08:39:57 -05:00
NiPoint3.h format codebase 2022-07-28 08:39:57 -05:00
NiQuaternion.cpp format codebase 2022-07-28 08:39:57 -05:00
NiQuaternion.h format codebase 2022-07-28 08:39:57 -05:00
PermissionMap.h format codebase 2022-07-28 08:39:57 -05:00
SHA512.cpp format codebase 2022-07-28 08:39:57 -05:00
SHA512.h format codebase 2022-07-28 08:39:57 -05:00
Type.cpp format codebase 2022-07-28 08:39:57 -05:00
Type.h format codebase 2022-07-28 08:39:57 -05:00
ZCompression.cpp Add ZLIB for Windows (#768) 2022-09-05 20:28:47 -07:00
ZCompression.h Add support for packed clients (#802) 2022-11-01 13:21:26 -05:00