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>
114 lines
3.4 KiB
C++
114 lines
3.4 KiB
C++
//===========================================================================//
|
|
// File: l4audwtr.hpp //
|
|
// Project: MUNGA Brick: Audio Renderer //
|
|
// Contents: //
|
|
//---------------------------------------------------------------------------//
|
|
// Date Who Modification //
|
|
// -------- --- -----------------------------------------------------------//
|
|
// 04/17/95 ECH Initial coding. //
|
|
//---------------------------------------------------------------------------//
|
|
// Copyright (C) 1995, Virtual World Entertainment, Inc. //
|
|
// All Rights reserved worldwide //
|
|
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
|
|
//===========================================================================//
|
|
|
|
#if !defined(l4AUDWTR_HPP)
|
|
# define l4AUDWTR_HPP
|
|
|
|
# if !defined(AUDWTHR_HPP)
|
|
# include <audwthr.hpp>
|
|
# endif
|
|
|
|
# if !defined(L4AUDIO_HPP)
|
|
# include <l4audio.hpp>
|
|
# endif
|
|
|
|
# if !defined(NORMAL_HPP)
|
|
# include <normal.hpp>
|
|
# endif
|
|
|
|
//##########################################################################
|
|
//##################### L4AudioCollisionTrigger ######################
|
|
//##########################################################################
|
|
|
|
class L4AudioCollisionTrigger:
|
|
public AudioStateWatcher
|
|
{
|
|
public:
|
|
//
|
|
//--------------------------------------------------------------------
|
|
// Constructor, Destructor
|
|
//--------------------------------------------------------------------
|
|
//
|
|
#if 0
|
|
L4AudioCollisionTrigger(
|
|
StateIndicator *state_attribute_ptr,
|
|
Normal *normal_attribute_ptr,
|
|
Static3DPatchSource *audio_source,
|
|
Enumeration trigger_state,
|
|
AudioControlID control_ID,
|
|
AudioControlValue control_value,
|
|
Logical dump_value
|
|
);
|
|
#endif
|
|
L4AudioCollisionTrigger(
|
|
PlugStream *stream,
|
|
Entity *entity
|
|
);
|
|
~L4AudioCollisionTrigger();
|
|
|
|
Logical
|
|
TestInstance() const;
|
|
|
|
//
|
|
//--------------------------------------------------------------------
|
|
// BuildFromPage
|
|
//--------------------------------------------------------------------
|
|
//
|
|
static void
|
|
BuildFromPage(
|
|
PlugStream *stream,
|
|
NameList *name_list,
|
|
RegisteredClass::ClassID class_ID,
|
|
ObjectID object_ID
|
|
);
|
|
|
|
protected:
|
|
//
|
|
//--------------------------------------------------------------------
|
|
// StateChanged
|
|
//--------------------------------------------------------------------
|
|
//
|
|
void
|
|
StateChanged(
|
|
Enumeration old_state,
|
|
Enumeration new_state
|
|
);
|
|
|
|
private:
|
|
//
|
|
//-----------------------------------------------------------------------
|
|
// DumpValue
|
|
//-----------------------------------------------------------------------
|
|
//
|
|
void
|
|
DumpValue(const StateIndicator *state_attribute_ptr);
|
|
|
|
//
|
|
//--------------------------------------------------------------------
|
|
// Private data
|
|
//--------------------------------------------------------------------
|
|
//
|
|
Normal*
|
|
normalAttributePtr;
|
|
Enumeration
|
|
triggerState;
|
|
AudioControlID
|
|
controlID;
|
|
AudioControlValue
|
|
controlValue;
|
|
};
|
|
|
|
#endif
|
|
|