- added initial work to better manage rendering (but not yet enabled)

- added new commandline parameter: --version
- some thread cleanup to try adjusted timings when threads shutdown
This commit is contained in:
Mark Vejvoda
2010-06-15 16:27:52 +00:00
parent 5356a3de23
commit c7c9e69567
14 changed files with 394 additions and 298 deletions

View File

@@ -152,9 +152,8 @@ SystemFlags::~SystemFlags() {
}
void SystemFlags::Close() {
printf("START Closing logfiles\n");
if(SystemFlags::debugLogFileList.size() > 0) {
printf("START Closing logfiles\n");
for(std::map<SystemFlags::DebugType,SystemFlags::SystemFlagsType>::iterator iterMap = SystemFlags::debugLogFileList.begin();
iterMap != SystemFlags::debugLogFileList.end(); iterMap++) {
SystemFlags::SystemFlagsType &currentDebugLog = iterMap->second;
@@ -176,7 +175,9 @@ void SystemFlags::Close() {
}
}
printf("END Closing logfiles\n");
if(SystemFlags::debugLogFileList.size() > 0) {
printf("END Closing logfiles\n");
}
}
void SystemFlags::handleDebug(DebugType type, const char *fmt, ...) {