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

Enum eScanlineType

src/Abyss/DataTypes/DC6.cpp:44–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42uint32_t DC6::getFrameCount() const { return _framesPerDirection; }
43void DC6::setPalette(const Palette &palette) {
44 enum class eScanlineType { EndOfLine, RunOfTransparentPixels, RunOfOpaquePixels };
45 auto scanlineType = [](const std::byte b) -> eScanlineType {
46 if (b == DC6EndOfScanline)
47 return eScanlineType::EndOfLine;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected