Examples of MARE


Examples of starlight.taliis.core.chunks.wdl.MARE

          heightmap[c]=(short)(0x00ff-temp);
       
        int posx,posy;
        posy=Integer.parseInt(result.f.getAbsolutePath().substring(result.f.getAbsolutePath().length()-6, result.f.getAbsolutePath().length()-4));
        posx=Integer.parseInt(result.f.getAbsolutePath().substring(result.f.getAbsolutePath().length()-9, result.f.getAbsolutePath().length()-7));
        if(obj.mare[posy*64+posx]==null)obj.mare[posy*64+posx]=new MARE();
        for(int i=0;i<16*16;i++){
          obj.mare[posy*64+posx].setInnerHeight(i,heightmap[i]);
        }
       
        //this sucks but I'm too lazy atm to find a better way
View Full Code Here

Examples of starlight.taliis.core.chunks.wdl.MARE

    BufferedImage img = new BufferedImage(1024, 1024, BufferedImage.TYPE_INT_RGB);
    for(int x=0; x<64; x++) {
      for(int y=0; y<64; y++) {
        if(obj.mare[x*64+y]!=null){
        MARE mare=obj.mare[x*64+y];
        // preload data
        int data[] = new int[16*16];
 
        for(int i=0; i<16*16; i++){
          data[i]=0xffffff-mare.innerheight[i]
View Full Code Here

Examples of starlight.taliis.core.chunks.wdl.MARE

    BufferedImage img = new BufferedImage(1024, 1024, BufferedImage.TYPE_INT_RGB);
    for(int x=0; x<64; x++) {
      for(int y=0; y<64; y++) {
       
        if(obj.maof.getOffset(x, y)!=0){
        MARE mare=obj.mare[x*64+y];
        // preload data
        int data[] = new int[16*16];
 
        for(int i=0; i<16*16; i++){
          data[i]=0xffffff-mare.innerheight[i]
View Full Code Here

Examples of starlight.taliis.core.chunks.wdl.MARE

    for(int x=0;x<64;x++){
      for(int y=0;y<64;y++){
        if(maof.getOffset(x, y)!=0){
          buff.position(maof.getOffset(x, y));
          try {
            mare[y+x*64] = new MARE(buff);
            if(databuffer.hasRemaining()&& chunk.nextChunk(databuffer).compareTo("OHAM")==0)
            {maho[y+x*64] = new MAHO(buff);
            has_maho=true;
            }
          } catch(ChunkNotFoundException e) {
View Full Code Here

Examples of starlight.taliis.core.chunks.wdl.MARE

              heightmap[c]=(short)(temp);
           
            int posx,posy;
            posy=y;
            posx=x;
            obj.mare[posy*64+posx]=new MARE();
            for(int i=0;i<16*16;i++){
              obj.mare[posy*64+posx].setInnerHeight(i,heightmap[i]);
            }
           
            //this sucks but I'm too lazy atm to find a better way
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.