44 void SetType(
const char *pszType)
override;
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
InstrPart(int nParent, Avatar *pAvatar)
Construct the model of the instrument.
void ReleaseType() override
Return to the choice the mesh shows.
void SetType(const char *pszType) override
Start loading the instrument file on the first call, then show a choice once the file has loaded.
bool Rebuild() override
Show the mesh of the pending choice once the instrument file has loaded.
~InstrPart() override=default
Destroy the object.