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

Method fireAnalysis

MicropolisCore/src/MicropolisEngine/src/scan.cpp:110–120  ·  view source on GitHub ↗

* Make firerate map from firestation map. * @todo Comment seems wrong; what's a firerate map? */

Source from the content-addressed store, hash-verified

108 * @todo Comment seems wrong; what's a firerate map?
109 */
110void Micropolis::fireAnalysis()
111{
112 smoothStationMap(&fireStationMap);
113 smoothStationMap(&fireStationMap);
114 smoothStationMap(&fireStationMap);
115
116 fireStationEffectMap = fireStationMap;
117
118 newMapFlags[MAP_TYPE_FIRE_RADIUS] = 1;
119 newMapFlags[MAP_TYPE_DYNAMIC] = 1;
120}
121
122
123/** @todo The tempMap1 has MAP_BLOCKSIZE > 1, so we may be able to optimize

Callers

nothing calls this directly

Calls 1

smoothStationMapFunction · 0.85

Tested by

no test coverage detected