added PassengerTypes to rules

This commit is contained in:
Chris Forbes
2010-01-05 14:59:21 +13:00
parent f2231997dc
commit 37a043bf96
3 changed files with 5 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ namespace OpenRa.Game.GameRules
public readonly int[] SelectionSize = null;
public readonly int Passengers = 0;
public readonly int UnloadFacing = 0;
public readonly UnitMovementType[] PassengerTypes = null;
public UnitInfo(string name) { Name = name; }
}

View File

@@ -2,7 +2,7 @@ using OpenRa.Game.Graphics;
namespace OpenRa.Game
{
enum UnitMovementType : byte
public enum UnitMovementType : byte
{
Foot = 0,
Track = 1,

View File

@@ -62,6 +62,7 @@ MuzzleFlash=yes
Voice=VehicleVoice
LongDesc=Tough infantry transport.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
UnloadFacing=220
PassengerTypes=Foot
;; non-combat vehicles
[MRJ]
@@ -141,6 +142,7 @@ Description=Transport
WaterBound=yes
Traits=Unit, Mobile, RenderUnit, Cargo
LongDesc=General-purpose naval transport.\nCan carry infantry and tanks.\n Unarmed
PassengerTypes=Foot,Wheel,Track
[PT]
Description=Gunboat
WaterBound=yes
@@ -183,6 +185,7 @@ BuiltAt=hpad
Traits=Unit, Helicopter, RenderUnitRotor, WithShadow, Cargo
InitialFacing=20
LongDesc=Fast Infantry Transport Helicopter.\n Unarmed
PassengerTypes=Foot
[HELI]
Description=Longbow
BuiltAt=hpad