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

Method comPlop

MicropolisCore/src/MicropolisEngine/src/zone.cpp:869–875  ·  view source on GitHub ↗

* Build a commercial zone. * @param pos Position of the commercial zone. * @param Den Density * @param Value Land value corrected for pollution. */

Source from the content-addressed store, hash-verified

867 * @param Value Land value corrected for pollution.
868 */
869void Micropolis::comPlop(const Position &pos, int Den, int Value)
870{
871 short base;
872
873 base = ((Value * 5) + Den) * 9 + CZB - 4;
874 zonePlop(pos, base);
875}
876
877
878/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected