BAM_Application::BAM_Application() { // BUGBUG - this is always opened, in case certain modules do not // have NDEBUG defined classID = CID_BAMAPP; BamDebug.OpenFile("BAM.DBG"); BamDebug.Out("BAM status/error log, single run\n"); // from TEXT.CPP language = squibLanguageNum; fPauseWorld = FALSE; fWorldEnderPopupExists = FALSE; saveNum = 0; restoreNum = 0; fShowTileNums = FALSE; sideColors[SIDE1] = BLUE; sideColors[SIDE2] = RED; fNetworkTest = FALSE; language = LANG_DEFAULT; memset(objAchieved ,NULL,sizeof(objAchieved)); memset(unitsCreated ,NULL,sizeof(unitsCreated)); memset(unitsLost ,NULL,sizeof(unitsLost)); memset(enemiesSlain ,NULL,sizeof(enemiesSlain)); memset(structuresDestroyed,NULL,sizeof(structuresDestroyed)); memset(sitesControlled ,NULL,sizeof(sitesControlled)); }