OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
LoaderTR3.h
Go to the documentation of this file.
1 
8 #ifndef _LOADER_LOADER_TR3_H_
9 #define _LOADER_LOADER_TR3_H_
10 
11 #include "loader/LoaderTR2.h"
12 
13 class LoaderTR3 : public LoaderTR2 {
14  public:
15  virtual int load(std::string f);
16 
17  protected:
18  virtual void loadRoomLights();
19  virtual void loadRoomDataEnd(int16_t& alternateRoom, unsigned int& roomFlags);
20  virtual void loadRoomMesh(std::vector<IndexedRectangle>& rectangles,
21  std::vector<IndexedRectangle>& triangles,
22  uint16_t& numRectangles, uint16_t& numTriangles);
23 };
24 
25 #endif
26 
TR2 level file loader.
virtual void loadRoomMesh(std::vector< IndexedRectangle > &rectangles, std::vector< IndexedRectangle > &triangles, uint16_t &numRectangles, uint16_t &numTriangles)
Definition: LoaderTR3.cpp:86
virtual int load(std::string f)
Definition: LoaderTR3.cpp:11
virtual void loadRoomDataEnd(int16_t &alternateRoom, unsigned int &roomFlags)
Definition: LoaderTR3.cpp:76
virtual void loadRoomLights()
Definition: LoaderTR3.cpp:55