Open Source Tomb Raider Engine
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

LoaderTR2.h 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. virtual int load(std::string f);
  15. protected:
  16. virtual void loadPaletteTextiles();
  17. virtual void loadRoomLights();
  18. virtual void loadRoomDataEnd(int16_t& alternateRoom, unsigned int& roomFlags);
  19. virtual void loadRooms();
  20. virtual void loadFloorData();
  21. virtual void loadMeshes();
  22. virtual void loadMoveables();
  23. virtual void loadStaticMeshes();
  24. virtual void loadTextures();
  25. virtual void loadSprites();
  26. virtual void loadCameras();
  27. virtual void loadSoundSources();
  28. virtual void loadBoxesOverlapsZones();
  29. virtual void loadAnimatedTextures();
  30. virtual void loadItems();
  31. virtual void loadCinematicFrames();
  32. virtual void loadDemoData();
  33. virtual void loadSoundMap();
  34. virtual void loadSoundDetails();
  35. virtual void loadSampleIndices();
  36. virtual void loadExternalSoundFile(std::string f);
  37. std::array<uint32_t, 256> palette;
  38. };
  39. #endif