Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LoaderTR3.h 645B

1234567891011121314151617181920212223242526
  1. /*!
  2. * \file include/loader/LoaderTR3.h
  3. * \brief TR3 level file loader
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _LOADER_LOADER_TR3_H_
  8. #define _LOADER_LOADER_TR3_H_
  9. #include "loader/LoaderTR2.h"
  10. class LoaderTR3 : public LoaderTR2 {
  11. public:
  12. virtual int load(std::string f);
  13. protected:
  14. virtual void loadRoomLights();
  15. virtual void loadRoomDataEnd(int16_t& alternateRoom, unsigned int& roomFlags);
  16. virtual void loadRoomMesh(std::vector<IndexedRectangle>& rectangles,
  17. std::vector<IndexedRectangle>& triangles,
  18. uint16_t& numRectangles, uint16_t& numTriangles);
  19. };
  20. #endif