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

Method isTree

MicropolisCore/src/MicropolisEngine/src/generate.cpp:396–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394
395
396bool Micropolis::isTree(MapValue cell)
397{
398 if ((cell & LOMASK) >= WOODS_LOW && (cell & LOMASK) <= WOODS_HIGH) {
399 return true;
400 }
401
402 return false;
403}
404
405
406void Micropolis::smoothTrees()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected