//===========================================================================// // File: gnrator.cpp // // Project: BattleTech Brick: Entity Manager // // Contents: Generator subsystem -- ALIAS / RECONCILIATION NOTE // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. All Rights reserved // // PROPRIETARY AND CONFIDENTIAL // //===========================================================================// // // THIS IS NOT A SECOND GENERATOR CLASS. // ------------------------------------------------------------------------ // gnrator.cpp's Generator == powersub.cpp's Generator (HeatSink-derived // voltage generator, classID 0xBC1, vtable 0x50fd74, ctor @0x4b225c, dtor // @0x4b237c, GeneratorSimulation @0x4b1f7c, HandleMessage @0x4b21d0, // CreateStreamedSubsystem @0x4b23bc). The full reconstruction is in // powersub.cpp. See gnrator.hpp for the reconciliation evidence. // // The surviving fragment GNRATOR.TCP carries two method bodies. TestClass // matches powersub.cpp exactly. ResetToInitialState() is the ONE method the // powersub.cpp reconstruction did NOT recover -- it is reproduced verbatim // below (from the surviving source) so the next reconciler can fold it into // powersub.cpp's Generator. In the shipped binary this is the Generator // vtable's slot-10 (ResetToInitialState), distinct from the Generator // HandleMessage / GeneratorSimulation already in powersub.cpp. // // // --- verbatim from GNRATOR.TCP ------------------------------------- // Logical Generator::TestClass(Mech &) // == powersub.cpp (line 844) // { // return True; // } // // void Generator::ResetToInitialState() // ADDITION to powersub.cpp // { // HeatableSubsystem::ResetToInitialState(); // outputVoltage = 0.0f; // } // // ------------------------------------------------------------------- // // Note the surviving ResetToInitialState chains HeatableSubsystem (not the // HeatSink intermediate) -- consistent with the inlined base chain seen in the // other HeatSink-family resets. No code is emitted from this translation unit; // it exists only to record the file mapping and the recovered method. // #include #pragma hdrstop #if !defined(GNRATOR_HPP) # include #endif // Intentionally empty -- Generator is defined in powersub.cpp.