Package starlight.taliis.core.chunks

Examples of starlight.taliis.core.chunks.unkChunk


      modf = new MODF(buff);

      if (version_flag >= ADT_VERSION_EXPANSION_TBC)
        if (header.getoffsMH2O() != 0) {
          buff.position(base_offs + header.getoffsMH2O());
          mh2o = new unkChunk(buff, "O2HM");

        }
    } catch (ChunkNotFoundException e) {
      // TODO: try to find it manually
      throw new InvalidClassException(e.getMessage());
View Full Code Here


      modf = new MODF(buff);

      if (version_flag >= ADT_VERSION_EXPANSION_TBC)
        if (header.getoffsMH2O() != 0) {
         
          mh2o = new unkChunk(buff, "O2HM");
        }



      mcnk = new MCNK[256];
View Full Code Here

        // 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");
      }
    }
View Full Code Here

    mohd = new MOHD();
    motx = new MOTX();
    momt = new MOMT();
    mogn = new MOGN();
    mogi = new MOGI();
    mosb = new unkChunk("BSOM");
    mopv = new unkChunk("VPOM");
    mopt = new unkChunk("TPOM");
    mopr = new unkChunk("RPOM");
    movv = new unkChunk("VVOM");
    movb = new unkChunk("BVOM");
    molt = new unkChunk("TLOM");
    
     mods = new MODS();
     
   
    modn = new MODN();
    modd = new MODD();
    mfog = new unkChunk("GOFM");
    //mcvp = new MCVP();
  }
View Full Code Here

TOP

Related Classes of starlight.taliis.core.chunks.unkChunk

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.