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

Method RuleCraft

src/Ruleset/RuleCraft.cpp:30–37  ·  view source on GitHub ↗

* Creates a blank ruleset for a certain * type of craft. * @param type String defining the type. */

Source from the content-addressed store, hash-verified

28 * @param type String defining the type.
29 */
30RuleCraft::RuleCraft(const std::string &type) :
31 _type(type), _sprite(-1), _fuelMax(0), _damageMax(0), _speedMax(0), _accel(0),
32 _weapons(0), _soldiers(0), _vehicles(0), _costBuy(0), _costRent(0), _costSell(0),
33 _refuelItem(""), _repairRate(1), _refuelRate(1), _radarRange(600), _transferTime(0),
34 _score(0), _battlescapeTerrainData(0), _spacecraft(false), _listOrder(0)
35{
36
37}
38
39/**
40 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected