12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /*!
- * \file include/loader/LoaderTR2.h
- * \brief TR2 level file loader
- *
- * \author xythobuz
- */
-
- #ifndef _LOADER_LOADER_TR2_H_
- #define _LOADER_LOADER_TR2_H_
-
- #include <array>
- #include <cstdint>
-
- #include "loader/Loader.h"
-
- class LoaderTR2 : public Loader {
- public:
- LoaderTR2();
- virtual ~LoaderTR2();
-
- virtual int load(std::string f);
-
- private:
- void loadPaletteTextiles();
- void loadRooms();
- void loadFloorData();
- void loadMeshes();
- void loadMoveables();
- void loadStaticMeshes();
- void loadTextures();
- void loadSprites();
- void loadCameras();
- void loadSoundSources();
- void loadBoxesOverlapsZones();
- void loadAnimatedTextures();
- void loadItems();
- void loadCinematicFrames();
- void loadDemoData();
- void loadSoundMap();
- void loadSoundDetails();
- void loadSampleIndices();
-
- void loadExternalSoundFile(std::string f);
-
- std::array<uint32_t, 256> palette;
- };
-
- #endif
|