Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

60 lines
2.0 KiB
C++

//===========================================================================//
// File: mode.hpp //
// Project: MUNGA Brick: Controls Module //
// Contents: Interface specification for Controls/Gauges modules //
//---------------------------------------------------------------------------//
// 09/09/98 JSE Inital base class based off of Shadowrun/Adept //
//---------------------------------------------------------------------------//
// Copyright (C) 1998, Fasa Interactive //
// All Rights reserved worldwide //
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
//===========================================================================//
#pragma once
#include "MW4.hpp"
#include <Adept\ModeManager.hpp>
namespace MechWarrior4
{
//#########################################################################
//############################# SRModeManager #############################
//#########################################################################
class MWModeManager:
public Adept::ModeManager
{
public:
enum
{
StandardModeBit = ModeManager::NextBit,
NextBit
};
#if NextBit > INT_BITS
#error Too many flag bits requested!
#endif
enum
{
StandardMode = 1<<StandardModeBit
};
//-------------------------------------------------------------------
// Construction/destruction/verification
//-------------------------------------------------------------------
public:
MWModeManager(Adept::ModeMask initial_mask);
//-------------------------------------------------------------------
// String-to-Mode lookup
//-------------------------------------------------------------------
public:
static Adept::ModeMask
ModeStringLookup(const char *name);
};
}