//===========================================================================// // File: btl4mppr.hpp // // Project: BattleTech // // Contents: Implementation details for the L4 mech controls mappers // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #if !defined(BTL4MPPR_HPP) # define BTL4MPPR_HPP # if !defined(MECHMPPR_HPP) # include # endif //##################### Forward Class Declarations ####################### class Mech; class L4Lamp; enum { MechControlsMapperClassID = 0x7dc }; //########################################################################### //####################### L4MechControlsMapper ########################## //########################################################################### class L4MechControlsMapper: public MechControlsMapper { //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Shared Data Support // public: static Derivation ClassDerivations; static SharedData DefaultData; static MessageHandlerSet MessageHandlers; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Construction and Destruction // public: L4MechControlsMapper( Mech *owner, int subsystem_ID, CString subsystem_name, RegisteredClass::ClassID class_ID, SharedData &shared_data = DefaultData ); ~L4MechControlsMapper(); Logical TestInstance() const; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Local Data // protected: int reserved[16]; }; //########################################################################### //###################### MechThrustmasterMapper ######################### //########################################################################### class MechThrustmasterMapper: public L4MechControlsMapper { public: static Derivation ClassDerivations; static SharedData DefaultData; static MessageHandlerSet MessageHandlers; MechThrustmasterMapper( Mech *owner, int subsystem_ID, CString subsystem_name, RegisteredClass::ClassID class_ID = (RegisteredClass::ClassID)MechControlsMapperClassID, SharedData &shared_data = DefaultData ); ~MechThrustmasterMapper(); Logical TestInstance() const; }; //########################################################################### //########################## MechRIOMapper ############################## //########################################################################### class MechRIOMapper: public L4MechControlsMapper { public: static Derivation ClassDerivations; static SharedData DefaultData; static MessageHandlerSet MessageHandlers; MechRIOMapper( Mech *owner, int subsystem_ID, CString subsystem_name, RegisteredClass::ClassID class_ID = (RegisteredClass::ClassID)MechControlsMapperClassID, SharedData &shared_data = DefaultData ); ~MechRIOMapper(); Logical TestInstance() const; }; #endif