Skylands: Enable half solid masks for scaffolds

We found these scaffolds to be rather infuriating to use, maybe this
will make it a bit better.
install-platforms
Lukas Werling 2017-12-27 13:17:24 +01:00
parent 4b0ab0b8b1
commit ea009cad76
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,7 @@ func SetLeftExtension(object host)
SetPosition(host->GetX()+13, host->GetY()+12);
SetSolidMask(0,0,32,4);
SetVertexXY(0,1+29,-27);
SetHalfVehicleSolidMask(true);
return true;
}
@ -43,6 +44,7 @@ func SetRightExtension(object host)
SetPosition(host->GetX()+13, host->GetY()+12);
SetSolidMask(0,0,32,4);
SetVertexXY(0,1-29,-27);
SetHalfVehicleSolidMask(true);
return true;
}
@ -54,6 +56,7 @@ func SetTopRightExtension(object host)
SetPosition(host->GetX()+15, host->GetY()-48);
SetSolidMask(0,0,2,32,2,0);
SetVertexXY(0,-27,1+32);
SetHalfVehicleSolidMask(true);
return true;
}
@ -65,6 +68,7 @@ func SetTopLeftExtension(object host)
SetPosition(host->GetX()-16, host->GetY()-48);
SetSolidMask(0,0,2,32);
SetVertexXY(0,1,1+32);
SetHalfVehicleSolidMask(true);
return true;
}
@ -76,6 +80,7 @@ func SetTop(object host)
SetPosition(host->GetX()-16, host->GetY()-16);
SetSolidMask(0,0,32,4);
SetVertexXY(0,1,1);
SetHalfVehicleSolidMask(true);
return true;
}
@ -87,6 +92,7 @@ func SetBottom(object host)
SetPosition(host->GetX()-16, host->GetY()+12);
SetSolidMask(0,0,32,4);
SetVertexXY(0,1,-27);
SetHalfVehicleSolidMask(true);
return true;
}