Package starlight.taliis.core.binary.m2

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


      // * 5.2 Particle emitters
   
    particles=new particleemitters[header.getnParticles()];
    buff.position(header.getofsParticles());
    for(int i=0;i<header.getnParticles();i++){
      particles[i]=new particleemitters(buff);
    }
    //the values of the fakeanimblocks first as they're the easy
    particlecolor=new float[header.getnParticles()][];
    for(int i=0;i<header.getnParticles();i++){
      particlecolor[i]=new float[particles[i].particlecolor.getnKeys()];
View Full Code Here


    // 5 Effects
      // * 5.1 Ribbon emitters
      buff.position(header.getofsRibbons());
      ribbon=new ribbons[header.getnRibbons()];
      for(int i=0;i<header.getnRibbons();i++){
        ribbon[i]=new ribbons(buff);
      }
     
      ribbonreftex=new int[ribbon.length][];
      ribbonintegers=new int[ribbon.length][];
      ribboncolor=new float[ribbon.length][][][];
View Full Code Here

    header=new Header();
    modelname=new ZeroTerminatedString("Test");
    anims=new AnimSequ[1];
    anims[0]=new AnimSequ();
    bone=new Bones[1];
    bone[0]=new Bones();
    bonelookup=new short[1];
    bonelookup[0]=0;
   
    keybonelookup=new short[1];
    keybonelookup[0]=-1;
View Full Code Here

    nBones= header.getnBones();
    ofsBones= header.getofsBones();
    buff.position(ofsBones);
    bone=new Bones[nBones];
    for(int i=0;i<nBones;i++){
      bone[i]=new Bones(buff);
    }
    System.out.println("Loaded Bones\n");
    buff.position(header.getofsBonelookup());
    bonelookup=new short[header.getnBonelookup()];
    for(int i=0;i<header.getnBonelookup();i++)
View Full Code Here

  }
 
  public void setnBones(int val){
    bone=new Bones[val];
    for(int i=0;i<val;i++){
      bone[i]=new Bones();
    }
  }
View Full Code Here

   
    texanimlookup=new short[1];
    texanimlookup[0]=-1;
   
    renderflags=new Renderflags[1];
    renderflags[0]=new Renderflags();
  }
View Full Code Here

      texreplace[i]=buff.getShort();
    }
    renderflags=new Renderflags[header.getnRenderFlags()];
    buff.position(header.getofsRenderFlags());
    for(int i=0;i<header.getnRenderFlags();i++){
      renderflags[i]=new Renderflags(buff);
    }
    //transpareny
    transparency=new AnimationBlock[header.getnTransparency()];
    buff.position(0);
    int ofsTrans =header.getofsTransparency();
View Full Code Here

    transparency=new AnimationBlock[1];
    transparency[0]=new AnimationBlock();
   
    texdefs=new TexDef[1];
    texdefs[0]=new TexDef();
    texdefs[0].setType(0x0);
   
    textures=new ZeroTerminatedString[1];
    textures[0]=new ZeroTerminatedString("World\\Scale\\1_Null.blp");
   
View Full Code Here

    buff.position(ofsTextures);
    texdefs=new TexDef[nTextures];
    texlength=new int[nTextures];
    texoffs= new int[nTextures];
    for(int i=0;i<nTextures;i++){
      texdefs[i]=new TexDef(buff);
      texlength[i]=texdefs[i].getlenFilename();
      texoffs[i]=texdefs[i].getofsFilename();

    }
   
View Full Code Here

    TexDef[] tmp=texdefs;
    texdefs=new TexDef[texdefs.length+1];
    for(int i=0;i<tmp.length;i++){
      texdefs[i]=tmp[i];
    }
    texdefs[tmp.length]=new TexDef();
    ZeroTerminatedString[] temp=textures;
    textures=new ZeroTerminatedString[textures.length+1];
    for(int i=0;i<temp.length;i++){
      textures[i]=temp[i];
    }
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.