//===========================================================================// // File: pilot.hpp // // Project: BattleTech Brick: Entity Manager // // Contents: Pilot -- other-player roster entry (reconstruction stub) // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. All Rights reserved // // PROPRIETARY AND CONFIDENTIAL // //===========================================================================// // // RECONSTRUCTED. No PILOT.HPP survived and the engine (WinTesla MUNGA / // MUNGA_L4) defines no "Pilot" class. In the recovered mechmppr.cpp the // roster entries (pilotArray[]) are touched ONLY as opaque pointers via raw // byte-offset casts (e.g. *(Vector3D*)((int)pilotArray[i] + 0x100), // *(int*)((int)pilotArray[0] + 0x284)); no Pilot data member is ever named. // A forward declaration is therefore sufficient for the consumer to compile. // // Field offsets observed in the binary (for the reconstructor's reference): // pilot + 0x100 world position (Vector3D) // pilot + 0x1e0 pilot id (network ordinal) // pilot + 0x1fc linked entity handle // pilot + 0x284 current target handle (written on the LOCAL pilot) // #if !defined(PILOT_HPP) # define PILOT_HPP class Pilot; // opaque -- accessed only through pointer + offset casts #endif