Files
TeslaRel410/restoration/source410/BT/RESERVR.CPP
T
CydandClaude Fable 5 30c77fc9fc Mech phase 2: reconstruct the last 6 segment-walk subsystem classes
Completes every class the Mech-ctor segment walk instantiates: Reservoir
(: HeatSink), Searchlight + ThermalSight (: PowerWatcher), MechTech + Subsystem-
MessageManager (: Subsystem, surviving CODE headers), Actuator (: MechSubsystem
fallback). All ctors chain their parents; per-frame methods staged. Full subsystem
roster (~22 classes) reconstructed. BT: 42 ok; tree links clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 00:37:45 -05:00

17 lines
738 B
C++

#include <bt.hpp>
#pragma hdrstop
#if !defined(RESERVR_HPP)
# include <reservr.hpp>
#endif
#if !defined(MECH_HPP)
# include <mech.hpp>
#endif
Derivation Reservoir::ClassDerivations(HeatSink::ClassDerivations, "Reservoir");
Reservoir::SharedData Reservoir::DefaultData(Reservoir::ClassDerivations, Subsystem::MessageHandlers, Subsystem::AttributeIndex, Subsystem::StateCount);
Reservoir::Reservoir(Mech *owner, int subsystem_ID, SubsystemResource *r, SharedData &shared_data)
: HeatSink(owner, subsystem_ID, r, shared_data)
{ Check(owner); Check_Pointer(r); Check_Fpu(); }
Reservoir::~Reservoir() {}
Logical Reservoir::TestClass(Mech &) { return True; }
Logical Reservoir::TestInstance() const { return IsDerivedFrom(ClassDerivations); }