Home
last modified time | relevance | path

Searched refs:muzzleType (Results 1 – 8 of 8) sorted by relevance

/dports/games/maxr/maxr-0.2.9/src/game/logic/
H A Dattackjob.cpp93 muzzleType (aggressor_->data.muzzleType), in cAttackJob()
133 muzzleType = message.popInt16(); in cAttackJob()
178 message->pushInt16 (muzzleType); in serialize()
305 if (muzzleType == sUnitData::MUZZLE_TYPE_ROCKET_CLUSTER) in lockTarget()
388 switch (muzzleType) in createMuzzleFx()
464 if (muzzleType == sUnitData::MUZZLE_TYPE_MED) in createMuzzleFx()
481 if (muzzleType == sUnitData::MUZZLE_TYPE_ROCKET_CLUSTER) in impact()
H A Dattackjob.h50 int muzzleType; variable
H A Dsavegame.cpp1143 Data->muzzleType = (sUnitData::eMuzzleType) tmpInt; in loadStandardUnitValues()
1147 Data->muzzleType = sUnitData::MUZZLE_TYPE_NONE; in loadStandardUnitValues()
1823 …if (Data.muzzleType > 0) addAttributeElement (unitNode, "MuzzleType", "num", iToStr (Data.muzzleTy… in writeStandardUnitValues()
/dports/games/maxr/maxr-0.2.9/src/
H A Dloaddata.cpp1727 …string muzzleType = getXMLAttributeString (unitDataXml, "Const", "Unit", "Weapon", "Muzzle_Type", … in LoadUnitData() local
1728 if (muzzleType.compare ("Big") == 0) Data->muzzleType = sUnitData::MUZZLE_TYPE_BIG; in LoadUnitData()
1729 else if (muzzleType.compare ("Rocket") == 0) Data->muzzleType = sUnitData::MUZZLE_TYPE_ROCKET; in LoadUnitData()
1730 else if (muzzleType.compare ("Small") == 0) Data->muzzleType = sUnitData::MUZZLE_TYPE_SMALL; in LoadUnitData()
1731 else if (muzzleType.compare ("Med") == 0) Data->muzzleType = sUnitData::MUZZLE_TYPE_MED; in LoadUnitData()
1732 else if (muzzleType.compare ("Med_Long") == 0) Data->muzzleType = sUnitData::MUZZLE_TYPE_MED_LONG; in LoadUnitData()
1733 …else if (muzzleType.compare ("Rocket_Cluster") == 0) Data->muzzleType = sUnitData::MUZZLE_TYPE_ROC… in LoadUnitData()
1734 else if (muzzleType.compare ("Torpedo") == 0) Data->muzzleType = sUnitData::MUZZLE_TYPE_TORPEDO; in LoadUnitData()
1735 else if (muzzleType.compare ("Sniper") == 0) Data->muzzleType = sUnitData:: MUZZLE_TYPE_SNIPER; in LoadUnitData()
1736 else Data->muzzleType = sUnitData::MUZZLE_TYPE_NONE; in LoadUnitData()
/dports/games/maxr/maxr-0.2.9/src/game/data/units/
H A Dunitdata.cpp28 muzzleType = MUZZLE_TYPE_NONE; in sUnitData()
135 muzzleType = other.muzzleType; in operator =()
H A Dunitdata.h56 eMuzzleType muzzleType; member
H A Dunit.cpp297 if (data.muzzleType == sUnitData::MUZZLE_TYPE_TORPEDO && map.isWaterOrCoast (position) == false) in canAttackObjectAt()
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/game/control/mousemode/
H A Dmousemodeattack.cpp83 …return (selectedVehicle && (selectedVehicle->data.muzzleType != sUnitData::MUZZLE_TYPE_TORPEDO || … in canExecuteAction()