org.jagatoo.loaders.models.bsp.lumps
Class BSPDirectory

java.lang.Object
  extended by org.jagatoo.loaders.models.bsp.lumps.BSPDirectory
Direct Known Subclasses:
BSPDirectory30, BSPDirectory46

public abstract class BSPDirectory
extends java.lang.Object

TODO: Insert package comments here.


Field Summary
 int kBrushes
          Stores the brushes info (for collision)
 int kBrushSides
          Stores the brush surfaces info
 int kEntities
          Stores player/object positions, etc...
 int kFaces
          Stores the faces for the level
 int kLeafBrushes
          Stores the leaf's indices into the brushes
 int kLeafFaces
          Stores the leaf's indices into the faces
 int kLeafs
          Stores the leafs of the nodes
 int kLightmaps
          Stores the lightmaps for the level
 int kLightVolumes
          Stores extra world lighting information
 int kMaxLumps
          A constant to store the number of lumps
 int kMeshVerts
          Stores the model vertices offsets
 int kModels
          Stores the info of world models
 int kNodes
          Stores the BSP nodes
 int kPlanes
          Stores the splitting planes
 int kShaders
          Stores the shader files (blending, anims..)
 int kSurfEdges
           
 int kTextures
          Stores texture information
 int kVertices
          Stores the level vertices
 int kVisData
          Stores PVS and cluster info (visibility)
 
Constructor Summary
BSPDirectory(int version, int kEntities, int kTextures, int kPlanes, int kNodes, int kLeafs, int kLeafFaces, int kLeafBrushes, int kModels, int kBrushes, int kBrushSides, int kVertices, int kMeshVerts, int kShaders, int kFaces, int kLightmaps, int kLightVolumes, int kVisData, int kSurfEdges, int kMaxLumps)
           
 
Method Summary
abstract  BSPVersionDataLoader getDataLoader()
           
 int getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kEntities

public final int kEntities
Stores player/object positions, etc...


kTextures

public final int kTextures
Stores texture information


kPlanes

public final int kPlanes
Stores the splitting planes


kNodes

public final int kNodes
Stores the BSP nodes


kLeafs

public final int kLeafs
Stores the leafs of the nodes


kLeafFaces

public final int kLeafFaces
Stores the leaf's indices into the faces


kLeafBrushes

public final int kLeafBrushes
Stores the leaf's indices into the brushes


kModels

public final int kModels
Stores the info of world models


kBrushes

public final int kBrushes
Stores the brushes info (for collision)


kBrushSides

public final int kBrushSides
Stores the brush surfaces info


kVertices

public final int kVertices
Stores the level vertices


kMeshVerts

public final int kMeshVerts
Stores the model vertices offsets


kShaders

public final int kShaders
Stores the shader files (blending, anims..)


kFaces

public final int kFaces
Stores the faces for the level


kLightmaps

public final int kLightmaps
Stores the lightmaps for the level


kLightVolumes

public final int kLightVolumes
Stores extra world lighting information


kVisData

public final int kVisData
Stores PVS and cluster info (visibility)


kSurfEdges

public final int kSurfEdges

kMaxLumps

public final int kMaxLumps
A constant to store the number of lumps

Constructor Detail

BSPDirectory

public BSPDirectory(int version,
                    int kEntities,
                    int kTextures,
                    int kPlanes,
                    int kNodes,
                    int kLeafs,
                    int kLeafFaces,
                    int kLeafBrushes,
                    int kModels,
                    int kBrushes,
                    int kBrushSides,
                    int kVertices,
                    int kMeshVerts,
                    int kShaders,
                    int kFaces,
                    int kLightmaps,
                    int kLightVolumes,
                    int kVisData,
                    int kSurfEdges,
                    int kMaxLumps)
Method Detail

getVersion

public final int getVersion()

getDataLoader

public abstract BSPVersionDataLoader getDataLoader()
Returns:
a BSPVersionDataLoader, that loads the lump-data in the way, the version wants it.