Package starlight.taliis.core.binary.m2

Examples of starlight.taliis.core.binary.m2.AnimSubStructure


        }
        ribbonintegers[i]=new int[ribbon[i].getnInt()];
        for(int k=0;k<ribbon[i].getnInt();k++){
          ribbonintegers[i][k]=buff.getInt();
        }
        AnimSubStructure temp[];
       
        ribboncolor[i]=new float[ribbon[i].Color.getnKeySubstructures()][][];
        temp=new AnimSubStructure[ribbon[i].Color.getnKeySubstructures()];
        buff.position(ribbon[i].Color.getofsKeySubstructures());
        for(int k=0;k<ribbon[i].Color.getnKeySubstructures();k++){
          temp[k]=new AnimSubStructure(buff);
        }
        for(int k=0;k<ribbon[i].Color.getnKeySubstructures();k++){
          ribboncolor[i][k]=new float[temp[k].getnValues()][3];
          buff.position(temp[k].getofsValues());
          for(int j=0;j<temp[k].getnValues();j++){
            for(int n=0;n<3;n++){
            ribboncolor[i][k][j][n]=buff.getFloat();
           
            }
          }
        }
       
        ribbonopacity[i]=new short[ribbon[i].Opacity.getnKeySubstructures()][];
        temp=new AnimSubStructure[ribbon[i].Opacity.getnKeySubstructures()];
        buff.position(ribbon[i].Opacity.getofsKeySubstructures());
        for(int k=0;k<ribbon[i].Opacity.getnKeySubstructures();k++){
          temp[k]=new AnimSubStructure(buff);
        }
        for(int k=0;k<ribbon[i].Opacity.getnKeySubstructures();k++){
          ribbonopacity[i][k]=new short[temp[k].getnValues()];
          buff.position(temp[k].getofsValues());
          for(int j=0;j<temp[k].getnValues();j++){
            ribbonopacity[i][k][j]=buff.getShort();
         
          }
        }
       
        ribbonabove[i]=new float[ribbon[i].Above.getnKeySubstructures()][];
        temp=new AnimSubStructure[ribbon[i].Above.getnKeySubstructures()];
        buff.position(ribbon[i].Above.getofsKeySubstructures());
        for(int k=0;k<ribbon[i].Above.getnKeySubstructures();k++){
          temp[k]=new AnimSubStructure(buff);
        }
        for(int k=0;k<ribbon[i].Above.getnKeySubstructures();k++){
          ribbonabove[i][k]=new float[temp[k].getnValues()];
          buff.position(temp[k].getofsValues());
          for(int j=0;j<temp[k].getnValues();j++){
            ribbonabove[i][k][j]=buff.getFloat();
         
          }
        }
       
        ribbonbelow[i]=new float[ribbon[i].Below.getnKeySubstructures()][];
        temp=new AnimSubStructure[ribbon[i].Below.getnKeySubstructures()];
        buff.position(ribbon[i].Below.getofsKeySubstructures());
        for(int k=0;k<ribbon[i].Below.getnKeySubstructures();k++){
          temp[k]=new AnimSubStructure(buff);
        }
        for(int k=0;k<ribbon[i].Below.getnKeySubstructures();k++){
          ribbonbelow[i][k]=new float[temp[k].getnValues()];
          buff.position(temp[k].getofsValues());
          for(int j=0;j<temp[k].getnValues();j++){
            ribbonbelow[i][k][j]=buff.getFloat();
         
          }
        }
       
        ribbonunk1[i]=new int[ribbon[i].Unk1.getnKeySubstructures()][];
        temp=new AnimSubStructure[ribbon[i].Unk1.getnKeySubstructures()];
        buff.position(ribbon[i].Unk1.getofsKeySubstructures());
        for(int k=0;k<ribbon[i].Unk1.getnKeySubstructures();k++){
          temp[k]=new AnimSubStructure(buff);
        }
        for(int k=0;k<ribbon[i].Unk1.getnKeySubstructures();k++){
          ribbonunk1[i][k]=new int[temp[k].getnValues()];
          buff.position(temp[k].getofsValues());
          for(int j=0;j<temp[k].getnValues();j++){
            ribbonunk1[i][k][j]=buff.getInt();
         
          }
        }
       
        ribbonunk2[i]=new int[ribbon[i].Unk2.getnKeySubstructures()][];
        temp=new AnimSubStructure[ribbon[i].Unk2.getnKeySubstructures()];
        buff.position(ribbon[i].Unk2.getofsKeySubstructures());
        for(int k=0;k<ribbon[i].Unk2.getnKeySubstructures();k++){
          temp[k]=new AnimSubStructure(buff);
        }
        for(int k=0;k<ribbon[i].Unk2.getnKeySubstructures();k++){
          ribbonunk2[i][k]=new int[temp[k].getnValues()];
          buff.position(temp[k].getofsValues());
          for(int j=0;j<temp[k].getnValues();j++){
View Full Code Here


  }
 
  public short[][] getTransparency(int n){
    short[][] s = null;
    buff.position(transparency[n].getofsKeySubstructures());
    AnimSubStructure temp[] = new AnimSubStructure[transparency[n].getnKeySubstructures()];
    for(int i=0;i<transparency[n].getnKeySubstructures();i++){
      temp[i]=new AnimSubStructure(buff);
    }
    s=new short[transparency[n].getnKeySubstructures()][];
    for(int i=0;i<transparency[n].getnKeySubstructures();i++){
    if(temp[i].getnValues()!=0||temp[i].getofsValues()!=0){
      buff.position(temp[i].getofsValues());
View Full Code Here

    return s;
  }
 
  public void setTransparency(short val,int n){
    buff.position(transparency[n].getofsKeySubstructures());
    AnimSubStructure temp[] = new AnimSubStructure[transparency[n].getnKeySubstructures()];
    for(int i=0;i<transparency[n].getnKeySubstructures();i++){
      temp[i]=new AnimSubStructure(buff);
    }
    buff.position(temp[n].getofsValues());
    for(int i=0;i<temp[n].getnValues();i++) buff.putShort(val);
  }
View Full Code Here

          tmp.put(transparency[i].buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<transparency.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.setnValues(1);
          temp.setofsValues(ro+i*Short.SIZE+AnimSubStructure.end*transparency.length+(16-(AnimSubStructure.end*transparency.length)%16)+AnimSubStructure.end*transparency.length+(16-(AnimSubStructure.end*transparency.length)%16));
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<transparency.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.setnValues(1);          //+(transparency.length*Short.SIZE)
          temp.setofsValues(ro+(AnimSubStructure.end*transparency.length)+(16-(AnimSubStructure.end*transparency.length)%16)+(i*Short.SIZE)+(16-(transparency.length*Short.SIZE)%16));
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<transparency.length;i++){
          tmp.putShort((short) 0);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<transparency.length;i++){
          tmp.putShort((short) 0x7fff);
        }
        fillLine(tmp);
        ro=tmp.position();
        header.setnTransLookup(transparency.length);
        header.setofsTransLookup(ro);
        for(int i=0;i<transparency.length;i++){
          tmp.putShort((short) i);
        }
        fillLine(tmp);
        ro=tmp.position();
      }
      if(texdefs!=null){
        ro=tmp.position();
        header.setnTextures(texdefs.length);
        header.setofsTextures(ro);
        for(int i=0;i<texdefs.length;i++){
          int texofs=0;
          texofs+=ro+texdefs.length*TexDef.end+(16-(texdefs.length*TexDef.end)%0x10);
          for(int j=0;j<i;j++){
            texofs+=textures[j].toString().length()+1+(16-(textures[j].toString().length()+1)%0x10);
          }
         
          texdefs[i].setlenFilename(textures[i].toString().length()+1);
          texdefs[i].setofsFilename(texofs);
          texdefs[i].render();
          tmp.put(texdefs[i].buff);
        }
        fillLine(tmp);
        int[] texpos=new int[textures.length];
        for(int i=0;i<textures.length;i++){
          texpos[i]=tmp.position();
          textures[i].render();
          tmp.put(textures[i].toString().getBytes());
          tmp.put((byte) 0);
          fillLine(tmp);
        }
        ro=tmp.position();
      }
      if(texturelookup!=null){
        header.setnTexLookup(texturelookup.length);
        header.setofsTexLookup(ro);
        for(int i=0;i<texturelookup.length;i++){
          tmp.putShort(texturelookup[i]);
        }
        fillLine(tmp);
        ro=tmp.position();
      }
      if(texunits!=null){
        header.setnTexUnits(texunits.length);
        header.setofsTexUnits(ro);
        for(int i=0;i<texunits.length;i++){
          tmp.putShort(texunits[i]);
        }
        fillLine(tmp);
        ro=tmp.position();
      }
      if(texreplace!=null){
        header.setnTexReplace(texreplace.length);
        header.setofsTexReplace(ro);
        for(int i=0;i<texreplace.length;i++){
          tmp.putShort(texreplace[i]);
        }
        fillLine(tmp);
        ro=tmp.position();
      }
      if(texanimlookup!=null){
        header.setnTexAnimLookup(texanimlookup.length);
        header.setofsTexAnimLookup(ro);
        for(int i=0;i<texanimlookup.length;i++){
          tmp.putShort(texanimlookup[i]);
        }
        fillLine(tmp);
        ro=tmp.position();
      }
      if(renderflags!=null){
        header.setnRenderFlags(renderflags.length);
        header.setofsRenderFlags(ro);
        for(int i=0;i<renderflags.length;i++){
          renderflags[i].render();
          tmp.put(renderflags[i].buff);
        }
        fillLine(tmp);
        ro=tmp.position();
      }
      if(boundingtriangles!=null){
        header.setnBoundingTriangles(boundingtriangles.length);
        header.setofsBoundingTriangles(ro);
        for(int i=0;i<boundingtriangles.length;i++){
          for(int k=0;k<3;k++){
            tmp.putShort(boundingtriangles[i][k]);
          }
        }
        fillLine(tmp);
        ro=tmp.position();
      }
     
      if(boundingvertices!=null){
        header.setnBoundingVertices(boundingvertices.length);
        header.setofsBoundingVertices(ro);
        for(int i=0;i<boundingvertices.length;i++){
          for(int k=0;k<3;k++){
            tmp.putFloat(boundingvertices[i][k]);
          }
        }
        fillLine(tmp);
        ro=tmp.position();
      }
      if(boundingnormals!=null){
        header.setnBoundingNormals(boundingnormals.length);
        header.setofsBoundingNormals(ro);
        for(int i=0;i<boundingnormals.length;i++){
          for(int k=0;k<3;k++){
            tmp.putFloat(boundingnormals[i][k]);
          }
        }
        fillLine(tmp);
        ro=tmp.position();
      }
      if(attachments!=null){
        header.setnAttachment(attachments.length);
        header.setofsAttachment(ro);
        for(int i=0;i<attachments.length;i++){
          attachments[i].render();
          tmp.put(attachments[i].buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        header.setnAttachmentlookup(attachments.length);
        header.setofsAttachmentlookup(ro);
        for(int i=0;i<attachments.length;i++){
          tmp.putShort((short) i);
        }
        fillLine(tmp);
        ro=tmp.position();
      }
     
     
      if(ribbon!=null){
        header.setnRibbons(ribbon.length);
        header.setofsRibbons(ro);
        for(int i=0;i<ribbon.length;i++){
          ribbon[i].Color.setnTimeSubstructures(1);
          ribbon[i].Color.setofsTimeSubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16));
          ribbon[i].Opacity.setnTimeSubstructures(1);
          ribbon[i].Opacity.setofsTimeSubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+1*(ribbon.length*AnimSubStructure.end)+1*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Above.setnTimeSubstructures(1);
          ribbon[i].Above.setofsTimeSubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+2*(ribbon.length*AnimSubStructure.end)+2*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Below.setnTimeSubstructures(1);
          ribbon[i].Below.setofsTimeSubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+3*(ribbon.length*AnimSubStructure.end)+3*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Unk1.setnTimeSubstructures(1);
          ribbon[i].Unk1.setofsTimeSubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+4*(ribbon.length*AnimSubStructure.end)+4*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Unk2.setnTimeSubstructures(1);
          ribbon[i].Unk2.setofsTimeSubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+5*(ribbon.length*AnimSubStructure.end)+5*(16-(AnimSubStructure.end*ribbon.length)%16));
         
          ribbon[i].Color.setnKeySubstructures(1);
          ribbon[i].Color.setofsKeySubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+6*(ribbon.length*AnimSubStructure.end)+6*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Opacity.setnKeySubstructures(1);
          ribbon[i].Opacity.setofsKeySubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+7*(ribbon.length*AnimSubStructure.end)+7*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Above.setnKeySubstructures(1);
          ribbon[i].Above.setofsKeySubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+8*(ribbon.length*AnimSubStructure.end)+8*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Below.setnKeySubstructures(1);
          ribbon[i].Below.setofsKeySubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+9*(ribbon.length*AnimSubStructure.end)+9*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Unk1.setnKeySubstructures(1);
          ribbon[i].Unk1.setofsKeySubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+10*(ribbon.length*AnimSubStructure.end)+10*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].Unk2.setnKeySubstructures(1);
          ribbon[i].Unk2.setofsKeySubstructures(ro+(i*AnimSubStructure.end)+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+11*(ribbon.length*AnimSubStructure.end)+11*(16-(AnimSubStructure.end*ribbon.length)%16));
         
          int temp=0;
          ribbon[i].setnInt(ribbonintegers[i].length);         
          for(int k=0;k<i;k++){
            temp+=ribbonintegers[k].length*Integer.SIZE+(16-(ribbonintegers[k].length*Integer.SIZE)%16);
          }
          ribbon[i].setofsInt(ro+temp+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+12*(ribbon.length*AnimSubStructure.end)+12*(16-(AnimSubStructure.end*ribbon.length)%16));
          ribbon[i].setnTexture(ribbonreftex[i].length);         
          temp=0;
          for(int k=0;k<ribbon.length;k++){
            temp+=ribbonintegers[k].length*Integer.SIZE+(16-(ribbonintegers[k].length*Integer.SIZE)%16);
          }
          for(int k=0;k<ribbon.length;k++){
            temp+=ribbonreftex[k].length*Integer.SIZE+(16-(ribbonreftex[k].length*Integer.SIZE)%16);
          }
          ribbon[i].setofsTextures(ro+temp+ribbons.end*ribbon.length+(16-(ribbons.end*ribbon.length)%16)+12*(ribbon.length*AnimSubStructure.end)+12*(16-(AnimSubStructure.end*ribbon.length)%16));
         
          ribbon[i].render();
          tmp.put(ribbon[i].buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int k=0;k<6;k++){
        for(int i=0;i<ribbon.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        }
        ro=tmp.position();
        int calc=0;
        for(int k=0;k<ribbon.length;k++){
          calc+=ribbonintegers[k].length*Integer.SIZE+(16-(ribbonintegers[k].length*Integer.SIZE)%16);
        }
        for(int k=0;k<ribbon.length;k++){
          calc+=ribbonreftex[k].length*Integer.SIZE+(16-(ribbonreftex[k].length*Integer.SIZE)%16);
        }
        for(int i=0;i<ribbon.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.setnValues(1);
          temp.setofsValues(calc+ro
              +i*3*Float.SIZE+
              6*(AnimSubStructure.end*ribbon.length)+6*(16-(AnimSubStructure.end*ribbon.length)%16)+AnimSubStructure.end*transparency.length+(16-(AnimSubStructure.end*transparency.length)%16));
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<ribbon.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.setnValues(1);
          temp.setofsValues(ro+calc+
              i*Short.SIZE
              +ribbon.length*3*Float.SIZE+(16-(ribbon.length*3*Float.SIZE)%16)+6*(AnimSubStructure.end*ribbon.length)+6*(16-(AnimSubStructure.end*ribbon.length)%16)+AnimSubStructure.end*transparency.length+(16-(AnimSubStructure.end*transparency.length)%16));
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<ribbon.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.setnValues(1);
          temp.setofsValues(ro+calc
              +i*Float.SIZE
              +ribbon.length*Short.SIZE+(16-(ribbon.length*Short.SIZE)%16)+ribbon.length*3*Float.SIZE+(16-(ribbon.length*3*Float.SIZE)%16)+6*(AnimSubStructure.end*ribbon.length)+6*(16-(AnimSubStructure.end*ribbon.length)%16)+AnimSubStructure.end*transparency.length+(16-(AnimSubStructure.end*transparency.length)%16));
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<ribbon.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.setnValues(1);
          temp.setofsValues(ro+calc
              +i*Float.SIZE+ribbon.length*Float.SIZE+(16-(ribbon.length*Float.SIZE)%16)+ribbon.length*Short.SIZE+(16-(ribbon.length*Short.SIZE)%16)+ribbon.length*3*Float.SIZE+(16-(ribbon.length*3*Float.SIZE)%16)+6*(AnimSubStructure.end*ribbon.length)+6*(16-(AnimSubStructure.end*ribbon.length)%16)+AnimSubStructure.end*transparency.length+(16-(AnimSubStructure.end*transparency.length)%16));
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<ribbon.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.setnValues(1);
          temp.setofsValues(ro+calc
              +i*Integer.SIZE+2*ribbon.length*Float.SIZE+2*(16-(ribbon.length*Float.SIZE)%16)+ribbon.length*Short.SIZE+(16-(ribbon.length*Short.SIZE)%16)+ribbon.length*3*Float.SIZE+(16-(ribbon.length*3*Float.SIZE)%16)+6*(AnimSubStructure.end*ribbon.length)+6*(16-(AnimSubStructure.end*ribbon.length)%16)+AnimSubStructure.end*transparency.length+(16-(AnimSubStructure.end*transparency.length)%16));
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<ribbon.length;i++){
          AnimSubStructure temp=new AnimSubStructure();
          temp.setnValues(1);
          temp.setofsValues(ro+calc
              +i*Integer.SIZE+ribbon.length*Integer.SIZE+(16-(ribbon.length*Integer.SIZE)%16)+2*ribbon.length*Float.SIZE+2*(16-(ribbon.length*Float.SIZE)%16)+ribbon.length*Short.SIZE+(16-(ribbon.length*Short.SIZE)%16)+ribbon.length*3*Float.SIZE+(16-(ribbon.length*3*Float.SIZE)%16)+6*(AnimSubStructure.end*ribbon.length)+6*(16-(AnimSubStructure.end*ribbon.length)%16)+AnimSubStructure.end*transparency.length+(16-(AnimSubStructure.end*transparency.length)%16));
          temp.render();
          tmp.put(temp.buff);
        }
        fillLine(tmp);
        ro=tmp.position();
        for(int i=0;i<ribbon.length;i++){
View Full Code Here

  public Camerablock(ByteBuffer databuffer){
    super(databuffer);

    buff.limit( end );
    buff.position(TranslationPos);
    TransPos=new AnimationBlock(buff);
    buff.position(TranslationTar);
    TransTar= new AnimationBlock(buff);
    buff.position(Scaling);
    Scale=new AnimationBlock(buff);
    databuffer.position( databuffer.position() + buff.limit());
  }
View Full Code Here

  public attachmentblock1(ByteBuffer databuffer){
    super(databuffer);

    buff.limit( end );
    buff.position(Data);
    Dat=new AnimationBlock(buff);
    databuffer.position( databuffer.position() + buff.limit());
  }
View Full Code Here

  public ribbons(ByteBuffer databuffer){
    super(databuffer);
    buff.limit( end );
   
    buff.position(AColor);
    Color=new AnimationBlock(buff);
    buff.position(AOpacity);
    Opacity=new AnimationBlock(buff);
    buff.position(AAbove);
    Above=new AnimationBlock(buff);
    buff.position(ABelow);
    Below=new AnimationBlock(buff);
   
    buff.position(Aunk1);
    Unk1=new AnimationBlock(buff);
    buff.position(Aunk2);
    Unk2=new AnimationBlock(buff);
    buff.position(0);
    databuffer.position( databuffer.position() + buff.limit());
  }
View Full Code Here

    databuffer.position( databuffer.position() + buff.limit());
  }
 
  public ribbons(){
    super(end);
    Color=new AnimationBlock();
    Opacity=new AnimationBlock();
    Above=new AnimationBlock();
    Below=new AnimationBlock();
    Unk1=new AnimationBlock();
    Unk2=new AnimationBlock();
  }
View Full Code Here

 
  public Bones(ByteBuffer databuffer){
    super(databuffer);
   
    buff.position(Translation);
    Trans=new AnimationBlock(buff);
    buff.position(Rotation);
    Rot=new AnimationBlock(buff);
    buff.position(Scaling);
    Scale=new AnimationBlock(buff);
    buff.limit( end );
   
    databuffer.position( databuffer.position() + buff.limit());
  }
View Full Code Here

 
  public Bones(){
    super(end);
    buff.putInt(AnimationSeq,-1);
    buff.putShort(ParentBone,(short) -1);
    Trans=new AnimationBlock();
    Rot=new AnimationBlock();
    Scale=new AnimationBlock();
    buff.position(0);
  }
View Full Code Here

TOP

Related Classes of starlight.taliis.core.binary.m2.AnimSubStructure

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.