Open Source Tomb Raider Engine
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

LoaderTR2.h 954B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*!
  2. * \file include/loader/LoaderTR2.h
  3. * \brief TR2 level file loader
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _LOADER_LOADER_TR2_H_
  8. #define _LOADER_LOADER_TR2_H_
  9. #include <array>
  10. #include <cstdint>
  11. #include "loader/Loader.h"
  12. class LoaderTR2 : public Loader {
  13. public:
  14. LoaderTR2();
  15. virtual ~LoaderTR2();
  16. virtual int load(std::string f);
  17. private:
  18. void loadPaletteTextiles();
  19. void loadRooms();
  20. void loadFloorData();
  21. void loadMeshes();
  22. void loadMoveables();
  23. void loadStaticMeshes();
  24. void loadTextures();
  25. void loadSprites();
  26. void loadCameras();
  27. void loadSoundSources();
  28. void loadBoxesOverlapsZones();
  29. void loadAnimatedTextures();
  30. void loadItems();
  31. void loadCinematicFrames();
  32. void loadDemoData();
  33. void loadSoundMap();
  34. void loadSoundDetails();
  35. void loadSampleIndices();
  36. void loadExternalSoundFile(std::string f);
  37. std::array<uint32_t, 256> palette;
  38. };
  39. #endif