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

#include <dungeonmap.hpp>

Public Attributes

s32 origin_x
 
s32 origin_z
 
s32 kind
 
s32 placed_flag
 
float pos [4]
 
s32 unk_20
 
float radius
 
s32 index
 
s32 reset_flag
 
u8 unk_30 [32]
 

Detailed Description

Marks one place on the floor that starts an event when the player comes near.

Definition at line 155 of file dungeonmap.hpp.

Member Data Documentation

◆ origin_x

s32 DUNGEON_EVENT::origin_x

World X of the object the event belongs to, in whole units.

Definition at line 156 of file dungeonmap.hpp.

◆ origin_z

s32 DUNGEON_EVENT::origin_z

World Z of the object the event belongs to, in whole units.

Definition at line 157 of file dungeonmap.hpp.

◆ kind

s32 DUNGEON_EVENT::kind

Kind of event in the slot.

See also
DungeonEventKind.

Definition at line 158 of file dungeonmap.hpp.

◆ placed_flag

s32 DUNGEON_EVENT::placed_flag

Cleared when the event is placed; nothing reads it.

Definition at line 159 of file dungeonmap.hpp.

◆ pos

float DUNGEON_EVENT::pos[4]

World position that the event uses.

Definition at line 160 of file dungeonmap.hpp.

◆ unk_20

s32 DUNGEON_EVENT::unk_20

Definition at line 161 of file dungeonmap.hpp.

◆ radius

float DUNGEON_EVENT::radius

Distance at which the event starts.

Definition at line 162 of file dungeonmap.hpp.

◆ index

s32 DUNGEON_EVENT::index

Index of the object that the event belongs to.

Definition at line 163 of file dungeonmap.hpp.

◆ reset_flag

s32 DUNGEON_EVENT::reset_flag

Cleared whenever the floor's events are reset; nothing reads it.

Definition at line 164 of file dungeonmap.hpp.

◆ unk_30

u8 DUNGEON_EVENT::unk_30[32]

Definition at line 165 of file dungeonmap.hpp.