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

54 lines
1.3 KiB
C++

#pragma once
#include "mw4.hpp"
#include "adept\map.hpp"
#include "ai.hpp"
namespace ElementRenderer {class GridElement;}
namespace Adept {
class Map;
//##########################################################################
//########################### MWMap ##################################
//##########################################################################
class MWMap: public Map
{
public:
static void InitializeClass();
static void TerminateClass();
static ClassData *DefaultData;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Run-time Construction and Destruction Support
//
public:
static MWMap* Make(const CreateMessage *message,ReplicatorID *base_id);
protected:
MWMap(ClassData *class_data,const CreateMessage *message,ReplicatorID *base_id,ElementRenderer::GridElement *element);
~MWMap();
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Ownership
//
public:
void AddChild(Entity *entity);
void RemoveChild(Entity *entity);
ChainOf<AI *> m_executingAIs;
protected:
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Execution support
//
public:
void PreCollisionExecute(Stuff::Time till);
};
}