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

#include <dungeonmap.hpp>

Public Attributes

s32 parts_no
 
s32 direction
 
float camera_dist
 
s32 visible
 

Detailed Description

Describes one cell of the 20 x 20 dungeon floor grid.

Definition at line 84 of file dungeonmap.hpp.

Member Data Documentation

◆ parts_no

s32 MAPPARTS::parts_no

MapPartsNo of the part that the cell draws.

Definition at line 85 of file dungeonmap.hpp.

◆ direction

s32 MAPPARTS::direction

Rotation that the map part uses.

Definition at line 86 of file dungeonmap.hpp.

◆ camera_dist

float MAPPARTS::camera_dist

Distance from the camera to the cell, as the last draw measured it.

Definition at line 87 of file dungeonmap.hpp.

◆ visible

s32 MAPPARTS::visible

1 if the last draw showed the cell.

Definition at line 88 of file dungeonmap.hpp.