DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
character.hpp File Reference

Go to the source code of this file.

Classes

struct  CHARA_FOOT_SOUND
 
struct  CHARA_EVENT
 
struct  CHARA_UNK_1068
 
class  MotionParam
 
class  CCharacter
 
class  CMainChara
 

Macros

#define CHARA_MOTION_MAX   8
 
#define CHARA_POINT_LIGHT_MAX   2
 
#define CHARA_CLOTH_MAX   4
 
#define CHARA_FOOT_SOUND_MAX   6
 
#define CHARA_EVENT_MAX   32
 

Enumerations

enum  CharaEventKind { CHARA_EVENT_FOOT_SOUND = 0 , CHARA_EVENT_SOUND_EFFECT = 1 }
 

Functions

 STATIC_ASSERT (sizeof(CHARA_FOOT_SOUND)==0x14)
 
 STATIC_ASSERT (sizeof(CHARA_EVENT)==0x14)
 
 STATIC_ASSERT (sizeof(CHARA_UNK_1068)==0x14)
 
 STATIC_ASSERT (sizeof(MotionParam)==0x80)
 
int scissior (float out[][4], float first[][4], float second[][4], float near_z)
 
 STATIC_ASSERT (sizeof(CCharacter)==0x11B0)
 
 STATIC_ASSERT (sizeof(CMainChara)==0x12A0)
 

Variables

void * GeneratedCharacterVtable []
 

Detailed Description

Declares the character that a motion drives.

Definition in file character.hpp.

Macro Definition Documentation

◆ CHARA_MOTION_MAX

#define CHARA_MOTION_MAX   8

Number of sets of motions that one character can hold.

Definition at line 35 of file character.hpp.

◆ CHARA_POINT_LIGHT_MAX

#define CHARA_POINT_LIGHT_MAX   2

Number of point lights that one character can stand in.

Definition at line 37 of file character.hpp.

◆ CHARA_CLOTH_MAX

#define CHARA_CLOTH_MAX   4

Number of pieces of cloth that one character can wear.

Definition at line 39 of file character.hpp.

◆ CHARA_FOOT_SOUND_MAX

#define CHARA_FOOT_SOUND_MAX   6

Number of foot sounds that one motion can ask for.

Definition at line 41 of file character.hpp.

◆ CHARA_EVENT_MAX

#define CHARA_EVENT_MAX   32

Number of events that one motion can ask for.

Definition at line 43 of file character.hpp.

Enumeration Type Documentation

◆ CharaEventKind

Kinds of character motion event, as CHARA_EVENT::kind holds them.

Enumerator
CHARA_EVENT_FOOT_SOUND 

Footstep sound.

CHARA_EVENT_SOUND_EFFECT 

Sound effect.

Definition at line 22 of file character.hpp.

Function Documentation

◆ scissior()

int scissior ( float  out[][4],
float  first[][4],
float  second[][4],
float  near_z 
)

Clips a triangle against the near plane, giving back the polygon that survives.

Mangled name:
scissior__FPA4_fPA4_fPA4_ff
Address:
0x137440
Size:
0xA38

Definition at line 58 of file character.cpp.

Variable Documentation

◆ GeneratedCharacterVtable

void* GeneratedCharacterVtable[]

Virtual table of CCharacter under the name main's array constructors install it by.

Definition at line 614 of file character.hpp.