Imports the current Win32 source for the pod-racing game 'Red Planet', built on the MUNGA engine and its L4 (Win32/DirectX) platform layer: - MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend - RP / RP_L4: Red Planet game logic and Win32 application - DivLoader, Setup1: asset loader and installer project - lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies Removed stale Subversion metadata and added .gitignore/.gitattributes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
52 lines
847 B
C++
52 lines
847 B
C++
#pragma once
|
|
|
|
#include "l4vb8.h"
|
|
#include "l4serial.h"
|
|
|
|
//########################################################################
|
|
//################################ Plasma ################################
|
|
//########################################################################
|
|
class PlasmaDisplay :
|
|
public Video8BitBuffered
|
|
{
|
|
public:
|
|
enum
|
|
{
|
|
plasmaWidth=128,
|
|
plasmaHeight=32
|
|
};
|
|
|
|
//Win32 Serial Support: ADB 02/24/2007
|
|
//PlasmaDisplay(Word port, Word int_num);
|
|
PlasmaDisplay::PlasmaDisplay(const char* port);
|
|
|
|
~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];
|
|
};
|