| 58 | using TileMap = std::vector<Tile>; |
| 59 | |
| 60 | class DS1 { |
| 61 | void loadLayerStreams(Streams::StreamReader &sr); |
| 62 | static void bindLayerTileReferences(std::vector<Tile> &tiles, const std::vector<DT1> &dt1s); |
| 63 | [[nodiscard]] std::vector<LayerStreamType> getLayerStreamTypes() const; |
| 64 | |
| 65 | public: |
| 66 | explicit DS1(std::string_view path); |
| 67 | void resize(int width, int height); |
| 68 | |
| 69 | void bindTileReferences(const std::vector<DT1> &dt1s); |
| 70 | |
| 71 | std::string name{}; |
| 72 | int32_t version{}; |
| 73 | int32_t width{}; |
| 74 | int32_t height{}; |
| 75 | uint32_t act{}; |
| 76 | uint32_t substitutionType{}; |
| 77 | std::vector<std::string> files{}; |
| 78 | |
| 79 | struct { |
| 80 | std::vector<TileMap> floor{}; |
| 81 | std::vector<TileMap> wall{}; |
| 82 | std::vector<TileMap> shadow{}; |
| 83 | std::vector<TileMap> substitution{}; |
| 84 | } layers; |
| 85 | }; |
| 86 | |
| 87 | } // namespace Abyss::DataTypes |
nothing calls this directly
no outgoing calls
no test coverage detected