public UIRoofer(VM vm, LotView.World world, ILotControl parent, List <int> parameters) { vm.SendCommand(new VMNetSetRoofCmd() { Pitch = vm.Context.Architecture.RoofPitch, Style = (uint)parameters[0] }); }
public UITerrainRaiser(VM vm, LotView.World world, ILotControl parent, List <int> parameters) { this.vm = vm; World = parent.World; Parent = parent; WallCursor = vm.Context.CreateObjectInstance(0x2F39B7A6, LotTilePos.OUT_OF_WORLD, FSO.LotView.Model.Direction.NORTH, true); ((ObjectComponent)WallCursor.Objects[0].WorldUI).ForceDynamic = true; }
public UIFloorPainter(VM vm, LotView.World world, ILotControl parent, List <int> parameters) { Pattern = (ushort)parameters[0]; this.vm = vm; World = parent.World; Parent = parent; Commands = new List <VMArchitectureCommand>(); }
public UIWallPainter(VM vm, LotView.World world, ILotControl parent, List <int> parameters) { Pattern = (ushort)parameters[0]; this.vm = vm; World = parent.World; Parent = parent; WallCursor = vm.Context.CreateObjectInstance(0x00000439, LotTilePos.OUT_OF_WORLD, FSO.LotView.Model.Direction.NORTH, true); ((ObjectComponent)WallCursor.Objects[0].WorldUI).ForceDynamic = true; Commands = new List <VMArchitectureCommand>(); SetCursorGraphic(2); }
public UIWallPlacer(VM vm, LotView.World world, ILotControl parent, List <int> parameters) { Pattern = (ushort)parameters[0]; Style = (ushort)parameters[1]; if (Style == 1) { DrawPattern = 255; DrawStyle = 255; } else { DrawPattern = Pattern; DrawStyle = Style; } this.vm = vm; World = parent.World; Parent = parent; WallCursor = vm.Context.CreateObjectInstance(0x00000439, LotTilePos.OUT_OF_WORLD, FSO.LotView.Model.Direction.NORTH, true); ((ObjectComponent)WallCursor.Objects[0].WorldUI).ForceDynamic = true; }