OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
LoaderTR1.h
Go to the documentation of this file.
1 
8 #ifndef _LOADER_LOADER_TR1_H_
9 #define _LOADER_LOADER_TR1_H_
10 
11 #include "loader/LoaderTR2.h"
12 
13 class LoaderTR1 : public LoaderTR2 {
14  public:
15  virtual int load(std::string f);
16 
17  protected:
18  virtual void loadPalette();
19  virtual void loadTextures();
20  virtual void loadRoomLights();
21  virtual void loadRoomStaticMeshes(std::vector<StaticModel*>& staticModels);
22  virtual void loadRoomVertex(RoomVertexTR2& vert);
23  virtual void loadItems();
24  virtual void loadBoxesOverlapsZones();
25  virtual void loadSoundMap();
26  virtual void loadSoundSamples();
27 
28  virtual int getPaletteIndex(uint16_t index);
29  virtual void loadAngleSet(BoneFrame* bf, BinaryReader& frame, uint16_t numMeshes,
30  uint16_t startingMesh, uint32_t meshTree,
31  uint32_t numMeshTrees, std::vector<int32_t> meshTrees);
32 };
33 
34 #endif
35 
virtual void loadTextures()
Definition: LoaderTR1.cpp:83
TR2 level file loader.
virtual int load(std::string f)
Definition: LoaderTR1.cpp:16
virtual void loadAngleSet(BoneFrame *bf, BinaryReader &frame, uint16_t numMeshes, uint16_t startingMesh, uint32_t meshTree, uint32_t numMeshTrees, std::vector< int32_t > meshTrees)
Definition: LoaderTR1.cpp:286
virtual void loadRoomStaticMeshes(std::vector< StaticModel * > &staticModels)
Definition: LoaderTR1.cpp:117
virtual void loadSoundMap()
Definition: LoaderTR1.cpp:252
virtual void loadSoundSamples()
Definition: LoaderTR1.cpp:258
virtual void loadPalette()
Definition: LoaderTR1.cpp:65
virtual void loadBoxesOverlapsZones()
Definition: LoaderTR1.cpp:195
virtual int getPaletteIndex(uint16_t index)
Definition: LoaderTR1.cpp:282
virtual void loadRoomVertex(RoomVertexTR2 &vert)
Definition: LoaderTR1.cpp:142
virtual void loadItems()
Definition: LoaderTR1.cpp:151
virtual void loadRoomLights()
Definition: LoaderTR1.cpp:100