// groups
momt = new MOMT(databuffer);
mogn = new MOGN(databuffer);
mogi = new MOGI(databuffer);
// skybox
mosb = new unkChunk(databuffer, "BSOM");
// portals
mopv = new unkChunk(databuffer, "VPOM");
mopt = new unkChunk(databuffer, "TPOM");
mopr = new unkChunk(databuffer, "RPOM");
// visibles
movv = new unkChunk(databuffer, "VVOM");
movb = new unkChunk(databuffer, "BVOM");
// lightning
molt = new unkChunk(databuffer, "TLOM");
// doodad sets
mods = new MODS(databuffer);
// doodads
modn = new MODN(databuffer);
modd = new MODD(databuffer);
// fog
mfog = new unkChunk(databuffer, "GOFM");
// volume panels (optional)
if(databuffer.hasRemaining()
&& chunk.nextChunk(databuffer).compareTo("PVCM")==0)
mcvp = new unkChunk(databuffer, "PVCM");
}
else {
System.err.println("Given file was not a valid wmo_root file");
}
}