Examples of MOMT_Material


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

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

      // 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

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

   * ::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
Copyright © 2018 www.massapi.com. 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.