diff --git a/tests/dGameTests/dComponentsTests/MovingPlatformComponentTests.cpp b/tests/dGameTests/dComponentsTests/MovingPlatformComponentTests.cpp index 2f0d40168..baffc5459 100644 --- a/tests/dGameTests/dComponentsTests/MovingPlatformComponentTests.cpp +++ b/tests/dGameTests/dComponentsTests/MovingPlatformComponentTests.cpp @@ -50,7 +50,7 @@ protected: void TearDown() override { TearDownDependencies(); } }; -// LWOMovingPlatformComponent::LoadConfigData: no setting means a mover without a registry component, a simple mover +// How the client chooses: no setting means a mover without a registry component, a simple mover // with one; the settings choose otherwise TEST_F(MovingPlatformComponentTest, SubcomponentTypeFromLevelConfig) { Entity pathOnly(288300744895900100, info); @@ -80,7 +80,7 @@ TEST_F(MovingPlatformComponentTest, SubcomponentTypeFromLevelConfig) { info.settings.values.clear(); } -// LWOMovingPlatformComponent::SetupPlatform: one subcomponent per setting that is true, mover, simple mover, rotater +// The client makes one subcomponent per setting that is true, mover, simple mover, rotater TEST_F(MovingPlatformComponentTest, OneSubcomponentPerSetting) { info.settings.Insert(u"platformIsRotater", true); info.settings.Insert(u"platformIsMover", true); @@ -322,7 +322,7 @@ TEST_F(MovingPlatformComponentTest, SimpleMoverStartsAtItsEnd) { EXPECT_EQ(counterweight.GetPosition(), NiPoint3(10.0f, 20.0f, 30.0f)); } -// A rotater's subcomponent is type 6 with a mover's data (LWOPlatform::Deserialize reads both) +// A rotater's subcomponent is type 6 with a mover's data (the client reads both the same way) TEST_F(MovingPlatformComponentTest, RotaterIsWrittenAsTypeSix) { info.settings.Insert(u"platformIsRotater", true); Entity rotater(288300744895900107, info); @@ -477,7 +477,7 @@ TEST_F(MovingPlatformComponentTest, MoverOnceLikeLiveFallingTile) { EXPECT_FALSE(mover->mInReverse); } -// The object goes with its mover on the server (LWOPlatform moves it ignoring the dirty flags), turned between the +// The object goes with its mover on the server (the client's platform moves it ignoring the dirty flags), turned between the // waypoints' rotations, and its physics are not serialized for it: live sent a moving target's mover data only TEST_F(MovingPlatformComponentTest, MoverCarriesItsObject) { Path path; @@ -608,7 +608,7 @@ TEST_F(MovingPlatformComponentTest, BuiltSimpleMoverSetsOffLikeLive) { EXPECT_EQ(Bits(arrived), "00"); } -// LWOPlatformRotator::SetAngularVelocity: the velocity that turns from no rotation to the configured one in +// The client's rotator: the velocity that turns from no rotation to the configured one in // half the rate. The client's matrices about an axis turn the other way round than the usual ones, so a quarter turn // about x in 1 s is -pi/2 about x; in reverse it is the other way. Whole turns have no axis and give no velocity. Half // a turn can go either way round: the float pi is a little over pi, so the shortest way is the usual direction. @@ -832,7 +832,7 @@ TEST_F(MovingPlatformComponentTest, MoverAndRotatorBothRun) { } // Live's movers at a waypoint between the ends of their path: the object is put at the waypoint and serialized waiting -// there (9), keeps the velocity it came with for the wait (LWOPlatform::SetWaitingTime only takes it away at +// there (9), keeps the velocity it came with for the wait (the client only takes it away at // an end or when stopped), and is serialized leaving (2) from where that took it, with the part of the next stretch it // is from the waypoint: the GF shooting gallery subs (speed 15, no wait, so the shortest, 0.1 s: two of live's frames) // left 2 units past each waypoint. From there it goes the next stretch's direction and arrives as it passes the