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

#include <editpartsinfo.hpp>

Public Attributes

s32 header_size
 
s32 data_size
 
s32 width
 
s32 height
 
s32 kind
 
u8 unk_14 [0x10]
 
float position [3]
 
float rotation [3]
 
u8 * cell
 
s32 element_id [6]
 
char * element_name [6]
 
EPARTS_FUNC_DATA * func
 
s32 func_count
 

Detailed Description

Describes the shape of one editable map part, as the part definition file on the disc writes it.

Definition at line 18 of file editpartsinfo.hpp.

Member Data Documentation

◆ header_size

s32 EPARTS_INFO_HEADER::header_size

Byte offset from the header to the packed cell map.

Definition at line 19 of file editpartsinfo.hpp.

◆ data_size

s32 EPARTS_INFO_HEADER::data_size

Total number of bytes occupied by the packed record.

Definition at line 20 of file editpartsinfo.hpp.

◆ width

s32 EPARTS_INFO_HEADER::width

Cells that the part covers from west to east.

Definition at line 21 of file editpartsinfo.hpp.

◆ height

s32 EPARTS_INFO_HEADER::height

Cells that the part covers from north to south.

Definition at line 22 of file editpartsinfo.hpp.

◆ kind

s32 EPARTS_INFO_HEADER::kind

Parts classification copied from the source definition.

Definition at line 23 of file editpartsinfo.hpp.

◆ unk_14

u8 EPARTS_INFO_HEADER::unk_14[0x10]

Definition at line 24 of file editpartsinfo.hpp.

◆ position

float EPARTS_INFO_HEADER::position[3]

Where the part stands, relative to its plot.

Definition at line 25 of file editpartsinfo.hpp.

◆ rotation

float EPARTS_INFO_HEADER::rotation[3]

Which way it faces.

Definition at line 26 of file editpartsinfo.hpp.

◆ cell

u8* EPARTS_INFO_HEADER::cell

One byte per grid cell, row by row, that says what the cell is.

Definition at line 27 of file editpartsinfo.hpp.

◆ element_id

s32 EPARTS_INFO_HEADER::element_id[6]

Identifiers for the part's optional visual elements.

Definition at line 28 of file editpartsinfo.hpp.

◆ element_name

char* EPARTS_INFO_HEADER::element_name[6]

Packed names of the part's optional visual elements.

Definition at line 29 of file editpartsinfo.hpp.

◆ func

EPARTS_FUNC_DATA* EPARTS_INFO_HEADER::func

Records that say what stands on the part.

Definition at line 30 of file editpartsinfo.hpp.

◆ func_count

s32 EPARTS_INFO_HEADER::func_count

Number of those records.

Definition at line 31 of file editpartsinfo.hpp.