Package starlight.taliis.core.chunks.adt

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


                  for(int c=0; c<9*9; c++) {
                    check+=data[c];
                  }
                  System.out.println((((check/81)/(divisor))));
                  if(check!=0){
                  obj.mcnk[x*16+y].mclq=new MCLQ();
                  obj.mcnk[x*16+y].setFlags(5);
                  obj.mcnk[x*16+y].mclq.altitude=data[0];
                  obj.mcnk[x*16+y].mclq.baseheight=data[0];
                  for(int c=0; c<9*9; c++) {
                    if(data[c]<obj.mcnk[x*16+y].mclq.altitude)
 
View Full Code Here


        obj.mcnk[i].mclq.baseheight=height;
        for(int k=0;k<9*9;k++)
        obj.mcnk[i].mclq.setHeight(k, height);
      }
      else{
        obj.mcnk[i].mclq=new MCLQ();
        obj.mcnk[i].setFlags(5);
        obj.mcnk[i].mclq.altitude=height;
        obj.mcnk[i].mclq.baseheight=height;
        for(int k=0;k<9*9;k++)
        obj.mcnk[i].mclq.setHeight(k, height);
View Full Code Here

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

TOP

Related Classes of starlight.taliis.core.chunks.adt.MCLQ

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.