org.jagatoo.loaders.models.bsp
Class BSPVersionDataLoader30

java.lang.Object
  extended by org.jagatoo.loaders.models.bsp.BSPVersionDataLoader30
All Implemented Interfaces:
BSPVersionDataLoader

public class BSPVersionDataLoader30
extends java.lang.Object
implements BSPVersionDataLoader

Loads BSP-level-data for Half-Life-maps (version 30).


Constructor Summary
BSPVersionDataLoader30()
           
 
Method Summary
 void convertFacesToGeometries(BSPScenePrototype prototype, AppearanceFactory appFactory, GeometryFactory geomFactory, boolean convertZup2Yup, float worldScale)
          
static byte[] decompressVis(int numLeafs, byte[] compressed)
           
 BSPScenePrototype loadPrototypeData(org.jagatoo.loaders.models.bsp.BSPFile bspFile, BSPDirectory bspDir, float worldScale, AppearanceFactory appFactory)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BSPVersionDataLoader30

public BSPVersionDataLoader30()
Method Detail

decompressVis

public static byte[] decompressVis(int numLeafs,
                                   byte[] compressed)

loadPrototypeData

public BSPScenePrototype loadPrototypeData(org.jagatoo.loaders.models.bsp.BSPFile bspFile,
                                           BSPDirectory bspDir,
                                           float worldScale,
                                           AppearanceFactory appFactory)
                                    throws java.io.IOException,
                                           IncorrectFormatException,
                                           ParsingException

Specified by:
loadPrototypeData in interface BSPVersionDataLoader
Throws:
java.io.IOException
IncorrectFormatException
ParsingException

convertFacesToGeometries

public void convertFacesToGeometries(BSPScenePrototype prototype,
                                     AppearanceFactory appFactory,
                                     GeometryFactory geomFactory,
                                     boolean convertZup2Yup,
                                     float worldScale)

Specified by:
convertFacesToGeometries in interface BSPVersionDataLoader