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

#include <editloop.hpp>

Public Attributes

char name [0x40]
 
int width
 
int height
 
float unit_size
 
float unit_alt
 
float origin_x
 
float origin_y
 
float origin_z
 

Detailed Description

Stores one editor-area definition parsed from the map script.

Definition at line 72 of file editloop.hpp.

Member Data Documentation

◆ name

char EDIT_AREA_INFO::name[0x40]

Resource path relative to the active script directory.

Definition at line 73 of file editloop.hpp.

◆ width

int EDIT_AREA_INFO::width

Width of the editable area.

Definition at line 74 of file editloop.hpp.

◆ height

int EDIT_AREA_INFO::height

Height of the editable area.

Definition at line 75 of file editloop.hpp.

◆ unit_size

float EDIT_AREA_INFO::unit_size

World-space width of one grid cell.

Definition at line 76 of file editloop.hpp.

◆ unit_alt

float EDIT_AREA_INFO::unit_alt

World-space height of one elevation step.

Definition at line 77 of file editloop.hpp.

◆ origin_x

float EDIT_AREA_INFO::origin_x

World-space X of the area's grid origin, before centring on the cells.

Definition at line 78 of file editloop.hpp.

◆ origin_y

float EDIT_AREA_INFO::origin_y

World-space height of the area's grid origin.

Definition at line 79 of file editloop.hpp.

◆ origin_z

float EDIT_AREA_INFO::origin_z

World-space Z of the area's grid origin, before centring on the cells.

Definition at line 80 of file editloop.hpp.