DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
MAP_NPC_MODEL Struct Reference

#include <dungeonmap.hpp>

Public Member Functions

MAP_NPC_MODEL & operator= (const MAP_NPC_MODEL &other)
 

Public Attributes

CCharacter chara
 
float pos [4]
 
float rot [4]
 
s32 parts_no
 
s32 used
 
s32 visible
 
s32 motion_no
 
float draw_pos [16][4]
 
s32 draw_param [16]
 
s32 draw_num
 
u8 unk_1324 [12]
 

Detailed Description

Describes one non-player character that walks in the dungeon.

Definition at line 171 of file dungeonmap.hpp.

Member Function Documentation

◆ operator=()

MAP_NPC_MODEL & MAP_NPC_MODEL::operator= ( const MAP_NPC_MODEL &  other)

Copies one slot over another, field by field.

Mangled name:
__as__13MAP_NPC_MODELFRC13MAP_NPC_MODEL
Address:
0x142C90
Size:
0x104
Return type:
Not recovered.

Member Data Documentation

◆ chara

CCharacter MAP_NPC_MODEL::chara

Draws and moves the character.

Definition at line 172 of file dungeonmap.hpp.

◆ pos

float MAP_NPC_MODEL::pos[4]

World position of the character.

Definition at line 173 of file dungeonmap.hpp.

◆ rot

float MAP_NPC_MODEL::rot[4]

Rotation of the character; its Y part turns every drawn copy.

Definition at line 174 of file dungeonmap.hpp.

◆ parts_no

s32 MAP_NPC_MODEL::parts_no

Index of the map part that the character stands on.

Definition at line 175 of file dungeonmap.hpp.

◆ used

s32 MAP_NPC_MODEL::used

1 if the slot is in use.

Definition at line 176 of file dungeonmap.hpp.

◆ visible

s32 MAP_NPC_MODEL::visible

0 to hide the character.

Definition at line 177 of file dungeonmap.hpp.

◆ motion_no

s32 MAP_NPC_MODEL::motion_no

Motion that the character started with, or -1 to stop it from taking a step.

Definition at line 178 of file dungeonmap.hpp.

◆ draw_pos

float MAP_NPC_MODEL::draw_pos[16][4]

Position of each copy of the character to draw.

Definition at line 179 of file dungeonmap.hpp.

◆ draw_param

s32 MAP_NPC_MODEL::draw_param[16]

Parameter of each copy of the character to draw.

Definition at line 180 of file dungeonmap.hpp.

◆ draw_num

s32 MAP_NPC_MODEL::draw_num

Number of copies of the character to draw.

Definition at line 181 of file dungeonmap.hpp.

◆ unk_1324

u8 MAP_NPC_MODEL::unk_1324[12]

Definition at line 182 of file dungeonmap.hpp.