OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4MaterialCore Class Reference

#include <C4Material.h>

Inheritance diagram for C4MaterialCore:
[legend]
Collaboration diagram for C4MaterialCore:
[legend]

Public Member Functions

 C4MaterialCore ()
 
 ~C4MaterialCore ()
 
void Clear ()
 
void Default ()
 
bool Load (C4Group &hGroup, const char *szEntryName)
 
void CompileFunc (StdCompiler *pComp)
 

Public Attributes

std::vector< C4MaterialReactionCustomReactionList
 
char Name [C4M_MaxName+1]
 
C4MaterialCoreShape MapChunkType
 
int32_t Density
 
int32_t Friction
 
int32_t DigFree
 
int32_t BlastFree
 
C4ID Dig2Object
 
int32_t Dig2ObjectRatio
 
int32_t Dig2ObjectCollect
 
C4ID Blast2Object
 
int32_t Blast2ObjectRatio
 
int32_t Blast2PXSRatio
 
int32_t Instable
 
int32_t MaxAirSpeed
 
int32_t MaxSlide
 
int32_t WindDrift
 
int32_t Inflammable
 
int32_t Incendiary
 
int32_t Extinguisher
 
int32_t Corrosive
 
int32_t Corrode
 
int32_t Soil
 
int32_t Placement
 
int32_t Light
 
StdCopyStrBuf sTextureOverlay
 
int32_t OverlayType
 
StdCopyStrBuf sPXSGfx
 
C4TargetRect PXSGfxRt
 
int32_t PXSGfxSize
 
StdCopyStrBuf sBlastShiftTo
 
StdCopyStrBuf sInMatConvert
 
StdCopyStrBuf sInMatConvertTo
 
int32_t InMatConvertDepth
 
int32_t BelowTempConvert
 
int32_t BelowTempConvertDir
 
StdCopyStrBuf sBelowTempConvertTo
 
int32_t AboveTempConvert
 
int32_t AboveTempConvertDir
 
StdCopyStrBuf sAboveTempConvertTo
 
int32_t TempConvStrength
 
int32_t MinHeightCount
 
int32_t SplashRate
 
bool KeepSinglePixels
 
int32_t AnimationSpeed
 
int32_t LightAngle
 
int32_t LightEmit [3]
 
int32_t LightSpot [3]
 
int32_t MinShapeOverlap
 

Detailed Description

Definition at line 83 of file C4Material.h.

Constructor & Destructor Documentation

C4MaterialCore::C4MaterialCore ( )

Definition at line 94 of file C4Material.cpp.

References Clear().

95 {
96  Clear();
97 }

Here is the call graph for this function:

C4MaterialCore::~C4MaterialCore ( )
inline

Definition at line 87 of file C4Material.h.

References Clear().

87 { Clear(); }

Here is the call graph for this function:

Member Function Documentation

void C4MaterialCore::Clear ( )

Definition at line 99 of file C4Material.cpp.

References AboveTempConvert, AboveTempConvertDir, AnimationSpeed, BelowTempConvert, BelowTempConvertDir, Blast2Object, Blast2ObjectRatio, Blast2PXSRatio, BlastFree, C4M_Flat, StdStrBuf::Clear(), Corrode, Corrosive, CustomReactionList, C4TargetRect::Default(), Density, Dig2Object, Dig2ObjectCollect, Dig2ObjectRatio, DigFree, Extinguisher, Friction, Incendiary, Inflammable, InMatConvertDepth, Instable, KeepSinglePixels, Light, LightAngle, LightEmit, LightSpot, MapChunkType, MaxAirSpeed, MaxSlide, MinHeightCount, MinShapeOverlap, Name, C4ID::None, OverlayType, Placement, PXSGfxRt, PXSGfxSize, sAboveTempConvertTo, sBelowTempConvertTo, sBlastShiftTo, sInMatConvert, sInMatConvertTo, Soil, SplashRate, sPXSGfx, sTextureOverlay, TempConvStrength, and WindDrift.

