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

#include <editpartsinfo.hpp>

Public Attributes

s32 width
 
s32 height
 
u8 cell [32][2]
 
s32 kind
 
s32 element_id [6]
 
char element_name [6][0x20]
 

Detailed Description

Holds the unpacked grid and visual-element names read from a parts definition.

Definition at line 85 of file editpartsinfo.hpp.

Member Data Documentation

◆ width

s32 INIT_PARTSINFO::width

Cells that the source part covers from west to east.

Definition at line 86 of file editpartsinfo.hpp.

◆ height

s32 INIT_PARTSINFO::height

Cells that the source part covers from north to south.

Definition at line 87 of file editpartsinfo.hpp.

◆ cell

u8 INIT_PARTSINFO::cell[32][2]

Source grid cells, whose low bytes form the packed grid.

Definition at line 88 of file editpartsinfo.hpp.

◆ kind

s32 INIT_PARTSINFO::kind

Parts classification copied into the packed header.

Definition at line 89 of file editpartsinfo.hpp.

◆ element_id

s32 INIT_PARTSINFO::element_id[6]

Identifiers for the optional visual elements.

Definition at line 90 of file editpartsinfo.hpp.

◆ element_name

char INIT_PARTSINFO::element_name[6][0x20]

Names belonging to the optional visual elements.

Definition at line 91 of file editpartsinfo.hpp.