MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setFlags

Method setFlags

src/Ruleset/MapData.cpp:150–161  ·  view source on GitHub ↗

* Sets all kinds of flags. * @param isUfoDoor True if this is a ufo door. * @param stopLOS True if this stops line of sight. * @param isNoFloor True if this is a floor. * @param bigWall True if this is a bigWall. * @param isGravLift True if this is a grav lift. * @param isDoor True if this is a normal door. * @param blockFire True if this blocks fire. * @param blockSmoke True if this block

Source from the content-addressed store, hash-verified

148 * @param baseModule True if this is a base module item.
149 */
150void MapData::setFlags(bool isUfoDoor, bool stopLOS, bool isNoFloor, int bigWall, bool isGravLift, bool isDoor, bool blockFire, bool blockSmoke, bool baseModule)
151{
152 _isUfoDoor = isUfoDoor;
153 _stopLOS = stopLOS;
154 _isNoFloor = isNoFloor;
155 _bigWall = bigWall;
156 _isGravLift = isGravLift;
157 _isDoor = isDoor;
158 _blockFire = blockFire;
159 _blockSmoke = blockSmoke;
160 _baseModule = baseModule;
161}
162
163/**
164 * Gets the amount of blockage of a certain type.

Callers 2

runInventoryMethod · 0.80
loadDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected