OpenClonk
C4Material Class Reference

#include <C4Material.h>

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

Public Member Functions

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

Public Attributes

int32_t BlastShiftTo
 
int32_t InMatConvertTo
 
int32_t BelowTempConvertTo
 
int32_t AboveTempConvertTo
 
int32_t DefaultMatTex
 
C4Facet PXSFace
 
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 145 of file C4Material.h.

Constructor & Destructor Documentation

◆ C4Material()

C4Material::C4Material ( )

Definition at line 284 of file C4Material.cpp.

285 {
286  BlastShiftTo=0;
290 }
const int32_t MNone
Definition: C4Constants.h:177
int32_t AboveTempConvertTo
Definition: C4Material.h:154
int32_t InMatConvertTo
Definition: C4Material.h:152
int32_t BelowTempConvertTo
Definition: C4Material.h:153
int32_t BlastShiftTo
Definition: C4Material.h:151

References AboveTempConvertTo, BelowTempConvertTo, BlastShiftTo, InMatConvertTo, and MNone.

Member Function Documentation

◆ Clear()

void C4MaterialCore::Clear ( )
inherited

Definition at line 98 of file C4Material.cpp.

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

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

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CompileFunc()

void C4MaterialCore::CompileFunc ( StdCompiler pComp)
inherited

Definition at line 183 of file C4Material.cpp.

