Свойство | Тип | Описание | |
---|---|---|---|
options |
Метод | Описание | |
---|---|---|
DumpContents ( ) : void |
Debug method.
|
|
ExtractLightmaps ( ) : void |
Extracts the embedded lightmap texture data and loads them as textures. Calling this method makes the lightmap texture data embedded in the .bsp file available to the renderer. Lightmaps are extracted and loaded as Texture objects (subclass specific to RenderSystem subclass) and are named "@lightmap1", "@lightmap2" etc. |
|
Initialize ( ) : void |
Utility function read the header.
|
|
Initialize ( bool headerOnly ) : void | ||
LoadFromStream ( Stream inChunk ) : void |
Reads Quake3 bsp data from a chunk of memory as read from the file. Since ResourceManagers generally locate data in a variety of places they typically manipulate them as a chunk of data, rather than a file pointer since this is unsupported through compressed archives. Quake3 files are made up of a header (which contains version info and a table of the contents) and 17 'lumps' i.e. sections of data, the offsets to which are kept in the table of contents. The 17 types are predefined. |
|
LoadHeaderFromStream ( Stream inStream ) : void | ||
Quake3Level ( |
Метод | Описание | |
---|---|---|
InitializeCounts ( |
||
InitializeData ( |
Метод | Описание | |
---|---|---|
ReadBrushSides ( |
||
ReadBrushes ( |
||
ReadElements ( |
||
ReadEntities ( |
||
ReadFaces ( |
||
ReadLeafBrushes ( |
||
ReadLeafFaces ( |
||
ReadLeaves ( |
||
ReadModels ( |
||
ReadNodes ( |
||
ReadPlanes ( |
||
ReadShaders ( |
||
ReadVertices ( |
||
ReadVisData ( |
||
Swap ( float &num1, float &num2 ) : void | ||
Swap ( int &num1, int &num2 ) : void | ||
TransformBoundingBox ( float bb ) : void | ||
TransformBoundingBox ( int bb ) : void | ||
TransformPlane ( float norm, float &dist ) : void | ||
TransformVector ( float v ) : void | ||
TransformVector ( float v, bool isNormal ) : void | ||
TransformVector ( float v, bool isNormal, int pos ) : void | ||
TransformVector ( float v, int pos ) : void |
public Initialize ( bool headerOnly ) : void | ||
headerOnly | bool | |
Результат | void |
protected InitializeCounts ( |
||
reader | ||
Результат | void |
protected InitializeData ( |
||
reader | ||
Результат | void |
public LoadFromStream ( Stream inChunk ) : void | ||
inChunk | Stream | |
Результат | void |
public LoadHeaderFromStream ( Stream inStream ) : void | ||
inStream | Stream | |
Результат | void |
public Quake3Level ( |
||
options | ||
Результат | System |