FreqPartTemplate(const HxStr &name, Rnd::Mat *pMaterial, int nScaleX, int nScaleZ)
Record a part texture's name, material, and bitmap size.
int mScaleX
The texture's bitmap width, which scales a mesh of this kind in 1/128 units.
Definition freqparttemplate.h:78
int mRandomizable
Non-zero when FreqAppearanceDetail::randomize() may change a part of this kind.
Definition freqparttemplate.h:68
Rnd::Mat * mMaterial
The material a mesh of this kind is drawn with.
Definition freqparttemplate.h:62
int mScaleZ
The texture's bitmap height, which scales a mesh of this kind in 1/128 units.
Definition freqparttemplate.h:81
int mCategory
The category the template is listed under, 1 through 11, or 0 for none.
Definition freqparttemplate.h:75
int mColorable
Non-zero when a part of this kind takes a colour.
Definition freqparttemplate.h:65
int mId
The identifier GetPart() indexes by, the template's position in the asset file.
Definition freqparttemplate.h:56
~FreqPartTemplate()
Release the name.
HxStr mName
The name FindPart() looks the template up by, the part texture's name.
Definition freqparttemplate.h:59
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
The rendering engine.
Definition animhelper.h:3