Home
last modified time | relevance | path

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

/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Buildings/
H A DTransformsIntoMobile.cs41 public LocomotorInfo LocomotorInfo { get; private set; } property in OpenRA.Mods.Common.Traits.TransformsIntoMobileInfo
45 var locomotorInfos = rules.Actors["world"].TraitInfos<LocomotorInfo>(); in RulesetLoaded()
46 LocomotorInfo = locomotorInfos.FirstOrDefault(li => li.Name == Locomotor); in RulesetLoaded()
47 if (LocomotorInfo == null) in RulesetLoaded()
102 if (!Info.LocomotorInfo.MoveIntoShroud && !self.Owner.Shroud.IsExplored(cell)) in IResolveOrder.ResolveOrder()
142 if (!Info.LocomotorInfo.MoveIntoShroud && order.Target.Type != TargetType.Invalid) in IOrderVoice.VoicePhraseForOrder()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/World/
H A DJumpjetActorLayer.cs65 …bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return li is JumpjetLoc… in ICustomMovementLayer.EnabledForActor()
76 bool ValidTransitionCell(CPos cell, LocomotorInfo li) in ValidTransitionCell()
91 int ICustomMovementLayer.EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.EntryMovementCost()
97 int ICustomMovementLayer.ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.ExitMovementCost()
H A DSubterraneanActorLayer.cs64 …bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return li is Subterrane… in ICustomMovementLayer.EnabledForActor()
75 bool ValidTransitionCell(CPos cell, LocomotorInfo li) in ValidTransitionCell()
90 int ICustomMovementLayer.EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.EntryMovementCost()
96 int ICustomMovementLayer.ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.ExitMovementCost()
H A DElevatedBridgeLayer.cs72 bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return enabled; } in ICustomMovementLayer.EnabledForActor()
82 int ICustomMovementLayer.EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.EntryMovementCost()
87 int ICustomMovementLayer.ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.ExitMovementCost()
H A DTerrainTunnelLayer.cs71 bool ICustomMovementLayer.EnabledForActor(ActorInfo a, LocomotorInfo li) { return enabled; } in ICustomMovementLayer.EnabledForActor()
81 int ICustomMovementLayer.EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.EntryMovementCost()
86 int ICustomMovementLayer.ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell) in ICustomMovementLayer.ExitMovementCost()
H A DLocomotor.cs58 public class LocomotorInfo : ITraitInfo class
142 internal WorldMovementInfo(World world, LocomotorInfo info) in WorldMovementInfo()
154 public LocomotorInfo() in LocomotorInfo() method in OpenRA.Mods.Common.Traits.LocomotorInfo
206 public readonly LocomotorInfo Info;
213 LocomotorInfo.TerrainInfo[] terrainInfos;
220 public Locomotor(Actor self, LocomotorInfo info) in Locomotor()
H A DJumpjetLocomotor.cs17 public class JumpjetLocomotorInfo : LocomotorInfo
H A DSubterraneanLocomotor.cs17 public class SubterraneanLocomotorInfo : LocomotorInfo
H A DPathFinder.cs22 public class PathFinderInfo : ITraitInfo, Requires<LocomotorInfo>
107 var li = mi.LocomotorInfo; in FindUnitPathToRange()
H A DDomainIndex.cs40 public bool IsPassable(CPos p1, CPos p2, LocomotorInfo li) in IsPassable()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/
H A DMobile.cs67 public LocomotorInfo LocomotorInfo { get; private set; } property in OpenRA.Mods.Common.Traits.MobileInfo
71 var locomotorInfos = rules.Actors["world"].TraitInfos<LocomotorInfo>(); in RulesetLoaded()
72 LocomotorInfo = locomotorInfos.FirstOrDefault(li => li.Name == Locomotor); in RulesetLoaded()
73 if (LocomotorInfo == null) in RulesetLoaded()
123 bool IOccupySpaceInfo.SharesCell { get { return LocomotorInfo.SharesCell; } }
251 if (Info.LocomotorInfo.SharesCell) in OccupiedCells()
451 if (Info.LocomotorInfo.SharesCell) in GetValidSubCell()
579 if (crushes.Trait.CrushableBy(crushes.Actor, self, Info.LocomotorInfo.Crushes)) in AnyCrushables()
953 if (!Info.LocomotorInfo.MoveIntoShroud && !self.Owner.Shroud.IsExplored(cell)) in IResolveOrder.ResolveOrder()
999 readonly LocomotorInfo locomotorInfo;
[all …]
H A DCrushable.cs60 …self.Kill(crusher, crusherMobile != null ? crusherMobile.Info.LocomotorInfo.CrushDamageTypes : def… in INotifyCrushed.OnCrush()
H A DProductionFromMapEdge.cs62 var locomotorInfo = mobileInfo.LocomotorInfo; in Produce()
H A DCarryall.cs179 …landableTerrainTypes = Carryable.Trait<Mobile>().Info.LocomotorInfo.TerrainSpeeds.Keys.ToHashSet(); in AttachCarryable()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Lint/
H A DCheckLocomotorReferences.cs24 var locomotorInfos = worldActor.TraitInfos<LocomotorInfo>().ToArray(); in Run()
50 …void CheckLocomotors(ActorInfo actorInfo, Action<string> emitError, Ruleset rules, LocomotorInfo[]… in CheckLocomotors()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Traits/
H A DMine.cs48 if (mobile != null && !info.DetonateClasses.Overlaps(mobile.Info.LocomotorInfo.Crushes)) in INotifyCrushed.OnCrush()
51 …self.Kill(crusher, mobile != null ? mobile.Info.LocomotorInfo.CrushDamageTypes : default(BitSet<Da… in INotifyCrushed.OnCrush()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Conditions/
H A DGrantConditionOnSubterraneanLayer.cs38 if (mobileInfo == null || !(mobileInfo.LocomotorInfo is SubterraneanLocomotorInfo)) in RulesetLoaded()
55 var li = (SubterraneanLocomotorInfo)mobileInfo.LocomotorInfo; in Created()
H A DGrantConditionOnJumpjetLayer.cs21 if (mobileInfo == null || !(mobileInfo.LocomotorInfo is JumpjetLocomotorInfo)) in RulesetLoaded()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Activities/
H A DFindAndDeliverResources.cs27 readonly LocomotorInfo locomotorInfo;
46 locomotorInfo = mobile.Info.LocomotorInfo; in FindAndDeliverResources()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/
H A DTraitsInterfaces.cs402 bool EnabledForActor(ActorInfo a, LocomotorInfo li); in EnabledForActor()
403 int EntryMovementCost(ActorInfo a, LocomotorInfo li, CPos cell); in EntryMovementCost()
404 int ExitMovementCost(ActorInfo a, LocomotorInfo li, CPos cell); in ExitMovementCost()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Activities/Move/
H A DMoveAdjacentTo.cs138 if (domainIndex.IsPassable(loc, cell, Mobile.Info.LocomotorInfo) && Mobile.CanEnterCell(cell)) in CalculatePathToTarget()
H A DMove.cs283 waitTicksRemaining = mobile.Info.LocomotorInfo.WaitAverage; in PopPath()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/BotModules/Squads/States/
H A DNavyStates.cs32 var locomotorInfo = first.Info.TraitInfo<MobileInfo>().LocomotorInfo; in FindClosestEnemy()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Pathfinder/
H A DPathGraph.cs90 readonly LocomotorInfo.WorldMovementInfo worldMovementInfo;
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Crates/
H A DCrate.cs135 return self.IsAtGroundLevel() && mi.LocomotorInfo.Crushes.Contains(info.CrushClass); in INotifyParachute.OnLanded()