remove terrain dependency from mission area

Mission Area now captures the entire level bounds based on objects in the scene
Terrain is no longer required for mission area to be set
This commit is contained in:
marauder2k7 2025-06-15 12:41:47 +01:00
parent 6ffa5fe265
commit 0a1e3f74ed
6 changed files with 133 additions and 116 deletions

View file

@ -51,7 +51,7 @@ ConsoleDocClass( MissionArea,
"@ingroup enviroMisc\n"
);
RectI MissionArea::smMissionArea(Point2I(768, 768), Point2I(512, 512));
RectI MissionArea::smMissionArea(Point2I(-100, -100), Point2I(100, 100));
MissionArea * MissionArea::smServerObject = NULL;
@ -59,7 +59,7 @@ MissionArea * MissionArea::smServerObject = NULL;
MissionArea::MissionArea()
{
mArea.set(Point2I(768, 768), Point2I(512, 512));
mArea.set(Point2I(-100, -100), Point2I(100, 100));
mNetFlags.set(Ghostable | ScopeAlways);
mFlightCeiling = 2000;