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

Method drawLandValueMap

MicropolisCore/src/MicropolisEngine/src/map.cpp:605–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603
604
605void Micropolis::drawLandValueMap()
606{
607 short x, y;
608
609 drawAll();
610
611 for (x = 0; x < landValueMap.MAP_W; x++) {
612 for (y = 0; y < landValueMap.MAP_H; y++) {
613 maybeDrawRect(
614 view,
615 getCI(landValueMap.get(x, y)),
616 x * 6,
617 y * 6,
618 6,
619 6);
620 }
621 }
622}
623
624
625void Micropolis::drawFireRadius()

Callers

nothing calls this directly

Calls 2

drawAllFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected