|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
Public Member Functions | |
| void | LoadPack (unsigned int *pack, char *base_name, CDataAlloc2< 1 > *model_arena, CDataAlloc2< 1 > *motion_arena, MOTION_INFO *motion_info, int initialize_frames) |
| void | Step () |
| void | Draw () |
Public Attributes | |
| CFrame * | frame |
| u8 | unk_04 [0xC] |
| tagMOTION_TYPE | motion |
| int | current_motion |
| u8 | unk_94 [0xC] |
Definition at line 11 of file motionmodel.hpp.
| void CMotionModel::LoadPack | ( | unsigned int * | pack, |
| char * | base_name, | ||
| CDataAlloc2< 1 > * | model_arena, | ||
| CDataAlloc2< 1 > * | motion_arena, | ||
| MOTION_INFO * | motion_info, | ||
| int | initialize_frames | ||
| ) |
Reads one model and its motions out of an archive into two arenas.
Definition at line 24 of file motionmodel.cpp.
| void CMotionModel::Step | ( | ) |
Advances the model's motion by a frame.
Definition at line 94 of file motionmodel.cpp.
| void CMotionModel::Draw | ( | ) |
Draws the model.
Definition at line 104 of file motionmodel.cpp.
| CFrame* CMotionModel::frame |
Frame that draws the model.
Definition at line 13 of file motionmodel.hpp.
| u8 CMotionModel::unk_04[0xC] |
Definition at line 14 of file motionmodel.hpp.
| tagMOTION_TYPE CMotionModel::motion |
Motion data and playback state for the model.
Definition at line 15 of file motionmodel.hpp.
| int CMotionModel::current_motion |
Motion selected for the next playback step.
Definition at line 16 of file motionmodel.hpp.
| u8 CMotionModel::unk_94[0xC] |
Definition at line 17 of file motionmodel.hpp.