Referenced by C4MaterialCore(), CompileFunc(), Default(), and ~C4MaterialCore().

100 {
101  CustomReactionList.clear();
103  sPXSGfx.Clear();
109  *Name='\0';
111  Density = 0;
112  Friction = 0;
113  DigFree = 0;
114  BlastFree = 0;
116  Dig2ObjectRatio = 0;
117  Dig2ObjectCollect = 0;
119  Blast2ObjectRatio = 0;
120  Blast2PXSRatio = 0;
121  Instable = 0;
122  MaxAirSpeed = 0;
123  MaxSlide = 0;
124  WindDrift = 0;
125  Inflammable = 0;
126  Incendiary = 0;
127  Extinguisher = 0;
128  Corrosive = 0;
129  Corrode = 0;
130  Soil = 0;
131  Placement = 0;
132  Light = 0;
133  OverlayType = 0;
134  PXSGfxRt.Default();
135  PXSGfxSize = 0;
136  InMatConvertDepth = 0;
137  BelowTempConvert = 0;
139  AboveTempConvert = 0;
141  TempConvStrength = 0;
142  MinHeightCount = 0;
143  SplashRate=10;
144  KeepSinglePixels=false;
145  AnimationSpeed = 20;
146  LightAngle = 255;
147  for (int i = 0; i < 3; i++) {
148  LightEmit[i] = 0;
149  LightSpot[i] = 16;
150  }
151  MinShapeOverlap = 25;
152 }
int32_t Extinguisher
Definition: C4Material.h:110
int32_t MaxSlide
Definition: C4Material.h:106
StdCopyStrBuf sTextureOverlay
Definition: C4Material.h:116
C4TargetRect PXSGfxRt
Definition: C4Material.h:119
void Clear()
Definition: StdBuf.h:474
int32_t Corrode
Definition: C4Material.h:112
int32_t Instable
Definition: C4Material.h:104
int32_t Friction
Definition: C4Material.h:95
int32_t OverlayType
Definition: C4Material.h:117
int32_t AnimationSpeed
Definition: C4Material.h:135
int32_t BlastFree
Definition: C4Material.h:97
int32_t MinShapeOverlap
Definition: C4Material.h:139
int32_t MaxAirSpeed
Definition: C4Material.h:105
int32_t Dig2ObjectCollect
Definition: C4Material.h:100
int32_t LightAngle
Definition: C4Material.h:136
StdCopyStrBuf sPXSGfx
Definition: C4Material.h:118
StdCopyStrBuf sBlastShiftTo
Definition: C4Material.h:121
char Name[C4M_MaxName+1]
Definition: C4Material.h:91
int32_t Light
Definition: C4Material.h:115
int32_t AboveTempConvert
Definition: C4Material.h:128
int32_t AboveTempConvertDir
Definition: C4Material.h:129
static const C4ID None
Definition: C4Id.h:42
int32_t Blast2PXSRatio
Definition: C4Material.h:103
int32_t Blast2ObjectRatio
Definition: C4Material.h:102
StdCopyStrBuf sAboveTempConvertTo
Definition: C4Material.h:130
int32_t MinHeightCount
Definition: C4Material.h:132
StdCopyStrBuf sInMatConvertTo
Definition: C4Material.h:123
int32_t Dig2ObjectRatio
Definition: C4Material.h:99
int32_t Density
Definition: C4Material.h:94
int32_t Soil
Definition: C4Material.h:113
int32_t PXSGfxSize
Definition: C4Material.h:120
int32_t SplashRate
Definition: C4Material.h:133
int32_t BelowTempConvert
Definition: C4Material.h:125
int32_t WindDrift
Definition: C4Material.h:107
int32_t InMatConvertDepth
Definition: C4Material.h:124
int32_t Corrosive
Definition: C4Material.h:111
C4MaterialCoreShape MapChunkType
Definition: C4Material.h:93
int32_t Placement
Definition: C4Material.h:114
bool KeepSinglePixels
Definition: C4Material.h:134
int32_t Incendiary
Definition: C4Material.h:109
int32_t LightEmit[3]
Definition: C4Material.h:137
int32_t TempConvStrength
Definition: C4Material.h:131
int32_t LightSpot[3]
Definition: C4Material.h:138
StdCopyStrBuf sInMatConvert
Definition: C4Material.h:122
std::vector< C4MaterialReaction > CustomReactionList
Definition: C4Material.h:89
void Default()
Definition: C4Rect.cpp:39
StdCopyStrBuf sBelowTempConvertTo
Definition: C4Material.h:127
int32_t DigFree
Definition: C4Material.h:96
int32_t BelowTempConvertDir
Definition: C4Material.h:126
int32_t Inflammable
Definition: C4Material.h:108

