MCPcopy Create free account
hub / github.com/SimHacker/micropolis / SetMask

Method SetMask

MicropolisCore/src/CellEngine/src/cellengine.cpp:684–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682
683
684void CellEngine::SetMask(
685 long ww,
686 long hh,
687 Byte *data,
688 long rb)
689{
690 maskMem = data;
691 maskRowBytes = rb;
692 maskWidth = ww;
693 maskHeight = hh;
694 masked = 1;
695 UpdateClip();
696}
697
698
699void CellEngine::UpdateClip()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected