8 #ifndef _LOADER_LOADER_TR2_H_
9 #define _LOADER_LOADER_TR2_H_
22 virtual int load(std::string f);
29 virtual void loadRoomDataEnd(int16_t& alternateRoom,
unsigned int& roomFlags);
31 virtual void loadRoomMesh(std::vector<IndexedRectangle>& rectangles,
32 std::vector<IndexedRectangle>& triangles,
33 uint16_t& numRectangles, uint16_t& numTriangles);
57 uint16_t startingMesh, uint32_t meshTree,
58 uint32_t numMeshTrees, std::vector<int32_t> meshTrees);
60 uint16_t startingMesh, uint32_t meshTree,
61 uint32_t numMeshTrees, std::vector<int32_t> meshTrees);
virtual void loadPalette()
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 void loadAnimatedTextures()
virtual void loadSoundSources()
Binary file reading utilities.
virtual void loadSoundMap()
virtual int getPaletteIndex(uint16_t index)
virtual int loadSoundFiles(BinaryReader &sfx, unsigned int count=0)
virtual void loadCinematicFrames()
virtual void loadSampleIndices()
virtual void loadTextiles()
virtual void loadMeshes()
virtual void loadStaticMeshes()
virtual BoneFrame * loadFrame(BinaryReader &frame, uint16_t numMeshes, uint16_t startingMesh, uint32_t meshTree, uint32_t numMeshTrees, std::vector< int32_t > meshTrees)
virtual void loadRoomVertex(RoomVertexTR2 &vert)
virtual void loadRoomLights()
virtual void loadRoomMesh(std::vector< IndexedRectangle > &rectangles, std::vector< IndexedRectangle > &triangles, uint16_t &numRectangles, uint16_t &numTriangles)
virtual void loadSprites()
virtual void loadCameras()
virtual int load(std::string f)
virtual void loadRoomStaticMeshes(std::vector< StaticModel * > &staticModels)
virtual void loadRoomDataEnd(int16_t &alternateRoom, unsigned int &roomFlags)
virtual void loadTextures()
virtual void loadMoveables()
virtual void loadSoundDetails()
virtual void loadDemoData()
virtual void loadBoxesOverlapsZones()
virtual void loadFloorData()
virtual void loadExternalSoundFile(std::string f)