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.

LoaderTR1.h 729B

1234567891011121314151617181920212223242526272829303132
  1. /*!
  2. * \file include/loader/LoaderTR1.h
  3. * \brief TR1 level file loader
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _LOADER_LOADER_TR1_H_
  8. #define _LOADER_LOADER_TR1_H_
  9. #include "loader/LoaderTR2.h"
  10. class LoaderTR1 : public LoaderTR2 {
  11. public:
  12. virtual int load(std::string f);
  13. protected:
  14. virtual void loadPalette();
  15. virtual void loadTextures();
  16. virtual void loadRoomLights();
  17. virtual void loadRoomStaticMeshes(std::vector<StaticModel*>& staticModels);
  18. virtual void loadRoomVertex(RoomVertexTR2& vert);
  19. virtual void loadItems();
  20. virtual void loadBoxesOverlapsZones();
  21. virtual void loadSoundMap();
  22. virtual void loadSoundSamples();
  23. virtual int getPaletteIndex(uint16_t index);
  24. };
  25. #endif