Here is the call graph for this function:

Here is the caller graph for this function:

void C4MaterialCore::CompileFunc ( StdCompiler pComp)

Definition at line 184 of file C4Material.cpp.

References AboveTempConvert, AboveTempConvertDir, AnimationSpeed, BelowTempConvert, BelowTempConvertDir, Blast2Object, Blast2ObjectRatio, Blast2PXSRatio, BlastFree, C4M_Flat, C4M_Octagon, C4M_Rough, C4M_Smooth, C4M_Smoother, C4M_TopFlat, Clear(), Corrode, Corrosive, CustomReactionList, Density, Dig2Object, Dig2ObjectCollect, Dig2ObjectRatio, DigFree, Extinguisher, Friction, StdCompiler::hasNaming(), Incendiary, Inflammable, InMatConvertDepth, Instable, StdCompiler::isDeserializer(), KeepSinglePixels, Light, LightAngle, LightEmit, LightSpot, MapChunkType, MaxAirSpeed, MaxSlide, MinHeightCount, MinShapeOverlap, mkArrayAdaptDM, mkNamingAdapt(), mkParAdapt(), mkSTLContainerAdapt(), StdCompiler::Name(), Name, StdCompiler::NameEnd(), C4ID::None, OverlayType, Placement, PXSGfxRt, PXSGfxSize, StdCompiler::RCT_IdtfAllowEmpty, sAboveTempConvertTo, sBelowTempConvertTo, sBlastShiftTo, sInMatConvert, sInMatConvertTo, Soil, SplashRate, sPXSGfx, sTextureOverlay, TargetRect0(), TempConvStrength, toC4CStr, StdCompiler::Value(), C4Rect::Wdt, and WindDrift.

185 {
186  assert(pComp->hasNaming());
187  if (pComp->isDeserializer()) Clear();
188  pComp->Name("Material");
189  pComp->Value(mkNamingAdapt(toC4CStr(Name), "Name", ""));
190 
191  const StdEnumEntry<C4MaterialCoreShape> Shapes[] =
192  {
193  { "Flat", C4M_Flat },
194  { "TopFlat", C4M_TopFlat },
195  { "Smooth", C4M_Smooth },
196  { "Rough", C4M_Rough },
197  { "Octagon", C4M_Octagon },
198  { "Smoother", C4M_Smoother },
199  { nullptr, C4M_Flat }
200  };
201  pComp->Value(mkNamingAdapt(mkEnumAdaptT<uint8_t>(MapChunkType, Shapes),
202  "Shape", C4M_Flat));
203  pComp->Value(mkNamingAdapt(Density, "Density", 0));
204  pComp->Value(mkNamingAdapt(Friction, "Friction", 0));
205  pComp->Value(mkNamingAdapt(DigFree, "DigFree", 0));
206  pComp->Value(mkNamingAdapt(BlastFree, "BlastFree", 0));
207  pComp->Value(mkNamingAdapt(Blast2Object, "Blast2Object", C4ID::None));
208  pComp->Value(mkNamingAdapt(Dig2Object, "Dig2Object", C4ID::None));
209  pComp->Value(mkNamingAdapt(Dig2ObjectRatio, "Dig2ObjectRatio", 0));
210  pComp->Value(mkNamingAdapt(Dig2ObjectCollect, "Dig2ObjectCollect", 0));
211  pComp->Value(mkNamingAdapt(Blast2ObjectRatio, "Blast2ObjectRatio", 0));
212  pComp->Value(mkNamingAdapt(Blast2PXSRatio, "Blast2PXSRatio", 0));
213  pComp->Value(mkNamingAdapt(Instable, "Instable", 0));
214  pComp->Value(mkNamingAdapt(MaxAirSpeed, "MaxAirSpeed", 0));
215  pComp->Value(mkNamingAdapt(MaxSlide, "MaxSlide", 0));
216  pComp->Value(mkNamingAdapt(WindDrift, "WindDrift", 0));
217  pComp->Value(mkNamingAdapt(Inflammable, "Inflammable", 0));
218  if (pComp->isDeserializer())
219  {
220  // The value used to have a wrong spelling ("Incindiary"). If there's
221  // no "Incendiary" value, use the wrong spelling instead
222  try
223  {
224  pComp->Value(mkNamingAdapt(Incendiary, "Incendiary"));
225  }
227  {
228  delete ex;
229  pComp->Value(mkNamingAdapt(Incendiary, "Incindiary", 0));
230  }
231  }
232  else
233  {
234  // When serializing, write both spellings because some script might be
235  // calling GetMaterialVal with the wrong one
236  pComp->Value(mkNamingAdapt(Incendiary, "Incendiary"));
237  pComp->Value(mkNamingAdapt(Incendiary, "Incindiary"));
238  }
239  pComp->Value(mkNamingAdapt(Corrode, "Corrode", 0));
240  pComp->Value(mkNamingAdapt(Corrosive, "Corrosive", 0));
241  pComp->Value(mkNamingAdapt(Extinguisher, "Extinguisher", 0));
242  pComp->Value(mkNamingAdapt(Soil, "Soil", 0));
243  pComp->Value(mkNamingAdapt(Placement, "Placement", 0));
244  pComp->Value(mkNamingAdapt(Light, "Light", 0));
246  "TextureOverlay", ""));
247  pComp->Value(mkNamingAdapt(OverlayType, "OverlayType", 0));
249  "PXSGfx", ""));
250  pComp->Value(mkNamingAdapt(PXSGfxRt, "PXSGfxRt", TargetRect0));
251  pComp->Value(mkNamingAdapt(PXSGfxSize, "PXSGfxSize", PXSGfxRt.Wdt));
252  pComp->Value(mkNamingAdapt(TempConvStrength, "TempConvStrength", 0));
254  "BlastShiftTo", ""));
256  "InMatConvert", ""));
258  "InMatConvertTo", ""));
259  pComp->Value(mkNamingAdapt(InMatConvertDepth, "InMatConvertDepth", 0));
260  pComp->Value(mkNamingAdapt(AboveTempConvert, "AboveTempConvert", 0));
261  pComp->Value(mkNamingAdapt(AboveTempConvertDir, "AboveTempConvertDir", 0));
263  "AboveTempConvertTo", ""));
264  pComp->Value(mkNamingAdapt(BelowTempConvert, "BelowTempConvert", 0));
265  pComp->Value(mkNamingAdapt(BelowTempConvertDir, "BelowTempConvertDir", 0));
267  "BelowTempConvertTo", ""));
268  pComp->Value(mkNamingAdapt(MinHeightCount, "MinHeightCount", 0));
269  pComp->Value(mkNamingAdapt(SplashRate, "SplashRate", 10));
270  pComp->Value(mkNamingAdapt(KeepSinglePixels, "KeepSinglePixels", false));
271  pComp->Value(mkNamingAdapt(AnimationSpeed, "AnimationSpeed", 100));
272  pComp->Value(mkNamingAdapt(LightAngle, "LightAngle", 255));
273  pComp->Value(mkNamingAdapt(mkArrayAdaptDM(LightEmit, 0), "LightEmit"));
274  pComp->Value(mkNamingAdapt(mkArrayAdaptDM(LightSpot, 16),"LightSpot"));
275  pComp->Value(mkNamingAdapt(MinShapeOverlap, "MinShapeOverlap", 25));
276  pComp->NameEnd();
277  // material reactions
279  "Reaction", std::vector<C4MaterialReaction>()));
280 }
int32_t Extinguisher
Definition: C4Material.h:110
virtual bool hasNaming()
Definition: StdCompiler.h:68
Definition: StdAdaptors.h:760
int32_t MaxSlide
Definition: C4Material.h:106
StdCopyStrBuf sTextureOverlay
Definition: C4Material.h:116
C4TargetRect PXSGfxRt
Definition: C4Material.h:119
int32_t Corrode
Definition: C4Material.h:112
int32_t Instable
Definition: C4Material.h:104
int32_t Friction
Definition: C4Material.h:95
int32_t OverlayType
Definition: C4Material.h:117
int32_t AnimationSpeed
Definition: C4Material.h:135
virtual bool Name(const char *szName)
Definition: StdCompiler.h:87
int32_t BlastFree
Definition: C4Material.h:97
int32_t MinShapeOverlap
Definition: C4Material.h:139
#define toC4CStr(szString)
Definition: StdAdaptors.h:25
int32_t MaxAirSpeed
Definition: C4Material.h:105
const C4TargetRect TargetRect0(0, 0, 0, 0, 0, 0)
int32_t Dig2ObjectCollect
Definition: C4Material.h:100
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:93
int32_t LightAngle
Definition: C4Material.h:136
StdCopyStrBuf sPXSGfx
Definition: C4Material.h:118
int32_t Wdt
Definition: C4Rect.h:32
StdCopyStrBuf sBlastShiftTo
Definition: C4Material.h:121
char Name[C4M_MaxName+1]
Definition: C4Material.h:91
int32_t Light
Definition: C4Material.h:115
int32_t AboveTempConvert
Definition: C4Material.h:128
int32_t AboveTempConvertDir
Definition: C4Material.h:129
static const C4ID None
Definition: C4Id.h:42
int32_t Blast2PXSRatio
Definition: C4Material.h:103
int32_t Blast2ObjectRatio
Definition: C4Material.h:102
StdCopyStrBuf sAboveTempConvertTo
Definition: C4Material.h:130
int32_t MinHeightCount
Definition: C4Material.h:132
void Value(const T &rStruct)
Definition: StdCompiler.h:170
#define mkArrayAdaptDM(A, D)
Definition: StdAdaptors.h:361
StdCopyStrBuf sInMatConvertTo
Definition: C4Material.h:123
int32_t Dig2ObjectRatio
Definition: C4Material.h:99
int32_t Density
Definition: C4Material.h:94
virtual bool isDeserializer()
Definition: StdCompiler.h:63
int32_t Soil
Definition: C4Material.h:113
int32_t PXSGfxSize
Definition: C4Material.h:120
int32_t SplashRate
Definition: C4Material.h:133
int32_t BelowTempConvert
Definition: C4Material.h:125
int32_t WindDrift
Definition: C4Material.h:107
int32_t InMatConvertDepth
Definition: C4Material.h:124
StdSTLContainerAdapt< C > mkSTLContainerAdapt(C &rTarget, StdCompiler::Sep eSep=StdCompiler::SEP_SEP)
Definition: StdAdaptors.h:679
int32_t Corrosive
Definition: C4Material.h:111
C4MaterialCoreShape MapChunkType
Definition: C4Material.h:93
int32_t Placement
Definition: C4Material.h:114
bool KeepSinglePixels
Definition: C4Material.h:134
StdParameterAdapt< T, P > mkParAdapt(T &&rObj, P &&rPar)
Definition: StdAdaptors.h:456
int32_t Incendiary
Definition: C4Material.h:109
int32_t LightEmit[3]
Definition: C4Material.h:137
int32_t TempConvStrength
Definition: C4Material.h:131
int32_t LightSpot[3]
Definition: C4Material.h:138
StdCopyStrBuf sInMatConvert
Definition: C4Material.h:122
std::vector< C4MaterialReaction > CustomReactionList
Definition: C4Material.h:89
StdCopyStrBuf sBelowTempConvertTo
Definition: C4Material.h:127
int32_t DigFree
Definition: C4Material.h:96
virtual void NameEnd(bool fBreak=false)
Definition: StdCompiler.h:88
int32_t BelowTempConvertDir
Definition: C4Material.h:126
int32_t Inflammable
Definition: C4Material.h:108

Here is the call graph for this function:

void C4MaterialCore::Default ( )

Definition at line 154 of file C4Material.cpp.

References Clear().

155 {
156  Clear();
157 }

Here is the call graph for this function:

bool C4MaterialCore::Load ( C4Group hGroup,
const char *  szEntryName 
)

Definition at line 159 of file C4Material.cpp.

References BlastFree, Density, DensityLiquid(), DensitySolid(), DigFree, DirSep, StdStrBuf::getData(), C4Group::GetFullName(), C4Group::LoadEntryString(), Name, and Placement.

161 {
162  StdStrBuf Source;
163  if (!hGroup.LoadEntryString(szEntryName,&Source))
164  return false;
165  StdStrBuf Name = hGroup.GetFullName() + DirSep + szEntryName;
166  if (!CompileFromBuf_LogWarn<StdCompilerINIRead>(*this, Source, Name.getData()))
167  return false;
168  // adjust placement, if not specified
169  if (!Placement)
170  {
171  if (DensitySolid(Density))
172  {
173  Placement=30;
174  if (!DigFree) Placement+=20;
175  if (!BlastFree) Placement+=10;
176  }
177  else if (DensityLiquid(Density))
178  Placement=10;
179  else Placement=5;
180  }
181  return true;
182 }
const char * getData() const
Definition: StdBuf.h:450
int32_t BlastFree
Definition: C4Material.h:97
char Name[C4M_MaxName+1]
Definition: C4Material.h:91
StdStrBuf GetFullName() const
Definition: C4Group.cpp:2078
bool DensityLiquid(int32_t dens)
Definition: C4Landscape.h:209
int32_t Density
Definition: C4Material.h:94
bool LoadEntryString(const char *szEntryName, StdStrBuf *Buf)
Definition: C4Group.cpp:1932
int32_t Placement
Definition: C4Material.h:114
#define DirSep
int32_t DigFree
Definition: C4Material.h:96
bool DensitySolid(int32_t dens)
Definition: C4Landscape.h:199

