Open Source Tomb Raider Engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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