Home
last modified time | relevance | path

Searched refs:WeaponInfo (Results 1 – 25 of 70) sorted by relevance

123

/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/
H A Dgun.cpp51 Weapon WeaponInfo[] = { variable
95 if (WeaponInfo[i].bUsesAmmo) { in FillWeapons()
276 … if (!WeaponInfo[nWeapon].bUsesAmmo || PlayerList[nPlayer].nAmmo[WeaponInfo[nWeapon].nAmmoType]) in SelectNewWeapon()
343 WeaponInfo[kWeaponSword].b[2] = 3; in ResetSwordSeqs()
344 WeaponInfo[kWeaponSword].b[3] = 7; in ResetSwordSeqs()
446 short nSeq = WeaponInfo[nWeapon].nSeq; in MoveWeapons()
605 … if (!WeaponInfo[nWeapon].bUsesAmmo || PlayerList[nPlayer].nAmmo[WeaponInfo[nWeapon].nAmmoType]) in MoveWeapons()
630 … if (!WeaponInfo[nWeapon].bUsesAmmo || PlayerList[nPlayer].nAmmo[WeaponInfo[nWeapon].nAmmoType]) in MoveWeapons()
690 …var_3C = SeqOffsets[WeaponInfo[nWeapon].nSeq] + WeaponInfo[nWeapon].b[PlayerList[nPlayer].nWeaponS… in MoveWeapons()
765 if (WeaponInfo[nWeapon].c) in MoveWeapons()
[all …]
H A Dgun.h54 extern Weapon WeaponInfo[];
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/
H A DExplodes.cs55 public WeaponInfo WeaponInfo { get; private set; } property in OpenRA.Mods.Common.Traits.ExplodesInfo
56 public WeaponInfo EmptyWeaponInfo { get; private set; }
63 WeaponInfo weapon; in RulesetLoaded()
67 WeaponInfo = weapon; in RulesetLoaded()
72 WeaponInfo emptyWeapon; in RulesetLoaded()
132 WeaponInfo ChooseWeaponForExplosion(Actor self) in ChooseWeaponForExplosion()
136 return Info.WeaponInfo; in ChooseWeaponForExplosion()
141 return (shouldExplode && useFullExplosion) ? Info.WeaponInfo : Info.EmptyWeaponInfo; in ChooseWeaponForExplosion()
H A DExplosionOnDamageTransition.cs32 public WeaponInfo WeaponInfo { get; private set; } property in OpenRA.Mods.Common.Traits.ExplosionOnDamageTransitionInfo
41 WeaponInfo weapon; in RulesetLoaded()
46 WeaponInfo = weapon; in RulesetLoaded()
74 info.WeaponInfo.Impact(Target.FromPos(self.CenterPosition), e.Attacker); in INotifyDamageStateChanged.DamageStateChanged()
H A DArmament.cs70 public WeaponInfo WeaponInfo { get; private set; } property in OpenRA.Mods.Common.Traits.ArmamentInfo
88 WeaponInfo weaponInfo; in RulesetLoaded()
94 WeaponInfo = weaponInfo; in RulesetLoaded()
96 WeaponInfo.Range.Length, in RulesetLoaded()
99 …if (WeaponInfo.Burst > 1 && WeaponInfo.BurstDelays.Length > 1 && (WeaponInfo.BurstDelays.Length !=… in RulesetLoaded()
108 public readonly WeaponInfo Weapon;
140 Weapon = info.WeaponInfo; in Armament()
H A DThrowsShrapnel.cs32 public WeaponInfo[] WeaponInfos { get; private set; }
41 WeaponInfo weapon; in RulesetLoaded()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/dm/
H A Ddungeonman.cpp298 WeaponInfo(11, 0, 8, 2, 0x2000), /* TORCH */ in setupConstants()
302 WeaponInfo(47, 0, 55, 20, 0x0900), /* FURY */ in setupConstants()
306 WeaponInfo(32, 0, 34, 10, 0x0900), /* SWORD */ in setupConstants()
308 WeaponInfo(35, 0, 42, 11, 0x0900), /* SABRE */ in setupConstants()
314 WeaponInfo(43, 2, 49, 33, 0x0300), /* AXE */ in setupConstants()
316 WeaponInfo(31, 0, 32, 10, 0x2000), /* MACE */ in setupConstants()
319 WeaponInfo(36, 0, 19, 10, 0x2700), /* CLUB */ in setupConstants()
321 WeaponInfo(10, 20, 1, 50, 0x2032), /* BOW */ in setupConstants()
326 WeaponInfo(10, 11, 6, 18, 0x2000), /* ROCK */ in setupConstants()
331 WeaponInfo(1, 130, 0, 0, 0x2000), /* WAND */ in setupConstants()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/dm/
H A Ddungeonman.cpp298 WeaponInfo(11, 0, 8, 2, 0x2000), /* TORCH */ in setupConstants()
302 WeaponInfo(47, 0, 55, 20, 0x0900), /* FURY */ in setupConstants()
306 WeaponInfo(32, 0, 34, 10, 0x0900), /* SWORD */ in setupConstants()
308 WeaponInfo(35, 0, 42, 11, 0x0900), /* SABRE */ in setupConstants()
314 WeaponInfo(43, 2, 49, 33, 0x0300), /* AXE */ in setupConstants()
316 WeaponInfo(31, 0, 32, 10, 0x2000), /* MACE */ in setupConstants()
319 WeaponInfo(36, 0, 19, 10, 0x2700), /* CLUB */ in setupConstants()
321 WeaponInfo(10, 20, 1, 50, 0x2032), /* BOW */ in setupConstants()
326 WeaponInfo(10, 11, 6, 18, 0x2000), /* ROCK */ in setupConstants()
331 WeaponInfo(1, 130, 0, 0, 0x2000), /* WAND */ in setupConstants()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima8/world/actors/
H A Dgrant_peace_process.cpp84 if (target->getDefenseType() & WeaponInfo::DMG_UNDEAD) { in run()
109 if (t->getDefenseType() & WeaponInfo::DMG_UNDEAD) { in run()
111 (WeaponInfo::DMG_MAGIC | in run()
112 WeaponInfo::DMG_PIERCE | in run()
113 WeaponInfo::DMG_FIRE)); in run()
152 (WeaponInfo::DMG_MAGIC | in run()
153 WeaponInfo::DMG_PIERCE | in run()
154 WeaponInfo::DMG_FIRE)); in run()
H A Dactor.cpp879 return WeaponInfo::DMG_NORMAL; in getDamageType()
1670 if ((defense_type & WeaponInfo::DMG_MAGIC) && in calculateAttackDamage()
1671 !(damage_type & WeaponInfo::DMG_MAGIC)) { in calculateAttackDamage()
1679 if (damage_type & WeaponInfo::DMG_SLAYER) { in calculateAttackDamage()
1686 if ((damage_type & WeaponInfo::DMG_UNDEAD) && in calculateAttackDamage()
1687 (defense_type & WeaponInfo::DMG_UNDEAD)) { in calculateAttackDamage()
1691 if ((defense_type & WeaponInfo::DMG_PIERCE) && in calculateAttackDamage()
1692 !(damage_type & (WeaponInfo::DMG_BLADE | in calculateAttackDamage()
1693 WeaponInfo::DMG_FIRE | in calculateAttackDamage()
1694 WeaponInfo::DMG_PIERCE))) { in calculateAttackDamage()
[all …]
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Traits/
H A DEnergyWall.cs35 public WeaponInfo WeaponInfo { get; private set; } property in OpenRA.Mods.Cnc.Traits.EnergyWallInfo
39 WeaponInfo weaponInfo; in RulesetLoaded()
45 WeaponInfo = weaponInfo; in RulesetLoaded()
93 info.WeaponInfo.Impact(Target.FromActor(blocker), self); in ITick.Tick()
H A DMadTank.cs59 public WeaponInfo ThumpDamageWeaponInfo { get; private set; }
61 public WeaponInfo DetonationWeaponInfo { get; private set; }
70 WeaponInfo thumpDamageWeapon; in RulesetLoaded()
71 WeaponInfo detonationWeapon; in RulesetLoaded()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Traits/SupportPowers/
H A DIonCannonPower.cs44 public WeaponInfo WeaponInfo { get; private set; } property in OpenRA.Mods.Cnc.Traits.IonCannonPowerInfo
55 WeaponInfo weapon; in RulesetLoaded()
60 WeaponInfo = weapon; in RulesetLoaded()
89 w.Add(new IonCannon(self.Owner, info.WeaponInfo, w, self.CenterPosition, target, in Activate()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/SupportPowers/
H A DNukePower.cs105 public WeaponInfo WeaponInfo { get; private set; } property in OpenRA.Mods.Common.Traits.NukePowerInfo
113 WeaponInfo weapon; in RulesetLoaded()
118 WeaponInfo = weapon; in RulesetLoaded()
158 …var missile = new NukeLaunch(self.Owner, info.MissileWeapon, info.WeaponInfo, palette, info.Missil… in Activate()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Game/GameRules/
H A DRuleset.cs26 public readonly IReadOnlyDictionary<string, WeaponInfo> Weapons;
36 IReadOnlyDictionary<string, WeaponInfo> weapons, in Ruleset()
70 var projectileLoaded = weapon.Value.Projectile as IRulesetLoaded<WeaponInfo>; in Ruleset()
85 var cacher = warhead as IRulesetLoaded<WeaponInfo>; in Ruleset()
136 k => new WeaponInfo(k.Key.ToLowerInvariant(), k.Value)); in LoadDefaults()
195 k => new WeaponInfo(k.Key.ToLowerInvariant(), k.Value)); in Load()
H A DWeaponInfo.cs23 public WeaponInfo Weapon;
38 public WeaponInfo Weapon;
60 public sealed class WeaponInfo class
111 public WeaponInfo(string name, MiniYaml content) in WeaponInfo() method in OpenRA.GameRules.WeaponInfo
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Warheads/
H A DSpreadDamageWarhead.cs21 public class SpreadDamageWarhead : DamageWarhead, IRulesetLoaded<WeaponInfo>
32 void IRulesetLoaded<WeaponInfo>.RulesetLoaded(Ruleset rules, WeaponInfo info) in RulesetLoaded()
H A DFireClusterWarhead.cs20 public class FireClusterWarhead : Warhead, IRulesetLoaded<WeaponInfo>
39 WeaponInfo weapon;
41 public void RulesetLoaded(Ruleset rules, WeaponInfo info) in RulesetLoaded()
/dports/games/gemrb/gemrb-0.9.0/gemrb/core/Scriptable/
H A DActor.h254 struct WeaponInfo { struct
267WeaponInfo(): slot(0), enchantment(0), range(0), itemtype(0), itemflags(0), prof(0), backstabbing(… in WeaponInfo() argument
457 int GetSneakAttackDamage(Actor *target, WeaponInfo &wi, int &multiplier, bool weaponImmunity);
458 int GetBackstabDamage(Actor *target, WeaponInfo &wi, int multiplier, int damage) const;
640 void PlaySwingSound(WeaponInfo &wi) const;
681 ITMExtHeader *GetRangedWeapon(WeaponInfo &wi) const;
684 ITMExtHeader* GetWeapon(WeaponInfo &wi, bool leftorright=false) const;
719 …bool GetCombatDetails(int &tohit, bool leftorright, WeaponInfo &wi, ITMExtHeader *&header, ITMExtH…
724 int GetWeaponRange(const WeaponInfo &wi) const;
728 int WeaponDamageBonus(const WeaponInfo &wi) const;
[all …]
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Air/
H A DFallsToEarth.cs35 public WeaponInfo ExplosionWeapon { get; private set; }
43 WeaponInfo weapon; in RulesetLoaded()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Projectiles/
H A DIonCannon.cs26 readonly WeaponInfo weapon;
31 …public IonCannon(Player firedBy, WeaponInfo weapon, World world, WPos launchPos, Target target, st… in IonCannon()
/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dweaponslots.h45 struct WeaponInfo struct
52 TArray<WeaponInfo> Weapons; argument
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/UtilityCommands/
H A DExtractWeaponDocsCommand.cs52 var weaponInfo = objectCreator.GetTypesImplementing<WeaponInfo>(); in IUtilityCommand.Run()
87 var liveTraitInfo = t == typeof(WeaponInfo) ? null : objectCreator.CreateBasic(t); in IUtilityCommand.Run()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Buildings/
H A DGroundLevelBridge.cs33 public WeaponInfo DemolishWeaponInfo { get; private set; }
40 WeaponInfo weapon; in RulesetLoaded()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Projectiles/
H A DNukeLaunch.cs26 readonly WeaponInfo weapon;
52 …public NukeLaunch(Player firedBy, string name, WeaponInfo weapon, string weaponPalette, string upS… in NukeLaunch()

123