89 const char *mPendingEmblem;
90 std::unique_ptr<RndTex> mEmblemTex;
91 std::unique_ptr<RndLoader> mEmblemLoader;
AvatarPart(int nPart, int nParent, Avatar *pAvatar)
Construct the model of a part from its entry of the parts array of the avatar entry of the "db" secti...
One of the avatars the game can draw at a time, lent to the AvatarPartSet that shows.
Definition avatar.h:24
void ReleaseType() override
Abandon the loads of the torso and of the emblem.
bool RebuildEmblem()
Take the texture of the emblem SetEmblem() loaded and show it.
void SetEmblem(const char *pszEmblem)
Start loading the file of an emblem.
TorsoPart(int nParent, Avatar *pAvatar)
Construct the model of the torso without an emblem.
~TorsoPart() override
Abandon the load of the emblem and destroy the model.
const char * GetEmblem() const
Definition torsopart.h:83
bool Rebuild() override
Build the meshes of the torso and show the emblem on them.