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

#include <dungeoneventdata.hpp>

Public Attributes

char name [16]
 
CFrame * placement_frame
 
CFrame * trigger_frame
 
float radius
 
s32 parts_id
 
s32 script_no
 
s32 fade
 
s32 hold
 
s32 chara_no
 
s32 key_id
 
s32 switch_on
 
s32 ext_mem
 
s32 enabled
 

Detailed Description

Names one event that a dungeon floor lays out, as the floor's event file declares it.

Definition at line 13 of file dungeoneventdata.hpp.

Member Data Documentation

◆ name

char CDungeonEvent::name[16]

Name of the frame in the map part's collision that places the event.

Definition at line 15 of file dungeoneventdata.hpp.

◆ placement_frame

CFrame* CDungeonEvent::placement_frame

Root frame positioned and rotated with the map part.

Definition at line 16 of file dungeoneventdata.hpp.

◆ trigger_frame

CFrame* CDungeonEvent::trigger_frame

Child frame whose transform locates and faces the event.

Definition at line 17 of file dungeoneventdata.hpp.

◆ radius

float CDungeonEvent::radius

Distance at which the event starts.

Definition at line 18 of file dungeoneventdata.hpp.

◆ parts_id

s32 CDungeonEvent::parts_id

Map-part identifier that owns this event definition.

Definition at line 19 of file dungeoneventdata.hpp.

◆ script_no

s32 CDungeonEvent::script_no

Script that the event runs, or -1 where it runs none.

Definition at line 20 of file dungeoneventdata.hpp.

◆ fade

s32 CDungeonEvent::fade

1 where the event fades the picture out before it runs.

Definition at line 21 of file dungeoneventdata.hpp.

◆ hold

s32 CDungeonEvent::hold

Value that the runtime event's hold flag starts from.

Definition at line 22 of file dungeoneventdata.hpp.

◆ chara_no

s32 CDungeonEvent::chara_no

Character that has to start the event, or -1 for any.

Definition at line 23 of file dungeoneventdata.hpp.

◆ key_id

s32 CDungeonEvent::key_id

Identifier that the character's collision hit has to carry, such as a door key, or -1 for any.

Definition at line 24 of file dungeoneventdata.hpp.

◆ switch_on

s32 CDungeonEvent::switch_on

Whether the event starts switched on.

Definition at line 25 of file dungeoneventdata.hpp.

◆ ext_mem

s32 CDungeonEvent::ext_mem

1 where the script runs out of the memory freed from the monster models, 0 for the system memory.

Definition at line 26 of file dungeoneventdata.hpp.

◆ enabled

s32 CDungeonEvent::enabled

Whether this definition slot is in use.

Definition at line 27 of file dungeoneventdata.hpp.