| 32 | constexpr uint32_t hiddenLength = 1; |
| 33 | |
| 34 | void 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 | |
| 44 | void DS1::loadLayerStreams(Streams::StreamReader &sr) { |
| 45 | static const std::vector dirLookup = {0x00, 0x01, 0x02, 0x01, 0x02, 0x03, 0x03, 0x05, 0x05, 0x06, |