MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / DS1

Class DS1

src/Abyss/DataTypes/DS1.h:60–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58using TileMap = std::vector<Tile>;
59
60class 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
65public:
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected