All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class blackmane.quake2.pak.Quake2PakHeader

java.lang.Object
   |
   +----blackmane.quake2.pak.Quake2PakHeader

public class Quake2PakHeader
extends Object

Variable Index

 o directory_length
 o directory_offset
 o magic
 o MAGIC

Method Index

 o directoryLength()
Returns the length of the directory information.
 o directoryOffset()
Returns the offset of the directory information.
 o magic()
 o validPak()
To determine whether this is a valid Pak file, using the magic number.

Variables

 o MAGIC
 public static final int MAGIC
 o magic
 protected int magic
 o directory_offset
 protected int directory_offset
 o directory_length
 protected int directory_length

Methods

 o validPak
 public boolean validPak()
To determine whether this is a valid Pak file, using the magic number.

Returns:
true if the magic number is correct; false otherwise.
 o directoryOffset
 public int directoryOffset()
Returns the offset of the directory information.

Returns:
the offset of the directory.
 o directoryLength
 public int directoryLength()
Returns the length of the directory information.

Returns:
the length of the directory
 o magic
 public int magic()
Returns:
the magic number

All Packages  Class Hierarchy  This Package  Previous  Next  Index