::CONST <- getconsttable()
::ROOT <- getroottable()
if (!("ConstantNamingConvention" in ROOT)) // make sure folding is only done once
{
	foreach (enum_table in Constants) {
		foreach (name, value in enum_table) {
			if (value == null) {
				value = 0;
			}

			CONST[name] <- value;
			ROOT[name] <- value;
		}
	}
	//Ocet Folder
	foreach (singleton in [NetProps, Entities, NavMesh, EntityOutputs]) {
		foreach (name, method in singleton.getclass()) {
			if (name != "IsValid") {
				ROOT[name] <- method.bindenv(singleton);
			}
		}
	}
}
