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

Method decode

src/Abyss/DataTypes/DS1.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32constexpr uint32_t hiddenLength = 1;
33
34void Tile::decode(const uint8_t prop1, const uint8_t prop2, const uint8_t prop3, const uint8_t prop4) {
35 mainIndex = (prop3 >> 4) + ((prop4 & 0x03) << 4);
36 subIndex = prop2;
37 this->prop1 = prop1;
38 this->prop2 = prop2;
39 this->prop3 = prop3;
40 this->prop4 = prop4;
41
42}
43
44void DS1::loadLayerStreams(Streams::StreamReader &sr) {
45 static const std::vector dirLookup = {0x00, 0x01, 0x02, 0x01, 0x02, 0x03, 0x03, 0x05, 0x05, 0x06,

Callers 1

loadLayerStreamsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected