Package starlight.taliis.core.chunks.wmo.root

Examples of starlight.taliis.core.chunks.wmo.root.MOMT_Material


    buff.limit(buff.position() + size);
   
    nmat= size/64;
    mats = new MOMT_Material[nmat];
    for(int i=0;i<nmat;i++)
      mats[i] = new MOMT_Material(buff);
   
    pointer.position( pointer.position() + buff.limit() );
  }
View Full Code Here


      // re init out data objects
      buff.position(0x8);
     
      mats = new MOMT_Material[l];
      for(int c=0; c<l; c++)
        mats[c] = new MOMT_Material(buff);
     
    //}
   
    buff.position(0);
  }
View Full Code Here

   * ::Rase the nDoodads in MOHD!
   * @return
   */
  public int addMaterial() {
    // make new array of objects
    MOMT_Material tmp[] = new MOMT_Material[nmat +1];
   
    // copy all data
    for(int c=0; c<nmat; c++) {
      tmp[c]=mats[c];
    }
   
    // remove old references
    mats = tmp;
   
    // create newest entry
    mats[nmat] = new MOMT_Material();

    // set new number
    nmat++;
   
    // we have a new size now
View Full Code Here

TOP

Related Classes of starlight.taliis.core.chunks.wmo.root.MOMT_Material

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.