OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Public Member Functions | Protected Member Functions | List of all members
LoaderTR3 Class Reference

#include <LoaderTR3.h>

Inheritance diagram for LoaderTR3:
[legend]
Collaboration diagram for LoaderTR3:
[legend]

Public Member Functions

virtual int load (std::string f)
 

Protected Member Functions

virtual void loadRoomLights ()
 
virtual void loadRoomDataEnd (int16_t &alternateRoom, unsigned int &roomFlags)
 
virtual void loadRoomMesh (std::vector< IndexedRectangle > &rectangles, std::vector< IndexedRectangle > &triangles, uint16_t &numRectangles, uint16_t &numTriangles)
 
- Protected Member Functions inherited from LoaderTR2
virtual void loadPalette ()
 
virtual void loadTextures ()
 
virtual void loadRoomStaticMeshes (std::vector< StaticModel * > &staticModels)
 
virtual void loadRoomVertex (RoomVertexTR2 &vert)
 
virtual void loadRooms ()
 
virtual void loadFloorData ()
 
virtual void loadMeshes ()
 
virtual void loadMoveables ()
 
virtual void loadStaticMeshes ()
 
virtual void loadTextiles ()
 
virtual void loadSprites ()
 
virtual void loadCameras ()
 
virtual void loadSoundSources ()
 
virtual void loadBoxesOverlapsZones ()
 
virtual void loadAnimatedTextures ()
 
virtual void loadItems ()
 
virtual void loadCinematicFrames ()
 
virtual void loadDemoData ()
 
virtual void loadSoundMap ()
 
virtual void loadSoundDetails ()
 
virtual void loadSampleIndices ()
 
virtual void loadExternalSoundFile (std::string f)
 
virtual int loadSoundFiles (BinaryReader &sfx, unsigned int count=0)
 
virtual int getPaletteIndex (uint16_t index)
 
virtual void loadAngleSet (BoneFrame *bf, BinaryReader &frame, uint16_t numMeshes, uint16_t startingMesh, uint32_t meshTree, uint32_t numMeshTrees, std::vector< int32_t > meshTrees)
 
virtual BoneFrameloadFrame (BinaryReader &frame, uint16_t numMeshes, uint16_t startingMesh, uint32_t meshTree, uint32_t numMeshTrees, std::vector< int32_t > meshTrees)
 

Additional Inherited Members

- Public Types inherited from Loader
enum  LoaderVersion {
  TR_UNKNOWN = 0, TR_1 = 1, TR_2 = 2, TR_3 = 3,
  TR_4 = 4, TR_5 = 5
}
 
- Static Public Member Functions inherited from Loader
static LoaderVersion checkFile (std::string f)
 
static std::unique_ptr< LoadercreateLoader (std::string f)
 
- Protected Attributes inherited from Loader
BinaryFile file
 

Detailed Description

Definition at line 13 of file LoaderTR3.h.

Member Function Documentation

int LoaderTR3::load ( std::string  f)
virtual

Reimplemented from LoaderTR2.

Definition at line 11 of file LoaderTR3.cpp.

void LoaderTR3::loadRoomLights ( )
protectedvirtual

Reimplemented from LoaderTR2.

Definition at line 55 of file LoaderTR3.cpp.

void LoaderTR3::loadRoomDataEnd ( int16_t &  alternateRoom,
unsigned int &  roomFlags 
)
protectedvirtual

Reimplemented from LoaderTR2.

Definition at line 76 of file LoaderTR3.cpp.

void LoaderTR3::loadRoomMesh ( std::vector< IndexedRectangle > &  rectangles,
std::vector< IndexedRectangle > &  triangles,
uint16_t &  numRectangles,
uint16_t &  numTriangles 
)
protectedvirtual

Reimplemented from LoaderTR2.

Definition at line 86 of file LoaderTR3.cpp.


The documentation for this class was generated from the following files: