mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +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:
@@ -125,13 +125,13 @@ void NinecraftApp::updateStats()
|
||||
if (m_pLocalPlayer)
|
||||
{
|
||||
Vec3 &pos = m_pLocalPlayer->m_pos;
|
||||
printf("%d fps\t%3d chunk updates. (%.2f, %.2f, %.2f)\n", m_fps, Chunk::updates, pos.x, pos.y, pos.z);
|
||||
printf("%s", m_pLevelRenderer->gatherStats1().c_str());
|
||||
LOG_I("%d fps\t%3d chunk updates. (%.2f, %.2f, %.2f)", m_fps, Chunk::updates, pos.x, pos.y, pos.z);
|
||||
LOG_I("%s", m_pLevelRenderer->gatherStats1().c_str());
|
||||
Chunk::updates = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("%d fps\n", m_fps);
|
||||
LOG_I("%d fps", m_fps);
|
||||
}
|
||||
|
||||
field_2B0 = timeMs;
|
||||
|
||||
Reference in New Issue
Block a user