VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dynamicTerrainMunitionDamageControllerDescriptor.h
Go to the documentation of this file.
1 
8 
9 #pragma once
10 
13 
18 {
19 public:
20 
23  DtReaderWriterRegistry * parentRegistry = 0);
24 
27 
31  DtReaderWriterRegistry * parentRegistry = 0);
32 
36 
39  virtual DtString type() const;
40 
41  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
42  = 0) const;
43 
46  virtual const DtString& standardTerrainDamageType() const;
47  virtual void setStandardTerrainDamageType(const DtString& dmgType);
49 
51 
52  virtual DtString standardPowerType() const;
53  virtual void setStandardPowerType(const DtString& pwrType);
55 
58  virtual const std::map<DtRwReal, DtRwString>& standardTerrainDamageTable() const;
59  virtual void setStandardTerrainDamageTable(const std::map<DtRwReal, DtRwString>& table);
61 
64  virtual bool cratersEnabled() const;
65  virtual void setCratersEnabled(bool areEnabled);
67 
70  virtual int craterMaxLimit() const;
71  virtual void setCraterMaxLimit(int maxLimit);
73 
76  virtual const DtHighFidelityTerrainDamageConfigList& highFidelityTerrainDamageConfigList() const;
78 
80  bool isDamageType(const DtString& changeType) const;
81 
83  static DtComponentDescriptor * creator();
84 
85 protected:
86 
90 
95 
100 
104 
108 
113 
118 
119  mutable std::set<DtString> myMutableDamageTypeSet;
120 };
DtRwInt that encodes the value as a 32 bit integer.
Definition: rwIntSized.h:131
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwString myStandardPowerType
Parameter Name: standard-power-type Parameter Description: String identifying the type of detonation...
Definition: dynamicTerrainMunitionDamageControllerDescriptor.h:99
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
/******************************************************************************* ** Copyright (c) 201...
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtDynamicTerrainControllerDescriptor & operator=(const DtDynamicTerrainControllerDescriptor &orig)
assignment operator
std::set< DtString > myMutableDamageTypeSet
Definition: dynamicTerrainMunitionDamageControllerDescriptor.h:119
DtRwBoolean myAreCraterersEnabled
Parameter Name: craters-enabled Parameter Description: Boolean to indicate whether craters should be ...
Definition: dynamicTerrainMunitionDamageControllerDescriptor.h:111
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Instances of DtDynamicTerrainControllerDescriptor are used to specify the parameters for a DtDynamicT...
Definition: dynamicTerrainControllerDescriptor.h:19
DtTerrainDamageTable myStandardTerrainDamageTable
Parameter Name: standard-terrain-damage-table Parameter Description: Table that indicates the damaged...
Definition: dynamicTerrainMunitionDamageControllerDescriptor.h:103
static DtComponentDescriptor * creator()
Instances of DtDynamicTerrainMunitionDamageControllerDescriptor are used to specify the parameters fo...
Definition: dynamicTerrainMunitionDamageControllerDescriptor.h:17
DtRwString myStandardTerrainDamageType
Parameter Name: standard-terrain-damage-type Parameter Description: The dynamic terrain change type ...
Definition: dynamicTerrainMunitionDamageControllerDescriptor.h:94
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwInt32 myMaximumCraters
Parameter Name: crater-max-limit Parameter Description: Integer to indicate the maximum number of cra...
Definition: dynamicTerrainMunitionDamageControllerDescriptor.h:116
DtHighFidelityTerrainDamageConfigList myHighFidelityTerrainDamageTable
Parameter Name: high-fidelity-terrain-damage-table Parameter Description: Table that indicates how te...
Definition: dynamicTerrainMunitionDamageControllerDescriptor.h:107

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)