184 {
185  assert(pComp->hasNaming());
186  if (pComp->isDeserializer()) Clear();
187  pComp->Name("Material");
188  pComp->Value(mkNamingAdapt(toC4CStr(Name), "Name", ""));
189 
190  const StdEnumEntry<C4MaterialCoreShape> Shapes[] =
191  {
192  { "Flat", C4M_Flat },
193  { "TopFlat", C4M_TopFlat },
194  { "Smooth", C4M_Smooth },
195  { "Rough", C4M_Rough },
196  { "Octagon", C4M_Octagon },
197  { "Smoother", C4M_Smoother },
198  { nullptr, C4M_Flat }
199  };
200  pComp->Value(mkNamingAdapt(mkEnumAdaptT<uint8_t>(MapChunkType, Shapes),
201  "Shape", C4M_Flat));
202  pComp->Value(mkNamingAdapt(Density, "Density", 0));
203  pComp->Value(mkNamingAdapt(Friction, "Friction", 0));
204  pComp->Value(mkNamingAdapt(DigFree, "DigFree", 0));
205  pComp->Value(mkNamingAdapt(BlastFree, "BlastFree", 0));
206  pComp->Value(mkNamingAdapt(Blast2Object, "Blast2Object", C4ID::None));
207  pComp->Value(mkNamingAdapt(Dig2Object, "Dig2Object", C4ID::None));
208  pComp->Value(mkNamingAdapt(Dig2ObjectRatio, "Dig2ObjectRatio", 0));
209  pComp->Value(mkNamingAdapt(Dig2ObjectCollect, "Dig2ObjectCollect", 0));
210  pComp->Value(mkNamingAdapt(Blast2ObjectRatio, "Blast2ObjectRatio", 0));
211  pComp->Value(mkNamingAdapt(Blast2PXSRatio, "Blast2PXSRatio", 0));
212  pComp->Value(mkNamingAdapt(Instable, "Instable", 0));
213  pComp->Value(mkNamingAdapt(MaxAirSpeed, "MaxAirSpeed", 0));
214  pComp->Value(mkNamingAdapt(MaxSlide, "MaxSlide", 0));
215  pComp->Value(mkNamingAdapt(WindDrift, "WindDrift", 0));
216  pComp->Value(mkNamingAdapt(Inflammable, "Inflammable", 0));
217  if (pComp->isDeserializer())
218  {
219  // The value used to have a wrong spelling ("Incindiary"). If there's
220  // no "Incendiary" value, use the wrong spelling instead
221  try
222  {
223  pComp->Value(mkNamingAdapt(Incendiary, "Incendiary"));
224  }
226  {
227  delete ex;
228  pComp->Value(mkNamingAdapt(Incendiary, "Incindiary", 0));
229  }
230  }
231  else
232  {
233  // When serializing, write both spellings because some script might be
234  // calling GetMaterialVal with the wrong one
235  pComp->Value(mkNamingAdapt(Incendiary, "Incendiary"));
236  pComp->Value(mkNamingAdapt(Incendiary, "Incindiary"));
237  }
238  pComp->Value(mkNamingAdapt(Corrode, "Corrode", 0));
239  pComp->Value(mkNamingAdapt(Corrosive, "Corrosive", 0));
240  pComp->Value(mkNamingAdapt(Extinguisher, "Extinguisher", 0));
241  pComp->Value(mkNamingAdapt(Soil, "Soil", 0));
242  pComp->Value(mkNamingAdapt(Placement, "Placement", 0));
243  pComp->Value(mkNamingAdapt(Light, "Light", 0));
245  "TextureOverlay", ""));
246  pComp->Value(mkNamingAdapt(OverlayType, "OverlayType", 0));
248  "PXSGfx", ""));
249  pComp->Value(mkNamingAdapt(PXSGfxRt, "PXSGfxRt", TargetRect0));
250  pComp->Value(mkNamingAdapt(PXSGfxSize, "PXSGfxSize", PXSGfxRt.Wdt));
251  pComp->Value(mkNamingAdapt(TempConvStrength, "TempConvStrength", 0));
253  "BlastShiftTo", ""));
255  "InMatConvert", ""));
257  "InMatConvertTo", ""));
258  pComp->Value(mkNamingAdapt(InMatConvertDepth, "InMatConvertDepth", 0));
259  pComp->Value(mkNamingAdapt(AboveTempConvert, "AboveTempConvert", 0));
260  pComp->Value(mkNamingAdapt(AboveTempConvertDir, "AboveTempConvertDir", 0));
262  "AboveTempConvertTo", ""));
263  pComp->Value(mkNamingAdapt(BelowTempConvert, "BelowTempConvert", 0));
264  pComp->Value(mkNamingAdapt(BelowTempConvertDir, "BelowTempConvertDir", 0));
266  "BelowTempConvertTo", ""));
267  pComp->Value(mkNamingAdapt(MinHeightCount, "MinHeightCount", 0));
268  pComp->Value(mkNamingAdapt(SplashRate, "SplashRate", 10));
269  pComp->Value(mkNamingAdapt(KeepSinglePixels, "KeepSinglePixels", false));
270  pComp->Value(mkNamingAdapt(AnimationSpeed, "AnimationSpeed", 100));
271  pComp->Value(mkNamingAdapt(LightAngle, "LightAngle", 255));
272  pComp->Value(mkNamingAdapt(mkArrayAdaptDM(LightEmit, 0), "LightEmit"));
273  pComp->Value(mkNamingAdapt(mkArrayAdaptDM(LightSpot, 16),"LightSpot"));
274  pComp->Value(mkNamingAdapt(MinShapeOverlap, "MinShapeOverlap", 25));
275  pComp->NameEnd();
276  // material reactions
278  "Reaction", std::vector<C4MaterialReaction>()));
279 }
@ C4M_Smooth
Definition: C4Material.h:75
@ C4M_Octagon
Definition: C4Material.h:77
@ C4M_TopFlat
Definition: C4Material.h:74
@ C4M_Rough
Definition: C4Material.h:76
@ C4M_Smoother
Definition: C4Material.h:78
const C4TargetRect TargetRect0(0, 0, 0, 0, 0, 0)
StdArrayDefaultAdapt< T, D > mkArrayAdaptDM(T(&array)[size], const D &rDefault)
Definition: StdAdaptors.h:392
StdSTLContainerAdapt< C > mkSTLContainerAdapt(C &rTarget, StdCompiler::Sep eSep=StdCompiler::SEP_SEP)
Definition: StdAdaptors.h:713
StdParameterAdapt< T, P > mkParAdapt(T &&rObj, P &&rPar)
Definition: StdAdaptors.h:490
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
#define toC4CStr(szString)
Definition: StdAdaptors.h:24
Definition: StdAdaptors.h:795
int32_t Wdt
Definition: C4Rect.h:30
void Value(const T &rStruct)
Definition: StdCompiler.h:161
virtual void NameEnd(bool fBreak=false)
Definition: StdCompiler.h:78
virtual bool isDeserializer()
Definition: StdCompiler.h:53
@ RCT_IdtfAllowEmpty
Definition: StdCompiler.h:140
virtual bool Name(const char *szName)
Definition: StdCompiler.h:77
virtual bool hasNaming()
Definition: StdCompiler.h:58

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

