DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
motionmodel.hpp
1
#pragma once
2
3
#include "common.h"
4
5
#include "
dataalloc_fwd.hpp
"
6
#include "
gameutil.hpp
"
7
8
// Forward declarations for the types these declarations name. The skeleton
9
// headers are generated from the retail symbol table, which knows the type
10
// names but not where they live.
11
class
CMotionModel
{
12
public
:
13
CFrame
*
frame
;
14
u8 unk_04[0xC];
15
tagMOTION_TYPE
motion
;
16
int
current_motion
;
17
u8 unk_94[0xC];
18
26
void
LoadPack
(
unsigned
int
*pack,
char
*base_name,
CDataAlloc2<1>
*model_arena,
CDataAlloc2<1>
*motion_arena,
MOTION_INFO
*motion_info,
int
initialize_frames);
27
35
void
Step
();
36
44
void
Draw
();
45
};
46
47
STATIC_ASSERT(
sizeof
(
CMotionModel
) == 0xA0);
48
56
int
GetWeaponElementAttr(
int
element);
CDataAlloc2
Definition
dataalloc.hpp:22
CFrame
Definition
frame.hpp:58
CMotionModel
Definition
motionmodel.hpp:11
CMotionModel::Step
void Step()
Definition
motionmodel.cpp:94
CMotionModel::motion
tagMOTION_TYPE motion
Definition
motionmodel.hpp:15
CMotionModel::frame
CFrame * frame
Definition
motionmodel.hpp:13
CMotionModel::current_motion
int current_motion
Definition
motionmodel.hpp:16
CMotionModel::LoadPack
void LoadPack(unsigned int *pack, char *base_name, CDataAlloc2< 1 > *model_arena, CDataAlloc2< 1 > *motion_arena, MOTION_INFO *motion_info, int initialize_frames)
Definition
motionmodel.cpp:24
CMotionModel::Draw
void Draw()
Definition
motionmodel.cpp:104
dataalloc_fwd.hpp
gameutil.hpp
MOTION_INFO
Definition
gameutil.hpp:175
tagMOTION_TYPE
Definition
gameutil.hpp:268
ps2
include
motionmodel.hpp
Generated by
1.9.8