Here is the call graph for this function:

Member Data Documentation

int32_t C4MaterialCore::AboveTempConvert
int32_t C4MaterialCore::AboveTempConvertDir

Definition at line 129 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4Landscape::P::DoScan().

int32_t C4MaterialCore::AnimationSpeed

Definition at line 135 of file C4Material.h.

Referenced by Clear(), and CompileFunc().

int32_t C4MaterialCore::BelowTempConvert
int32_t C4MaterialCore::BelowTempConvertDir

Definition at line 126 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4Landscape::P::DoScan().

C4ID C4MaterialCore::Blast2Object

Definition at line 101 of file C4Material.h.

Referenced by C4Landscape::P::BlastMaterial2Objects(), Clear(), and CompileFunc().

int32_t C4MaterialCore::Blast2ObjectRatio

Definition at line 102 of file C4Material.h.

Referenced by C4Landscape::P::BlastMaterial2Objects(), Clear(), and CompileFunc().

int32_t C4MaterialCore::Blast2PXSRatio

Definition at line 103 of file C4Material.h.

Referenced by C4Landscape::P::BlastMaterial2Objects(), Clear(), and CompileFunc().

int32_t C4MaterialCore::BlastFree

Definition at line 97 of file C4Material.h.

Referenced by C4Landscape::P::BlastFreePix(), Clear(), CompileFunc(), and Load().

int32_t C4MaterialCore::Corrode
int32_t C4MaterialCore::Corrosive
std::vector<C4MaterialReaction> C4MaterialCore::CustomReactionList
C4ID C4MaterialCore::Dig2Object

