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>
64 lines
1.9 KiB
C++
64 lines
1.9 KiB
C++
//===========================================================================//
|
|
// File: wrhous.cc //
|
|
// Project: MUNGA Brick: Gauge Renderer Manager //
|
|
// Contents: //
|
|
// This object manages creation and deletion of dynamically-created objects //
|
|
// of which only on instantiation should exist. It is currently used //
|
|
// only by the gauge renderer. //
|
|
//---------------------------------------------------------------------------//
|
|
// Date Who Modification //
|
|
// -------- --- ---------------------------------------------------------- //
|
|
// 08/01/95 CPB Initial coding. //
|
|
//---------------------------------------------------------------------------//
|
|
// Copyright (C) 1995, Virtual World Entertainment, Inc. All rights reserved //
|
|
// PROPRIETARY and CONFIDENTIAL //
|
|
//===========================================================================//
|
|
|
|
#include <mungal4.hpp>
|
|
|
|
#if !defined(L4WRHOUS_HPP)
|
|
# include <l4wrhous.hpp>
|
|
#endif
|
|
|
|
// #define LOCAL_TEST
|
|
|
|
#if defined(LOCAL_TEST)
|
|
# define Test_Tell(n) DEBUG_STREAM << n
|
|
#else
|
|
# define Test_Tell(n)
|
|
#endif
|
|
|
|
//#######################################################################
|
|
// Warehouse
|
|
//#######################################################################
|
|
L4Warehouse::L4Warehouse() :
|
|
Warehouse()
|
|
{
|
|
Check_Pointer(this);
|
|
Check_Fpu();
|
|
}
|
|
|
|
L4Warehouse::~L4Warehouse()
|
|
{
|
|
Check(this);
|
|
Check_Fpu();
|
|
}
|
|
|
|
void
|
|
L4Warehouse::Purge()
|
|
{
|
|
Check(this);
|
|
|
|
gaugeImageBin.Purge();
|
|
Warehouse::Purge();
|
|
|
|
Check_Fpu();
|
|
}
|
|
|
|
Logical
|
|
L4Warehouse::TestInstance() const
|
|
{
|
|
return Warehouse::TestInstance();
|
|
}
|
|
|