Here is the call graph for this function:

◆ Default()

void C4MaterialCore::Default ( )
inherited

Definition at line 153 of file C4Material.cpp.

154 {
155  Clear();
156 }

References C4MaterialCore::Clear().

Here is the call graph for this function:

◆ Load()

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

Definition at line 158 of file C4Material.cpp.

160 {
161  StdStrBuf Source;
162  if (!hGroup.LoadEntryString(szEntryName,&Source))
163  return false;
164  StdStrBuf Name = hGroup.GetFullName() + DirSep + szEntryName;
165  if (!CompileFromBuf_LogWarn<StdCompilerINIRead>(*this, Source, Name.getData()))
166  return false;
167  // adjust placement, if not specified
168  if (!Placement)
169  {
170  if (DensitySolid(Density))
171  {
172  Placement=30;
173  if (!DigFree) Placement+=20;
174  if (!BlastFree) Placement+=10;
175  }
176  else if (DensityLiquid(Density))
177  Placement=10;
178  else Placement=5;
179  }
180  return true;
181 }
bool DensitySolid(int32_t dens)
Definition: C4Landscape.h:196
bool DensityLiquid(int32_t dens)
Definition: C4Landscape.h:206
#define DirSep
StdStrBuf GetFullName() const
Definition: C4Group.cpp:2638
bool LoadEntryString(const char *entry_name, StdStrBuf *buffer)
Definition: C4Group.cpp:2430

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

Here is the call graph for this function:

◆ UpdateScriptPointers()

void C4Material::UpdateScriptPointers ( )

Definition at line 292 of file C4Material.cpp.

293 {
294  for (auto & i : CustomReactionList)
295  i.ResolveScriptFuncs(Name);
296 }

References C4MaterialCore::CustomReactionList, and C4MaterialCore::Name.

Member Data Documentation

◆ AboveTempConvert

int32_t C4MaterialCore::AboveTempConvert
inherited

◆ AboveTempConvertDir

int32_t C4MaterialCore::AboveTempConvertDir
inherited

◆ AboveTempConvertTo

◆ AnimationSpeed

int32_t C4MaterialCore::AnimationSpeed
inherited

Definition at line 133 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ BelowTempConvert

int32_t C4MaterialCore::BelowTempConvert
inherited

◆ BelowTempConvertDir

int32_t C4MaterialCore::BelowTempConvertDir
inherited

◆ BelowTempConvertTo

◆ Blast2Object

C4ID C4MaterialCore::Blast2Object
inherited

◆ Blast2ObjectRatio

int32_t C4MaterialCore::Blast2ObjectRatio
inherited

◆ Blast2PXSRatio

int32_t C4MaterialCore::Blast2PXSRatio
inherited

◆ BlastFree

int32_t C4MaterialCore::BlastFree
inherited

◆ BlastShiftTo

int32_t C4Material::BlastShiftTo

◆ Corrode

int32_t C4MaterialCore::Corrode
inherited

◆ Corrosive

int32_t C4MaterialCore::Corrosive
inherited

◆ CustomReactionList

