178 unsigned char mPositionAlignment[0xc];
One kind of part the FreQ maker offers, shared by every FreqPart placed from it.
Definition freqparttemplate.h:25
FreqPartTemplate * mTemplate
The template this part is an instance of.
Definition freqpart.h:174
void Pack(Packed *pOut)
Write the transfer form.
Vector3 mPosition
The placement.
Definition freqpart.h:187
void Reset()
Clear every member without deleting the mesh.
void SetMesh(Rnd::Mesh *pMesh)
Replace the mesh, deleting the one this part had.
void SetColor(const Color &color)
Record a colour and apply it to the mesh.
Vector2 mPalettePosition
The palette position the colour is taken from, (-1, -1) while unset.
Definition freqpart.h:203
int mMirrored
Non-zero when the part is mirrored.
Definition freqpart.h:195
FreqPart()
Construct a part with no template, run through Reset().
void operator=(const FreqPart &other)
Copy another part, cloning a fresh mesh from the other part's mesh.
FreqPart(FreqPartTemplate *pTemplate)
Construct a part of one template at the origin.
Rnd::Mesh * GetMesh() const
Report the mesh.
Definition freqpart.h:97
FreqPart(const FreqPart &other)
Copy another part through operator=().
Color * GetColor()
Report the colour the mesh is drawn in.
Definition freqpart.h:120
void Unpack(const Packed &packed)
Read the transfer form.
~FreqPart()
Delete the mesh.
Indexed triangle mesh with one material.
Definition mesh.h:46
The rendering engine.
Definition animhelper.h:3
Linear colour with four float components.
Definition color.h:10
Eight-byte transfer form of a part that Pack() writes and Unpack() reads.
Definition freqpart.h:32
unsigned char mPaletteY
Definition freqpart.h:37
short mX
Definition freqpart.h:34
short mId
Definition freqpart.h:33
short mZ
Definition freqpart.h:35
unsigned char mPaletteX
Definition freqpart.h:36
Two-component vector, used for texture coordinates.
Definition vector2.h:10
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:12