//===========================================================================// // File: mech.cpp // // Project: BattleTech Brick: Entity Manager // // Contents: Implementation details for the Mech entity // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #include #pragma hdrstop #if !defined(MECH_HPP) # include #endif // //############################################################################# //############################################################################# // Derivation Mech::ClassDerivations( JointedMover::ClassDerivations, "Mech" ); Mech::SharedData Mech::DefaultData( Mech::ClassDerivations, JointedMover::MessageHandlers, JointedMover::AttributeIndex, 33, (Entity::MakeHandler)Mech::Make ); // //############################################################################# //############################################################################# // Mech* Mech::Make(MakeMessage *creation_message) { return new Mech(creation_message); } // //############################################################################# // Mech ctor -- the heart of the entity (walks the model segment table and // instantiates the full subsystem roster: power, heat, weapons, actuators, // controls, tech, damage zones). This is the largest single function in the // game and the current reconstruction frontier; see MECH.NOTES.md. Chains to // the JointedMover base so the skeleton/segments stream before it Fails. //############################################################################# // Mech::Mech( MakeMessage *creation_message, SharedData &shared_data ): JointedMover(creation_message, shared_data) { Fail("Mech::Mech -- mech.cpp not yet reconstructed"); } Mech::~Mech() { } void Mech::SetMappingSubsystem(Subsystem *) { Fail("Mech::SetMappingSubsystem -- mech.cpp not yet reconstructed"); }