VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
launchSmokeControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <readerWriter/rwInt.h>
16 #include <readerWriter/rwBoolean.h>
17 #include <readerWriter/rwReal.h>
18 #include "vrfutil/rwResource.h"
19 #include <readerWriter/rwString.h>
21 
25 {
26 public:
29  parentRegistry = NULL);
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
40 
42  virtual ~DtLaunchSmokeControllerDescriptor() override;
43 
46  virtual DtString type() const override;
47 
48  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
49 
51  static DtComponentDescriptor * creator();
52 
55  virtual int munitionBin() const;
56  virtual void setMunitionBin(int minRange);
58 
59  virtual const DtEntityType& detonationType() const;
60  virtual const DtEntityType& resourceType() const
61  {
62  return detonationType();
63  }
64  virtual void setDetonationType(const DtEntityType& type);
65  virtual void setResourceType(const DtEntityType& rName)
66  {
67  setDetonationType(rName);
68  }
69 
70  virtual int numberOfSmokeClouds() const;
71  virtual void setNumberOfSmokeClouds(int numClouds);
72 
73  virtual double distanceFromEntity() const;
74  virtual void setDistanceFromEntity(double d);
75 
76  virtual double interCloudAngle() const;
77  virtual void setInterCloudAngle(double angle);
78 
79  virtual double cloudElevationAngle() const;
80  virtual void setCloudElevationAngle(double angle);
81 
82  virtual bool simulateSmoke() const;
83  virtual void setSimulateSmoke(bool b);
84 
85 protected:
88 
89 protected:
90 
94 
99 
104 
109 
114 
119 
124 
130 };
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwEntityType myDetonationType
Parameter Name: detonation-type Parameter Description: Specify smoke bomb/grenade munition entity typ...
Definition: launchSmokeControllerDescriptor.h:98
virtual void setResourceType(const DtEntityType &rName)
Definition: launchSmokeControllerDescriptor.h:65
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myInterCloudAngle
Parameter Name: inter-cloud-angle Parameter Description: Angle of separation between smoke clouds Par...
Definition: launchSmokeControllerDescriptor.h:113
DtRwBoolean mySimulateSmokeClouds
Parameter Name: simulate-smoke-cloud-objects Parameter Description: Option controls whether or not to...
Definition: launchSmokeControllerDescriptor.h:123
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const DtEntityType & resourceType() const
Definition: launchSmokeControllerDescriptor.h:60
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwReal myDistanceFromEntity
Parameter Name: distance-from-entity Parameter Description: Distance from entity to the first smoke c...
Definition: launchSmokeControllerDescriptor.h:108
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
File: rwEntType.h.
Definition: rwEntityType.h:26
DtLaunchSmokeControllerDescriptor; descriptor for the DtLaunchSmokeComponent component.
Definition: launchSmokeControllerDescriptor.h:24
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwInt myMunitionBin
Parameter Name: munition-bin Parameter Description: The number of the resource bin to look for muniti...
Definition: launchSmokeControllerDescriptor.h:128
static DtComponentDescriptor * creator()
DtRwInt myNumSmokeClouds
Parameter Name: num-smoke-clouds Parameter Description: The number of smoke clouds associated with th...
Definition: launchSmokeControllerDescriptor.h:103
DtRwReal myCloudElevationAngle
Parameter Name: cloud-elevation-angle Parameter Description: angle from entity to launch smoke Parame...
Definition: launchSmokeControllerDescriptor.h:118

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)