It's also a great help when messing with other peoples code/stuff.
Something like this:
Code: Select all
---- CEGUI System initialisation completed ----
---- Version 0.3.0 ----
Moderators: CEGUI MVP, CEGUI Team
Code: Select all
---- CEGUI System initialisation completed ----
---- Version 0.3.0 ----
Code: Select all
// Define CEGUI version
#define CEGUI_VERSION_MAJOR 0
#define CEGUI_VERSION_MINOR 3
#define CEGUI_VERSION_PATCH 1
Code: Select all
std::string mVersion = PropertyHelper::uintToString(CEGUI_VERSION_MAJOR) + "." +
PropertyHelper::uintToString(CEGUI_VERSION_MINOR) + "." +
PropertyHelper::uintToString(CEGUI_VERSION_PATCH);
Logger::getSingleton().logEvent((utf8*)"---- CEGUI System initialisation completed ----");
Logger::getSingleton().logEvent((utf8*)"---- Version " + mVersion + "----");
Return to “CEGUI Library Development Discussion”
Users browsing this forum: No registered users and 12 guests