reduce parameters of CSystem::CalculateVariables
remove buildingInfos parameter from System::GetNumberOfWorkbuildings