mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-06 22:10:04 +03:00
Logging cleanup (#69)
* Mac OS X 10.6 & More C++03 Support * Fix SDL2 options.txt loading for C++03 * Output/Logging Overhaul * Added StandardOut class * Renamed LOGX macros to LOG_X * Removed LogMsg macros in favor of LOG_X * Added console window for debug Windows builds * Updated Xcode Project + StandardOut.hpp + StandardOut.cpp * StandardOut_windows * Replaced the Windows #ifdefs in StandardOut with StandardOut_windows --------- Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
@@ -61,7 +61,7 @@ void LevelDataPacket::write(RakNet::BitStream* pbs)
|
||||
if (pCompressedData)
|
||||
{
|
||||
float ratio = 100.0f * float(compSize) / float(uncompSize);
|
||||
//LogMsg("Compression ratio: %.2f (%d comp, %d uncomp)", ratio, int(compSize), int(uncompSize));
|
||||
//LOG_I("Compression ratio: %.2f (%d comp, %d uncomp)", ratio, int(compSize), int(uncompSize));
|
||||
|
||||
int cs2 = int(compSize), us2 = int(uncompSize);
|
||||
bs.Reset();
|
||||
@@ -73,7 +73,7 @@ void LevelDataPacket::write(RakNet::BitStream* pbs)
|
||||
}
|
||||
else
|
||||
{
|
||||
//LogMsg("Level not compressed.");
|
||||
//LOG_I("Level not compressed.");
|
||||
}
|
||||
|
||||
pbs->Write(bs);
|
||||
|
||||
Reference in New Issue
Block a user