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

Method indPlop

MicropolisCore/src/MicropolisEngine/src/zone.cpp:1003–1007  ·  view source on GitHub ↗

* Place an industrial zone around center tile \a pos. * @param pos Center of the industrial zone. * @param den Population density of the industrial zone (0, 1, 2, or 3). * @param value Landvalue of the industrial zone (0 or 1). */

Source from the content-addressed store, hash-verified

1001 * @param value Landvalue of the industrial zone (0 or 1).
1002 */
1003void Micropolis::indPlop(const Position &pos, int den, int value)
1004{
1005 short base = ((value * 4) + den) * 9 + IND1;
1006 zonePlop(pos, base);
1007}
1008
1009
1010/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected