//===========================================================================// // File: gnrator.hpp // // Project: BattleTech Brick: Entity Manager // // Contents: Generator subsystem -- ALIAS / RECONCILIATION NOTE // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. All Rights reserved // // PROPRIETARY AND CONFIDENTIAL // //===========================================================================// // // RECONCILIATION VERDICT: gnrator.cpp's class IS powersub.cpp's Generator. // ------------------------------------------------------------------------ // The surviving source fragment GNRATOR.TCP (CODE/BT/BT/GNRATOR.TCP) defines // methods of the *same* Generator class that powersub.cpp already reconstructed // (the HeatSink-derived voltage generator, classID 0xBC1, vtable 0x50fd74, // ctor @0x4b225c). This module therefore does NOT declare a new class -- it // only documents the original file split and folds in the one method the // surviving .TCP reveals that the powersub.cpp reconstruction omitted. // // Evidence that GNRATOR.TCP == powersub.cpp's Generator: // * GNRATOR.TCP `Generator::TestClass(Mech&) { return True; }` // == powersub.cpp Generator::TestClass @0x4b... (line 844) -- identical. // * GNRATOR.TCP `Generator::ResetToInitialState()` chains // `HeatableSubsystem::ResetToInitialState()` and sets `outputVoltage = 0`. // Generator owns an `outputVoltage` member (powersub.cpp +0x1f8) and is a // HeatSink : HeatableSubsystem -- so the chain and the field both resolve // against powersub.cpp's Generator. No second generator class exists in // the binary (the only "Generator" Derivation name string is @0x50fc60 / // @0x50dc90, single ClassID 0xBC1). // // ==> See powersub.hpp / powersub.cpp for the authoritative declaration and // definitions. In the original tree the Generator class evidently lived // in gnrator.cpp; the binary's only linker tag for the // @0x4b02f0..@0x4b2678 cluster was bt/powersub.cpp, so the reconstruction // captured Generator there. This is purely a source-file-organisation // difference, not a distinct type. // #if !defined(GNRATOR_HPP) # define GNRATOR_HPP #if !defined(POWERSUB_HPP) # include // Generator is declared here #endif // (no new declarations -- intentionally empty; see powersub.hpp::Generator) #endif