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

91 lines
2.1 KiB
C++

#pragma once
#include "MW4.hpp"
#include <Adept\Entity.hpp>
namespace MechWarrior4
{
typedef Adept::Entity__CreateMessage VOEntity__CreateMessage;
typedef Adept::Entity__GameModel VOEntity__GameModel;
typedef Adept::Entity__ExecutionStateEngine VOEntity__ExecutionStateEngine;
//##########################################################################
//########################## VOEntity ################################
//##########################################################################
class VOEntity:
public Adept::Entity
{
public:
static void
InitializeClass();
static void
TerminateClass();
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Run-time Construction and Destruction Support
//
public:
typedef VOEntity__CreateMessage CreateMessage;
typedef VOEntity__GameModel GameModel;
typedef VOEntity__ExecutionStateEngine ExecutionStateEngine;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Run-time Construction and Destruction Support
//
public:
static VOEntity*
Make(
CreateMessage *message,
ReplicatorID *base_id
);
~VOEntity();
protected:
VOEntity(
ClassData *class_data,
CreateMessage *message,
ReplicatorID *base_id,
ElementRenderer::Element *element
);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Attribute Support
//
public:
enum{
VoiceOverAttributeID = Entity::NextAttributeID,
NextAttributeID
};
int
voiceOverAttribute;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Simmulation support
//
public:
void PlayVoiceOver();
void StopVoiceOver();
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Class Data support
//
public:
static ClassData
*DefaultData;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Test Support
//
public:
void
TestInstance() const;
};
}