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

Method drawPoliceRadius

MicropolisCore/src/MicropolisEngine/src/map.cpp:643–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641
642
643void Micropolis::drawPoliceRadius()
644{
645 short x, y;
646
647 drawAll();
648 for (x = 0; x < policeStationEffectMap.MAP_W; x++) {
649 for (y = 0; y < policeStationEffectMap.MAP_H; y++) {
650 maybeDrawRect(
651 getCI(policeStationEffectMap.get(x, y)),
652 x * 24,
653 y * 24,
654 24,
655 24);
656 }
657 }
658}
659
660
661void Micropolis::memDrawMap()

Callers

nothing calls this directly

Calls 2

drawAllFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected