//===========================================================================// // File: ProjectileWeapon.hpp //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // 05/18/99 DPB Created File //---------------------------------------------------------------------------// // Copyright (C) 1998, Fasa Interactive // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #pragma once #include "MW4.hpp" #include "ProjectileWeapon.hpp" namespace MechWarrior4 { //########################################################################## //########################### FlamerWeapon ############################ //########################################################################## typedef ProjectileWeapon__GameModel FlamerWeapon__GameModel; typedef ProjectileWeapon__CreateMessage FlamerWeapon__CreateMessage; typedef ProjectileWeapon__ExecutionStateEngine FlamerWeapon__ExecutionStateEngine; typedef ProjectileWeapon__Message FlamerWeapon__Message; typedef ProjectileWeapon__ClassData FlamerWeapon__ClassData; class FlamerWeapon: public ProjectileWeapon { public: static void InitializeClass(); static void TerminateClass(); //########################################################################## // Inheritance support // public: typedef FlamerWeapon__ClassData ClassData; typedef FlamerWeapon__GameModel GameModel; typedef FlamerWeapon__Message Message; typedef FlamerWeapon__ExecutionStateEngine ExecutionStateEngine; typedef FlamerWeapon__CreateMessage CreateMessage; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Run-time Construction and Destruction Support // public: static FlamerWeapon* Make( CreateMessage *message, ReplicatorID *base_id ); protected: FlamerWeapon( ClassData *class_data, CreateMessage *message, ReplicatorID *base_id, ElementRenderer::Element *element ); ~FlamerWeapon(); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Shared Data support // public: static ClassData *DefaultData; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Simulation Support // public: void CreateProjectile(Stuff::Time till); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Test Support // public: void TestInstance() const; }; }