331 unsigned char mReserved[0xc];
Avatar an appearance stores apart from its username.
Definition freqappearancedetail.h:36
One placed part of a FreQ avatar.
Definition freqpart.h:25
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Receiver notified once a memory-card task has finished.
Definition memcarduser.h:24
virtual void PlayCycleRightSound(int nSelector)
Play nothing.
void SetFreqName(const HxStr &name)
Rename the avatar and show the name on FREQ_NAME.txt.
std::list< FreqPart * > & GetParts()
Report the parts of the avatar.
FreqPart * SelectPart(int nIndex)
Mark the canvas modified and start editing one part.
void CommitPersona()
Write the avatar and its name into the persona being edited, or into a new one, and make that persona...
virtual int PollContainerLoad()
Report the container load finished once the FreQ maker assets are resident as well.
virtual void OnExitFinished()
Unhang the avatar view from fm_canvas.view.
virtual void PlayCycleLeftSound(int nSelector)
Play nothing.
void Randomize()
Randomise the avatar and mark the canvas modified.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Do nothing.
static MetFreqMakerCanvasScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
void DeletePart(int nIndex)
Delete one part and mark the canvas modified.
MetFreqMakerCanvasScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
int mModified
Non-zero after any edit, and cleared on commit or load.
Definition metfreqmakercanvasscreen.h:341
void LoadPrefab(MetPersonaData *pSource, int nRandomize)
Start a new persona from a pre-fab one's avatar, optionally randomised.
void PlaceCursor()
Place the previewed part, or stop editing the selected one, and mark the canvas modified.
virtual void ResolveContainerViews()
Resolve the base views, hang the avatar view from fm_canvas.view, and record that it is hung.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Ignore the command.
HxStr * GetFreqName()
Report the avatar's name.
virtual ~MetFreqMakerCanvasScreen()
void RecentrePart(int nIndex)
Move one part to the origin, bring it to the front, and mark the canvas modified.
MetPersonaData * mPersona
The persona being edited, or null for a new one.
Definition metfreqmakercanvasscreen.h:328
void SetColor(const Color &color, const Vector2 &palettePosition)
Apply a colour to the previewed or selected part.
void RevertSelection()
Restore the selected part from the copy taken when it was selected.
void SelectTemplate(const HxStr &name)
Start placing a part of one template.
void ResetCursor()
Return the placement state to its unset values.
void HandleCanvasCommand(const MetScreenCommand *pCommand)
Apply one of the canvas editing commands, codes 13 through 21, to the avatar.
virtual void EnterAndShow()
Show the screen and hang the avatar view from fm_canvas.view again.
void LoadPersona(MetPersonaData *pPersona)
Load one persona's avatar and name for editing.
Saved record of one player persona.
Definition metpersonadata.h:39
Front-end renderer that owns the screen stack and drives every MetScreen.
Definition metrenderer.h:68
MetScreen(MetRenderer *pRenderer, int nPriority, const HxStr &name, const HxStr &directory, const HxStr &file)
Construct a screen and start its container load.
Linear colour with four float components.
Definition color.h:10
One navigation command delivered to a screen.
Definition metscreen.h:46
Two-component vector, used for texture coordinates.
Definition vector2.h:10