Archival snapshot of the Virtual World Entertainment Tesla cockpit software, 1994-1996: MUNGA engine and L4 pod layer source (Borland C++ 5.0), BT/RP game code, and game content (models, audio, maps, gauges, Division renderer data). Includes third-party libraries: Division dVS/DPL graphics, HMI SOS audio, WATTCP networking. Files are preserved byte-for-byte (.gitattributes disables all line-ending conversion). README.md documents the layout, target hardware, and toolchain. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
76 lines
2.4 KiB
Plaintext
76 lines
2.4 KiB
Plaintext
//===========================================================================//
|
|
// File: vidrend.tst //
|
|
// Project: MUNGA Brick: Video Renderer Manager //
|
|
// Contents: Interface specification Video Renderer Manager //
|
|
//---------------------------------------------------------------------------//
|
|
// Date Who Modification //
|
|
// -------- --- ---------------------------------------------------------- //
|
|
// 01/11/95 GAC Initial coding. //
|
|
//---------------------------------------------------------------------------//
|
|
// Copyright (C) 1995, Virtual World Entertainment, Inc. //
|
|
// All Rights reserved worldwide //
|
|
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
|
|
//===========================================================================//
|
|
|
|
#include "entity.thh"
|
|
|
|
Logical
|
|
VideoRenderer::TestClass()
|
|
|
|
{
|
|
|
|
Tell("Starting VideoRenderer::TestClass\n");
|
|
#if 0
|
|
// Create the message that will be used to make my entities
|
|
|
|
TestEntity::MakeMessage
|
|
message1(
|
|
TestEntity::MakeMessageID,
|
|
sizeof(TestEntity::MakeMessage),
|
|
TestEntity::TrivialEntityClassID,
|
|
TestEntity::DefaultFlags,
|
|
LinearOrigin::Identity
|
|
);
|
|
|
|
// Send the message that creates the entity in Entity_1
|
|
|
|
message1.localOrigin.translation.z = -30.0f;
|
|
|
|
Entity* Entity_1 = TestEntity::Make(&message1);
|
|
|
|
Register_Object(Entity_1);
|
|
|
|
// Push the origin in the message forward 30 meters
|
|
|
|
message1.localOrigin.translation.z = 30.0f;
|
|
|
|
// Create the second entity 30 meters in front of the first
|
|
|
|
Entity* Entity_2 = TestEntity::Make(&message1);
|
|
|
|
Register_Object(Entity_2);
|
|
|
|
// create more
|
|
|
|
message1.localOrigin.translation.z = 0.0f;
|
|
message1.localOrigin.translation.x = 30.0f;
|
|
Entity* Entity_3 = TestEntity::Make(&message1);
|
|
Register_Object(Entity_3);
|
|
|
|
|
|
message1.localOrigin.translation.x = -30.0f;
|
|
Entity* Entity_4 = TestEntity::Make(&message1);
|
|
Register_Object(Entity_4);
|
|
|
|
message1.localOrigin.translation.x = 0.0f;
|
|
message1.localOrigin.translation.y = 30.0f;
|
|
Entity* Entity_5 = TestEntity::Make(&message1);
|
|
Register_Object(Entity_5);
|
|
|
|
message1.localOrigin.translation.y = -30.0f;
|
|
Entity* Entity_6 = TestEntity::Make(&message1);
|
|
Register_Object(Entity_6);
|
|
#endif
|
|
return False;
|
|
}
|