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>
71 lines
1.9 KiB
C++
71 lines
1.9 KiB
C++
//===========================================================================//
|
|
// File: L4plasma.hpp //
|
|
// Project: MUNGA Brick: Applications-specific controls module //
|
|
// Contents: Interface specification for plasma display //
|
|
//---------------------------------------------------------------------------//
|
|
// Date Who Modification //
|
|
// -------- --- -----------------------------------------------------------//
|
|
// 04/20/95 CPB Initial coding. //
|
|
//---------------------------------------------------------------------------//
|
|
// Copyright (C) 1995, Virtual World Entertainment, Inc. All rights reserved //
|
|
// PROPRIETARY and CONFIDENTIAL //
|
|
//===========================================================================//
|
|
|
|
#if !defined(L4PLASMA_HPP)
|
|
# define L4PLASMA_HPP
|
|
|
|
# if !defined(L4VB8_HPP)
|
|
# include <l4vb8.hpp>
|
|
# endif
|
|
|
|
# if !defined(L4SERIAL_HPP)
|
|
# include <l4serial.hpp>
|
|
# endif
|
|
|
|
//########################################################################
|
|
//################################ Plasma ################################
|
|
//########################################################################
|
|
class PlasmaDisplay :
|
|
public Video8BitBuffered
|
|
{
|
|
public:
|
|
enum
|
|
{
|
|
plasmaWidth=128,
|
|
plasmaHeight=32
|
|
};
|
|
|
|
PlasmaDisplay(Word port, Word int_num);
|
|
|
|
~PlasmaDisplay();
|
|
|
|
Logical
|
|
TestInstance() const;
|
|
|
|
void
|
|
ShowInstance(char *indent);
|
|
|
|
Logical
|
|
Update(Logical forceall);
|
|
|
|
void
|
|
WaitForUpdate();
|
|
|
|
protected:
|
|
void
|
|
Scan(Logical forceall);
|
|
|
|
Logical
|
|
forceAll,
|
|
updateInProgress;
|
|
|
|
PCSerial
|
|
*pc_serial;
|
|
int
|
|
currentTransferLine;
|
|
char
|
|
updateFlag[32];
|
|
};
|
|
|
|
#endif
|