123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- /*!
- * \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:
- virtual int load(std::string f);
-
- protected:
- virtual void loadPaletteTextiles();
- virtual void loadRoomLights();
- virtual void loadRoomDataEnd(int16_t& alternateRoom, unsigned int& roomFlags);
- virtual void loadRooms();
- virtual void loadFloorData();
- virtual void loadMeshes();
- virtual void loadMoveables();
- virtual void loadStaticMeshes();
- virtual void loadTextures();
- virtual void loadSprites();
- virtual void loadCameras();
- virtual void loadSoundSources();
- virtual void loadBoxesOverlapsZones();
- virtual void loadAnimatedTextures();
- virtual void loadItems();
- virtual void loadCinematicFrames();
- virtual void loadDemoData();
- virtual void loadSoundMap();
- virtual void loadSoundDetails();
- virtual void loadSampleIndices();
-
- virtual void loadExternalSoundFile(std::string f);
-
- std::array<uint32_t, 256> palette;
- };
-
- #endif
|