17#include "vreVrfObjparam/ammoLoadTime.h"
19#include <vrfobjparam/ballisticGunDescriptor.h>
74 virtual DtString
type()
const override;
81 virtual DtComponentDescriptor*
clone(DtReaderWriterRegistry* parentRegistry = 0)
const override;
DtRwReal myMaxRange
Maximum range of the weapon.
Definition vreBallisticGunDescriptor.h:226
virtual DtString type() const override
Gets the type identifier for this descriptor.
DtRwBoolean myCreateFlyOutProjectile
Flag for creating flyout projectiles.
Definition vreBallisticGunDescriptor.h:255
DtRwString myProjectileType
Type of projectile to create.
Definition vreBallisticGunDescriptor.h:263
virtual void setAmmoLoadTimeList(const DtAmmoLoadTimeList &ammoLoadTimeList)
Sets the ammunition load time list.
static DtComponentDescriptor * creator()
Factory function to create a new instance of this descriptor.
virtual ~DtVreBallisticGunDescriptor() override
Virtual destructor.
DtRwString myJoystickFunctionGroup
Joystick function group identifier.
Definition vreBallisticGunDescriptor.h:232
virtual void setMaxRangeDetonation(DtBoolean maxRangeDetonation)
Sets whether projectiles detonate at maximum range.
virtual const DtEntityType & initialMunition() const
Gets the initial munition type.
virtual DtAmmoLoadTimeList ammoLoadTimeList() const
Gets the ammunition load time list.
virtual void setProjectileType(const DtString &type)
Sets the projectile type.
DtVreBallisticGunDescriptor(const DtSymbolString &componentName, DtReaderWriterRegistry *parentRegistry=0)
Constructor with component name as symbol string.
DtRwReal myReturnGunToCGFControlDuration
Duration before returning gun control to CGF.
Definition vreBallisticGunDescriptor.h:275
virtual DtBoolean createFlyOutProjectile() const
Checks if flyout projectiles are created.
virtual void setReturnGunToCGFControlDuration(DtReal duration)
Sets the duration before returning gun control to CGF.
virtual const DtString & projectileType() const
Gets the projectile type.
DtVreBallisticGunDescriptor & operator=(const DtVreBallisticGunDescriptor &orig)
Assignment operator.
DtVreBallisticGunDescriptor(const DtVreBallisticGunDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
Copy constructor.
DtRwEntityType myInitialMunition
Initial munition entity type.
Definition vreBallisticGunDescriptor.h:247
virtual void setInitialMunition(const DtEntityType &munition)
Sets the initial munition type.
virtual void setJoystickFunctionGroup(const DtString &group)
Sets the joystick function group.
DtVreBallisticGunDescriptor()
Default constructor (not implemented)
virtual DtReal maxRange() const
Gets the maximum range of the weapon.
DtRwBoolean myMaxRangeDetonation
Flag for maximum range detonation.
Definition vreBallisticGunDescriptor.h:240
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
Creates a clone of this descriptor.
virtual DtReal returnGunToCGFControlDuration() const
Gets the duration before returning gun control to CGF.
virtual const DtString & joystickFunctionGroup() const
Gets the joystick function group.
DtAmmoLoadTimeList myAmmoLoadTimeList
List of ammunition load times.
Definition vreBallisticGunDescriptor.h:219
virtual void setMaxRange(DtReal maxRange)
Sets the maximum range of the weapon.
DtVreBallisticGunDescriptor(const DtString &componentName, DtReaderWriterRegistry *parentRegistry=0)
Constructor with component name.
virtual void setCreateFlyOutProjectile(DtBoolean createFlyOutProjectile)
Sets whether flyout projectiles are created.
virtual DtBoolean maxRangeDetonation() const
Checks if projectiles detonate at maximum range.
Export macros for the VREngage Object Parameter library.
#define VREVRFOBJPARAM_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
DtRwTemplatedListPtr< DtAmmoLoadTime, true > DtAmmoLoadTimeList
List of ammunition loading time parameters.
Definition ammoLoadTime.h:142
const char DtVreBallisticGunDescriptorType[]
Type identifier string for the VREngage ballistic gun descriptor.
Definition vreBallisticGunDescriptor.h:24