Mantis: 1079

o Structures cannot be dropped in vents in which they would sink.


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@309 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2005-07-28 00:13:43 +00:00
parent 037745e786
commit e9ac847a1b

View file

@ -1657,6 +1657,12 @@ bool AvHSHUGetSizeForTech(AvHMessageID inMessageID, Vector& outMinSize, Vector&
theSuccess = true; theSuccess = true;
break; break;
case BUILD_ARMSLAB:
outMinSize = Vector(-16, -16, 0);
outMaxSize = Vector(16.0, 16.0, 72.0 /*66.9486*/);
theSuccess = true;
break;
case BUILD_TURRET: case BUILD_TURRET:
outMinSize = Vector(-16, -16, 0); outMinSize = Vector(-16, -16, 0);
outMaxSize = Vector(16.0, 16.0, 42.0); outMaxSize = Vector(16.0, 16.0, 42.0);
@ -1674,26 +1680,26 @@ bool AvHSHUGetSizeForTech(AvHMessageID inMessageID, Vector& outMinSize, Vector&
case BUILD_COMMANDSTATION: case BUILD_COMMANDSTATION:
outMinSize = Vector(-16, -16, 0); outMinSize = Vector(-16, -16, 0);
outMaxSize = Vector(16.0, 16.0, 70.34); outMaxSize = Vector(16.0, 16.0, 73.0 /*70.34*/);
theSuccess = true; theSuccess = true;
break; break;
case BUILD_TURRET_FACTORY: case BUILD_TURRET_FACTORY:
outMinSize = Vector(-16, -16, 0); outMinSize = Vector(-16, -16, 0);
//outMaxSize = Vector(16.0, 16.0, 55.68); //outMaxSize = Vector(16.0, 16.0, 55.68);
outMaxSize = Vector(16.0, 16.0, 62.1931); outMaxSize = Vector(16.0, 16.0, 73.0 /*62.1931*/);
theSuccess = true; theSuccess = true;
break; break;
case BUILD_ARMORY: case BUILD_ARMORY:
outMinSize = Vector(-16, -16, 0); outMinSize = Vector(-16, -16, 0);
outMaxSize = Vector(16.0, 16.0, 62.1931); outMaxSize = Vector(16.0, 16.0, 73.0 /*62.1931*/);
theSuccess = true; theSuccess = true;
break; break;
case BUILD_PROTOTYPE_LAB: case BUILD_PROTOTYPE_LAB:
outMinSize = Vector(-16, -16, 0); outMinSize = Vector(-16, -16, 0);
outMaxSize = Vector(16.0, 16.0, 67.7443); outMaxSize = Vector(16.0, 16.0, 73.0 /*67.7443*/);
theSuccess = true; theSuccess = true;
break; break;
@ -1705,7 +1711,7 @@ bool AvHSHUGetSizeForTech(AvHMessageID inMessageID, Vector& outMinSize, Vector&
case BUILD_SIEGE: case BUILD_SIEGE:
outMinSize = Vector(-16, -16, 0); outMinSize = Vector(-16, -16, 0);
outMaxSize = Vector(16.0, 16.0, 62.1931/*50.6678*/); outMaxSize = Vector(16.0, 16.0, 73.0 /*62.1931*/ /*50.6678*/);
theSuccess = true; theSuccess = true;
break; break;