Files
TeslaRel410/CODE/BT/BT_L4/BTL4ARND.HPP
T
CydandClaude Fable 5 fdd9ac9d97 Initial import: Tesla Release 4.10 (Tesla:BattleTech & Tesla:Red Planet)
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>
2026-07-02 13:21:58 -05:00

113 lines
3.4 KiB
C++

//===========================================================================//
// File: btl4arnd.hh //
// Project: MUNGA Brick: Audio Renderer Manager //
// Contents: //
//---------------------------------------------------------------------------//
// Date Who Modification //
// -------- --- ---------------------------------------------------------- //
// 01/30/95 ECH Initial coding. //
//---------------------------------------------------------------------------//
// Copyright (C) 1994, Virtual World Entertainment, Inc. //
// All Rights reserved worldwide //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
//===========================================================================//
#if !defined(BTL4ARND_HPP)
# define BTL4ARND_HPP
# if !defined(L4AUDRND_HPP)
# include <l4audrnd.hpp>
# endif
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BTL4AudioHead ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class Segment;
class BTL4AudioHead:
public AudioHead
{
public:
//
//--------------------------------------------------------------------
// Construction, Destruction, Testing
//--------------------------------------------------------------------
//
BTL4AudioHead();
~BTL4AudioHead();
//
//-----------------------------------------------------------------------
// LinkToEntity
//-----------------------------------------------------------------------
//
void
LinkToEntity(Entity *entity);
//
//-----------------------------------------------------------------------
// GetEarToWorld
//-----------------------------------------------------------------------
//
LinearMatrix
GetEarToWorld();
//
//-----------------------------------------------------------------------
// Execute
//-----------------------------------------------------------------------
//
void
Execute();
private:
//
//--------------------------------------------------------------------------
// Private methods
//--------------------------------------------------------------------------
//
void
CalculateEarToWorld();
//
//--------------------------------------------------------------------------
// Private Data
//--------------------------------------------------------------------------
//
Logical
useEyepointSegment;
EntitySegment*
eyepointSegment;
LinearMatrix
earToWorld;
};
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BTL4AudioRenderer ~~~~~~~~~~~~~~~~~~~~~~~~~~~
class BTL4AudioRenderer:
public L4AudioRenderer
{
public:
//
//--------------------------------------------------------------------
// Construction, Destruction, Testing
//--------------------------------------------------------------------
//
BTL4AudioRenderer(
RendererRate render_rate,
Logical mission_review_mode
);
~BTL4AudioRenderer();
private:
//
//-----------------------------------------------------------------------
// MakeAudioHead
//-----------------------------------------------------------------------
//
AudioHead*
MakeAudioHead();
};
#endif