Examples of MCSH


Examples of starlight.taliis.core.chunks.adt.MCSH

      if(of==null) return;
     
      if(of.obj instanceof adt) {
        for(int c=0; c<256; c++) {
          // get all shadow layers
          MCSH layer = ((adt)of.obj).mcnk[c].mcsh;

          // delete
          ByteBuffer b = layer.buff;
          b.position(layer.data);
          while(b.hasRemaining()) b.putInt(0xffffffff);
View Full Code Here

Examples of starlight.taliis.core.chunks.adt.MCSH

    else if(e.getSource()==miKillShadows) {
      if(obj.getVersion()==adt.ADT_VERSION_NORMAL
         || obj.getVersion()==adt.ADT_VERSION_EXPANSION_TBC) {
         
        for(int c=0; c<256; c++) {
          obj.mcnk[c].mcsh= new MCSH();
        }
      } 
      else {
        System.err.println("ADT Version is not suported jet.");
      }
View Full Code Here

Examples of starlight.taliis.core.chunks.adt.MCSH

                              64,      //int w,
                              1,      //int h,
                              data,      //int[] rgbArray,
                              c*64,      //int offset,
                              64);      //int scansize
            obj.mcnk[y*16+x].mcsh=new MCSH();
            obj.mcnk[y*16+x].mcsh.setData(data);
          }
      }
       
     
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.