mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 00:35:27 +00:00
fix: a zone file's boundaries and scene colours are named and kept as main has them
ZoneBoundary's destinationZone and destinationSceneID and the scene's NiColor, so main's scene tools and tests read the zone this branch's reader loads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -121,10 +121,10 @@ TEST(ZoneFileTests, ReadsZoneBoundaries) {
|
||||
const auto& boundary = zone.zoneBoundaries[0];
|
||||
EXPECT_EQ(boundary.normal, NiPoint3(1, 0, 0));
|
||||
EXPECT_EQ(boundary.point, NiPoint3(10, 20, 30));
|
||||
EXPECT_EQ(boundary.destZoneID, LWOZONEID(1100, 7, 0));
|
||||
EXPECT_EQ(boundary.destSceneID, 4u);
|
||||
EXPECT_EQ(boundary.destinationZone, LWOZONEID(1100, 7, 0));
|
||||
EXPECT_EQ(boundary.destinationSceneID, 4u);
|
||||
EXPECT_EQ(boundary.spawnLocation, NiPoint3(5, 6, 7));
|
||||
EXPECT_EQ(zone.zoneBoundaries[1].destZoneID, LWOZONEID(1200, 0, 0));
|
||||
EXPECT_EQ(zone.zoneBoundaries[1].destinationZone, LWOZONEID(1200, 0, 0));
|
||||
EXPECT_EQ(zone.zoneRawPath, "zone.raw");
|
||||
EXPECT_EQ(zone.zoneName, "Name");
|
||||
EXPECT_EQ(zone.zoneDesc, "Description");
|
||||
|
||||
Reference in New Issue
Block a user