VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
highFidelityTerrainDamageConfig.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
13 #include <vrfutil/rwString.h>
14 #include <vrfutil/rwReal.h>
15 #include <vrfutil/rwEntityType.h>
16 #include <vrfutil/rwBoolean.h>
18 #include <vrfutil/rwTemplatedMap.h>
19 #include <vrfutil/rwKeyValueList.h>
20 
22 
24 {
25 public:
28 
31  parentRegistry = NULL);
32 
34  parentRegistry = NULL);
35 
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
41  DtReaderWriterRegistry* parentRegistry = NULL);
42 
45 
47 
48  virtual DtHighFidelityTerrainDamageConfig* clone(const DtString& name,
49  DtReaderWriterRegistry* parentRegistry = NULL) const;
50 
51  virtual DtHighFidelityTerrainDamageConfig* clone(const DtSymbolString& name,
52  DtReaderWriterRegistry* parentRegistry = NULL) const;
53 
55 
56  virtual DtString dynamicTerrainType() const;
57  virtual void setDynamicTerrainType(const DtString& type);
59 
61 
62  virtual DtString powerType() const;
63  virtual void setPowerType(const DtString& type);
65 
67 
68  virtual DtString damageAlgorithm() const;
69  virtual void setDamageAlgorithm(const DtString& alg);
71 
73 
74  virtual double delay() const;
75  virtual void setDelay(double d);
77 
79 
80  virtual bool detonateOnDestroy() const;
81  virtual void setDetonateOnDestroy(bool v);
83 
86  virtual const DtEntityType& detonationMunition() const;
87  virtual void setDetonationMunition(const DtEntityType& m);
89 
92  virtual const std::map<DtRwReal, DtRwString>& terrainDamageTable() const;
93  virtual void setTerrainDamageTable(const std::map<DtRwReal, DtRwString>& table);
95 
98  virtual const DtRwKeyValueList& additionalAlgorithmConfigList() const;
99  virtual void setAdditionalAlgorithmConfigList(const DtRwKeyValueList& l);
100  virtual DtString additionalAlgorithmConfigValue(const DtString& key) const;
101  virtual void setAdditionalAlgorithmConfigValue(const DtString& key, const DtString& val);
103 
104 protected:
108 
113 
118 
123 
128 
133 
138 
142 
148 };
149 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)