Editors::PlayModeAnimations class

Constructors, destructors, conversion operators

~PlayModeAnimations() virtual

Public functions

auto Initialize(int, int) -> bool virtual
void Dispose() virtual
auto PlayAnimation(int, uint32_t playAnimName, bool loop, int mode, int* dstAnimIndex = nullptr) -> float virtual

Protected functions

void ReadAnimations()
Reads all the animation panels in the 0x4060E000 folder.
void ReadPanel(const ResourceKey& name)
Reads the .prop configuration file of a panel that contains multiple animation buttons.
void ReadAnimButton(PlayAnimPanel* pPanel, const ResourceKey& name)
Reads the .prop configuration file of an animation button, and adds it to the given panel.
void GenerateUI()
Creates all the buttons and windows that represent the animations in this object.

Protected variables

cEditor* mpEditor
int field_08
vector<intrusive_ptr<PlayAnimPanel>> mPanels
All the PlayAnimPanel objects, ordered by the 'mnAnimPanelOrder' field.
int field_20
int field_24
int field_28
int field_2C
int field_30
int field_34
int field_38
int field_3C
int field_40
int field_44
int field_48
int field_4C
int field_50
int field_54
int field_58
int field_5C
int field_60
int field_64
int field_68
int field_6C
int field_70
int field_74
int field_78
int field_7C
int field_80
int field_84
int field_88
int field_8C

Function documentation

void Editors::PlayModeAnimations::ReadPanel(const ResourceKey& name) protected

Reads the .prop configuration file of a panel that contains multiple animation buttons.

Parameters
name The ResourceKey of the .prop file.

The files of the panel anim buttons are in the 0x4060E100 folder.

void Editors::PlayModeAnimations::ReadAnimButton(PlayAnimPanel* pPanel, const ResourceKey& name) protected

Reads the .prop configuration file of an animation button, and adds it to the given panel.

Parameters
pPanel The animation buttons panel this button must go.
name The ResourceKey of the .prop file.