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

Method maybeDrawRect

MicropolisCore/src/MicropolisEngine/src/map.cpp:820–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818
819
820void Micropolis::maybeDrawRect(
821 int val,
822 int x,
823 int y,
824 int w,
825 int h)
826{
827 if (val == VAL_NONE) {
828 return;
829 }
830
831/*
832 if (view->x->color) {
833 drawRect(view, view->pixels[valMap[val]], 0, x, y, w, h);
834 } else {
835 drawRect(view, valGrayMap[val], 1, x, y, w, h);
836 }
837*/
838}
839
840
841void Micropolis::drawRect(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected