Open Source Tomb Raider Engine
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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