Line data Source code
1 : function WallPiece() {} 2 : 3 0 : WallPiece.prototype.Schema = 4 : "<a:help></a:help>" + 5 : "<a:example>" + 6 : "</a:example>" + 7 : "<element name='Length' a:help='Meters. Used in rmgen wallbuilder and the in-game wall-placer.'>" + 8 : "<ref name='nonNegativeDecimal'/>" + 9 : "</element>" + 10 : "<optional>" + 11 : "<element name='Orientation' a:help='Multiples of Pi, measured anti-clockwise. Default: 1; full revolution: 2. Used in rmgen wallbuilder. How the wallpiece should be rotated so it is orientated the same way as every other wallpiece: with the \"line\" of the wall running along a map's `z` axis and the \"outside face\" towards positive `x`. If the piece bends (see below), the orientation should be that of the start of the wallpiece, not the middle.'>" + 12 : "<ref name='nonNegativeDecimal'/>" + 13 : "</element>" + 14 : "</optional>" + 15 : "<optional>" + 16 : "<element name='Indent' a:help='Meters. Default: 0. Used in rmgen wallbuilder. Permits piece to be placed in front (-ve value) or behind (+ve value) a wall.'>" + 17 : "<data type='decimal'/>" + 18 : "</element>" + 19 : "</optional>" + 20 : "<optional>" + 21 : "<element name='Bend' a:help='Multiples of Pi, measured anti-clockwise. Default: 0. Used in rmgen wallbuilder. The difference in orientation between the ends of a wallpiece.'>" + 22 : "<data type='decimal'/>" + 23 : "</element>" + 24 : "</optional>"; 25 : 26 : 27 0 : WallPiece.prototype.Init = function() 28 : { 29 : }; 30 : 31 0 : WallPiece.prototype.Serialize = null; 32 : 33 0 : Engine.RegisterComponentType(IID_WallPiece, "WallPiece", WallPiece);