Files
firestorm/Gameleap/code/mw4/Code/MW4/bridge.hpp
T
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

98 lines
2.8 KiB
C++

//===========================================================================//
// File: bridge.hpp
//---------------------------------------------------------------------------//
// Date Who Modification //
// -------- --- ---------------------------------------------------------- //
// 01/12/2000 AHF Inital base class
//===========================================================================//
#pragma once
#include "MW4.hpp"
#include "building.hpp"
namespace MechWarrior4
{
//##########################################################################
//########################### Bridge ################################
//##########################################################################
typedef Building__ClassData Bridge__ClassData;
typedef Building__Message Bridge__Message;
typedef Building__ExecutionStateEngine Bridge__ExecutionStateEngine;
typedef Building__CreateMessage Bridge__CreateMessage;
typedef Building__GameModel Bridge__GameModel;
class Bridge:
public Building
{
public:
static void InitializeClass();
static void TerminateClass();
//##########################################################################
// Inheritance support
//
public:
typedef Bridge__ClassData ClassData;
typedef Bridge__GameModel GameModel;
typedef Bridge__Message Message;
typedef Bridge__ExecutionStateEngine ExecutionStateEngine;
typedef Bridge__CreateMessage CreateMessage;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Run-time Construction and Destruction Support
//
public:
static Bridge* Make(CreateMessage *message,ReplicatorID *base_id);
protected:
Bridge(
ClassData *class_data,
CreateMessage *message,
ReplicatorID *base_id,
ElementRenderer::Element *element
);
~Bridge();
void
Reuse(
const CreateMessage *message,
ReplicatorID *base_id
);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Class Data & Game Model Support
//
public:
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Damage/Destruction Support
//
public:
void ReactToDestruction(int damage_mode, int damage_type);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Shared Data support
//
public:
static ClassData *DefaultData;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Simulation Support
//
public:
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Test Support
//
public:
void TestInstance() const;
};
}