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

#include <editloop.hpp>

Public Attributes

char name [9][0x40]
 
int parts_no
 
int subtype
 
int kind
 
float position [3]
 
float rotation [3]
 
float lift
 
s16 anime [8]
 
u8 unk_278 [0x50]
 
s16 events [8]
 

Detailed Description

Stores one map-part resource and the classification supplied by its script command.

Definition at line 94 of file editloop.hpp.

Member Data Documentation

◆ name

char MAP_PARTS_INFO::name[9][0x40]

Model resource names: seven shape variants then two more.

Definition at line 95 of file editloop.hpp.

◆ parts_no

int MAP_PARTS_INFO::parts_no

Part number supplied by the script.

Definition at line 96 of file editloop.hpp.

◆ subtype

int MAP_PARTS_INFO::subtype

Road, river, bridge, or surface subtype.

See also
MapPartsSubtype.

Definition at line 97 of file editloop.hpp.

◆ kind

int MAP_PARTS_INFO::kind

Broad ground, building, or terrain classification.

Definition at line 98 of file editloop.hpp.

◆ position

float MAP_PARTS_INFO::position[3]

World-space placement of the part.

Definition at line 99 of file editloop.hpp.

◆ rotation

float MAP_PARTS_INFO::rotation[3]

Orientation of the part, in radians.

Definition at line 100 of file editloop.hpp.

◆ lift

float MAP_PARTS_INFO::lift

How far the part draws above the ground so it does not cut into it; zero for none.

Definition at line 101 of file editloop.hpp.

◆ anime

s16 MAP_PARTS_INFO::anime[8]

Object animations attached to this part.

Definition at line 102 of file editloop.hpp.

◆ unk_278

u8 MAP_PARTS_INFO::unk_278[0x50]

Definition at line 103 of file editloop.hpp.

◆ events

s16 MAP_PARTS_INFO::events[8]

Event points attached to this part.

Definition at line 104 of file editloop.hpp.