Definition at line 98 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4Landscape::P::DigMaterial2Objects().

int32_t C4MaterialCore::Dig2ObjectCollect

Definition at line 100 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4Landscape::P::DigMaterial2Objects().

int32_t C4MaterialCore::Dig2ObjectRatio

Definition at line 99 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4Landscape::P::DigMaterial2Objects().

int32_t C4MaterialCore::Extinguisher

Definition at line 110 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4MaterialMap::CrossMapMaterials().

int32_t C4MaterialCore::Friction

Definition at line 95 of file C4Material.h.

Referenced by Clear(), and CompileFunc().

int32_t C4MaterialCore::Incendiary
int32_t C4MaterialCore::Inflammable
int32_t C4MaterialCore::InMatConvertDepth

Definition at line 124 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4MaterialMap::mrfConvert().

int32_t C4MaterialCore::Instable
bool C4MaterialCore::KeepSinglePixels

Definition at line 134 of file C4Material.h.

Referenced by C4Landscape::CheckInstability(), Clear(), and CompileFunc().

int32_t C4MaterialCore::Light

Definition at line 115 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4Landscape::UpdatePixMaps().

int32_t C4MaterialCore::LightAngle

Definition at line 136 of file C4Material.h.

Referenced by Clear(), and CompileFunc().

int32_t C4MaterialCore::LightEmit[3]

Definition at line 137 of file C4Material.h.

Referenced by Clear(), and CompileFunc().

int32_t C4MaterialCore::LightSpot[3]

Definition at line 138 of file C4Material.h.

Referenced by Clear(), and CompileFunc().

C4MaterialCoreShape C4MaterialCore::MapChunkType
int32_t C4MaterialCore::MaxAirSpeed

Definition at line 105 of file C4Material.h.

Referenced by Clear(), and CompileFunc().

int32_t C4MaterialCore::MaxSlide
int32_t C4MaterialCore::MinHeightCount
int32_t C4MaterialCore::MinShapeOverlap

Definition at line 139 of file C4Material.h.

Referenced by C4Landscape::P::ChunkOZoom(), Clear(), and CompileFunc().

int32_t C4MaterialCore::OverlayType
int32_t C4MaterialCore::Placement

Definition at line 114 of file C4Material.h.

Referenced by Clear(), CompileFunc(), Load(), MatPlacement(), and C4Landscape::UpdatePixMaps().

C4TargetRect C4MaterialCore::PXSGfxRt
int32_t C4MaterialCore::PXSGfxSize

Definition at line 120 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4PXSSystem::Draw().

StdCopyStrBuf C4MaterialCore::sAboveTempConvertTo

Definition at line 130 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4MaterialMap::CrossMapMaterials().

StdCopyStrBuf C4MaterialCore::sBelowTempConvertTo

Definition at line 127 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4MaterialMap::CrossMapMaterials().

StdCopyStrBuf C4MaterialCore::sBlastShiftTo

Definition at line 121 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4MaterialMap::CrossMapMaterials().

StdCopyStrBuf C4MaterialCore::sInMatConvert

Definition at line 122 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4MaterialMap::CrossMapMaterials().

StdCopyStrBuf C4MaterialCore::sInMatConvertTo

Definition at line 123 of file C4Material.h.

Referenced by Clear(), and CompileFunc().

int32_t C4MaterialCore::Soil

Definition at line 113 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4Game::PlaceVegetation().

int32_t C4MaterialCore::SplashRate

Definition at line 133 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and mrfInsertCheck().

StdCopyStrBuf C4MaterialCore::sPXSGfx

Definition at line 118 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4MaterialMap::CrossMapMaterials().

StdCopyStrBuf C4MaterialCore::sTextureOverlay
int32_t C4MaterialCore::TempConvStrength

Definition at line 131 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4Landscape::P::DoScan().

int32_t C4MaterialCore::WindDrift

Definition at line 107 of file C4Material.h.

Referenced by Clear(), CompileFunc(), and C4PXS::Execute().


The documentation for this class was generated from the following files: