Examples of MVER


Examples of starlight.taliis.core.chunks.MVER

   */
  public wdt(ByteBuffer databuffer) throws InvalidClassException, ChunkNotFoundException {
    super(databuffer);

    try {
      mver = new MVER(buff);
      mphd = new MPHD(buff);
      main = new MAIN(buff);
      mwmo = new MWMO(buff);

      if(databuffer.hasRemaining()
View Full Code Here

Examples of starlight.taliis.core.chunks.MVER

  /**
   * Creates a complete new and empty world.
   */
  public wdt() {
    mver = new MVER();
    mphd = new MPHD();
    main = new MAIN();
    mwmo = new MWMO();
    mphd.setTerrain(0);
    modf = new MODF();
View Full Code Here

Examples of starlight.taliis.core.chunks.MVER

    init();
  }

  private void init() {
    // create all chunks
    info = new MVER();

    header = new MHDR();
    fieldInfo = new MCIN();

    mtex = new MTEX();
View Full Code Here

Examples of starlight.taliis.core.chunks.MVER

   * @throws ChunkNotFoundException
   */
  private boolean load(ByteBuffer databuffer) throws InvalidClassException {
    // read the version and the header
    try {
      info = new MVER(buff);
    } catch (ChunkNotFoundException e) {
      throw new InvalidClassException("No ADT Version found.");
    }
   
    try {
View Full Code Here

Examples of starlight.taliis.core.chunks.MVER

 
  private void parse(ByteBuffer databuffer) throws InvalidClassException, ChunkNotFoundException{
    // read the version and the header
    buff.position(0);
    try {
      info = new MVER(buff);
    } catch (ChunkNotFoundException e) {
      throw new InvalidClassException("No ADT Version found.");
    }
   
    try {
View Full Code Here

Examples of starlight.taliis.core.chunks.MVER

   * @throws ChunkNotFoundException
   */
  private void parse(ByteBuffer databuffer) throws InvalidClassException {
    // get version
    try {
    mver = new MVER(databuffer);
   
    if(mver.getVersion()==WMO_VERSION_NORMAL||mver.getVersion()==WMO_VERSION_TALIIS) {
      // root or group file?
      if(chunk.nextChunk(databuffer).compareTo("DHOM")==0) {
        // header
View Full Code Here

Examples of starlight.taliis.core.chunks.MVER

   * Creates a new wmo file
   * NOT IMPLEMENTATED RIGHT NOW!
   * @throws ChunkNotFoundException
   */
  private void create() throws ChunkNotFoundException{
    mver = new MVER();
    mohd = new MOHD();
    motx = new MOTX();
    momt = new MOMT();
    mogn = new MOGN();
    mogi = new MOGI();
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.