std::vector<C4MaterialReaction> C4MaterialCore::CustomReactionList
inherited

◆ DefaultMatTex

◆ Density

◆ Dig2Object

C4ID C4MaterialCore::Dig2Object
inherited

◆ Dig2ObjectCollect

int32_t C4MaterialCore::Dig2ObjectCollect
inherited

◆ Dig2ObjectRatio

int32_t C4MaterialCore::Dig2ObjectRatio
inherited

◆ DigFree

◆ Extinguisher

int32_t C4MaterialCore::Extinguisher
inherited

◆ Friction

int32_t C4MaterialCore::Friction
inherited

Definition at line 93 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ Incendiary

int32_t C4MaterialCore::Incendiary
inherited

◆ Inflammable

int32_t C4MaterialCore::Inflammable
inherited

◆ InMatConvertDepth

int32_t C4MaterialCore::InMatConvertDepth
inherited

◆ InMatConvertTo

int32_t C4Material::InMatConvertTo

◆ Instable

int32_t C4MaterialCore::Instable
inherited

◆ KeepSinglePixels

bool C4MaterialCore::KeepSinglePixels
inherited

◆ Light

int32_t C4MaterialCore::Light
inherited

◆ LightAngle

int32_t C4MaterialCore::LightAngle
inherited

Definition at line 134 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ LightEmit

int32_t C4MaterialCore::LightEmit[3]
inherited

Definition at line 135 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ LightSpot

int32_t C4MaterialCore::LightSpot[3]
inherited

Definition at line 136 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ MapChunkType

C4MaterialCoreShape C4MaterialCore::MapChunkType
inherited

◆ MaxAirSpeed

int32_t C4MaterialCore::MaxAirSpeed
inherited

Definition at line 103 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ MaxSlide

int32_t C4MaterialCore::MaxSlide
inherited

◆ MinHeightCount

int32_t C4MaterialCore::MinHeightCount
inherited

◆ MinShapeOverlap

int32_t C4MaterialCore::MinShapeOverlap
inherited

◆ Name

◆ OverlayType

int32_t C4MaterialCore::OverlayType
inherited

◆ Placement

int32_t C4MaterialCore::Placement
inherited

◆ PXSFace

C4Facet C4Material::PXSFace

Definition at line 157 of file C4Material.h.

Referenced by C4MaterialMap::CrossMapMaterials(), and C4PXSSystem::Draw().

◆ PXSGfxRt

C4TargetRect C4MaterialCore::PXSGfxRt
inherited

◆ PXSGfxSize

int32_t C4MaterialCore::PXSGfxSize
inherited

◆ sAboveTempConvertTo

StdCopyStrBuf C4MaterialCore::sAboveTempConvertTo
inherited

Definition at line 128 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ sBelowTempConvertTo

StdCopyStrBuf C4MaterialCore::sBelowTempConvertTo
inherited

Definition at line 125 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ sBlastShiftTo

StdCopyStrBuf C4MaterialCore::sBlastShiftTo
inherited

Definition at line 119 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ sInMatConvert

StdCopyStrBuf C4MaterialCore::sInMatConvert
inherited

◆ sInMatConvertTo

StdCopyStrBuf C4MaterialCore::sInMatConvertTo
inherited

Definition at line 121 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ Soil

int32_t C4MaterialCore::Soil
inherited

Definition at line 111 of file C4Material.h.

Referenced by C4MaterialCore::Clear(), and C4MaterialCore::CompileFunc().

◆ SplashRate

int32_t C4MaterialCore::SplashRate
inherited

◆ sPXSGfx

StdCopyStrBuf C4MaterialCore::sPXSGfx
inherited

◆ sTextureOverlay

StdCopyStrBuf C4MaterialCore::sTextureOverlay
inherited

◆ TempConvStrength

int32_t C4MaterialCore::TempConvStrength
inherited

◆ WindDrift

int32_t C4MaterialCore::WindDrift
inherited

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