Files
RP412/RP_L4/RPL4MODE.h
T
CydandClaude Opus 4.8 4abbf8879f Initial import of Red Planet v4.10 Win32 source
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>
2026-06-30 07:59:51 -05:00

77 lines
1.9 KiB
C++

#pragma once
#include "..\munga\mode.h"
//#########################################################################
//########################## RPL4ControlsManager ##########################
//#########################################################################
class RPL4ModeManager : public ModeManager
{
public:
enum
{
};
//-------------------------------------------------------------------
// Construction/destruction/verification
//-------------------------------------------------------------------
public:
RPL4ModeManager(ModeMask initial_mask):
ModeManager(initial_mask)
{}
//-------------------------------------------------------------------
// Mode control
//-------------------------------------------------------------------
enum
{
ModeNonConfigBit = ModeManager::nextModeBit,
ModeConfigReadyBit,
ModeConfigOnBit,
ModePreset1Bit,
ModePreset2Bit,
ModePreset3Bit,
ModePreset4Bit,
ModePreset5Bit,
ModePreset6Bit,
ModeBasicBit,
ModeStandardBit,
ModeIntercomBit
};
enum
{
ModePreset1 = 1L<<ModePreset1Bit,
ModePreset2 = 1L<<ModePreset2Bit,
ModePreset3 = 1L<<ModePreset3Bit,
ModePreset4 = 1L<<ModePreset4Bit,
ModePreset5 = 1L<<ModePreset5Bit,
ModePreset6 = 1L<<ModePreset6Bit,
ModeNonConfig = 1L<<ModeNonConfigBit,
ModeConfigReady = 1L<<ModeConfigReadyBit,
ModeConfigOn = 1L<<ModeConfigOnBit,
ModeBasic = 1L<<ModeBasicBit,
ModeStandard = 1L<<ModeStandardBit,
ModeIntercom = 1L<<ModeIntercomBit
};
// Handy combinations
enum
{
ModeConfiguring =
ModeConfigReady | ModeConfigOn,
ModeAllNonConfig =
ModePreset1 | ModePreset2 | ModePreset3 |
ModePreset4 | ModePreset5 | ModePreset6 |
ModeNonConfig,
ModeInitial = ModeNonConfig | ModeBasic
};
Logical // defined as virtual in MODE.HPP
ModeStringLookup(const char *name, ModeMask *returned_value);
};