1234567891011121314151617181920212223242526272829303132333435 |
- /*!
- * \file include/loader/LoaderTR1.h
- * \brief TR1 level file loader
- *
- * \author xythobuz
- */
-
- #ifndef _LOADER_LOADER_TR1_H_
- #define _LOADER_LOADER_TR1_H_
-
- #include "loader/LoaderTR2.h"
-
- class LoaderTR1 : public LoaderTR2 {
- public:
- virtual int load(std::string f);
-
- protected:
- virtual void loadPalette();
- virtual void loadTextures();
- virtual void loadRoomLights();
- virtual void loadRoomStaticMeshes(std::vector<StaticModel*>& staticModels);
- virtual void loadRoomVertex(RoomVertexTR2& vert);
- virtual void loadItems();
- virtual void loadBoxesOverlapsZones();
- virtual void loadSoundMap();
- virtual void loadSoundSamples();
-
- virtual int getPaletteIndex(uint16_t index);
- virtual void loadAngleSet(BoneFrame* bf, BinaryReader& frame, uint16_t numMeshes,
- uint16_t startingMesh, uint32_t meshTree,
- uint32_t numMeshTrees, std::vector<int32_t> meshTrees);
- };
-
- #endif
|