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

#include <edit.hpp>

Public Attributes

s32 event_no
 
s32 world_coord_enable
 
u8 world_coord [0x28]
 
s32 map_jump_bgm_stop
 
s32 map_jump_bgm_play
 
s32 sound_off_count
 
float projection
 
CCameraFollow * camera
 
s32 reset_camera_angle
 
float reset_camera_yaw
 
CCharacter * main_character
 
CTexAnimeData * main_texture_animation
 
s32 main_texture_animation_count
 
CNPCharacter * npcs
 
s32 player_collision
 
s32 player_draw
 
s32 player_shadow_draw
 
s32 player_foot_sound
 
s32 player_stop
 
s32 player_texture_block
 
s32 npc_collision [16]
 
s32 npc_draw [16]
 
s32 npc_shadow_draw [16]
 
s32 npc_foot_sound [16]
 
s32 npc_stop [16]
 
s32 npc_draw_before [16]
 
s32 npc_texture_block
 
s32 npc_count
 
VILLAGER_INFO * villagers
 
ClsMes * messages [8]
 
float current_time
 
u8 unk_224 [0xC]
 
sceVu0FVECTOR wind
 
CEditGround * edit_ground
 
s32 fixed_parts_count
 
CMapParts * fixed_parts
 
s32 edit_parts_count
 
CMapParts * edit_parts
 
s32 interior_parts_count
 
CMapParts * interior_parts
 
CFrameVu1 * item_frame [1]
 
s32 talk_npc_id
 
s32 talk_messages [16]
 
s32 talk_select_message
 
s32 talk_select_prompt
 
s32 interior_entrance
 
char interior_name [0x20]
 
s32 interior_start_event
 
s32 outside_map_no
 
s32 draw_exclamation_mark
 
s32 suppress_background
 
s32 suppress_shadows
 
u8 unk_2e4 [0xC]
 
float background_color [3]
 
u8 unk_2fc [4]
 
s32 screen_filter
 
u8 unk_304 [0xC]
 
sceVu0FVECTOR screen_filter_color
 
s32 lighting_override
 
u8 unk_324 [0xC]
 
sceVu0FMATRIX light_direction
 
sceVu0FMATRIX light_color
 
sceVu0FVECTOR ambient_color
 
sceVu0FVECTOR vector_arguments [4]
 
s32 integer_arguments [8]
 
s32 flag_arguments [8]
 
s32 fadeout_event_no
 
s32 next_event
 
s32 return_code
 
s32 exit_code
 

Detailed Description

Names what the Georama editor is doing; the dungeon reads a few of its fields on the way in and out.

Definition at line 148 of file edit.hpp.

Member Data Documentation

◆ event_no

s32 ED_EVENT_INFO::event_no

Number of the event script being run.

Definition at line 149 of file edit.hpp.

◆ world_coord_enable

s32 ED_EVENT_INFO::world_coord_enable

Whether the event's stored world coordinate is applied each step.

Definition at line 150 of file edit.hpp.

◆ world_coord

u8 ED_EVENT_INFO::world_coord[0x28]

Stored world coordinate: position at byte 8, rotation at byte 24.

Definition at line 151 of file edit.hpp.

◆ map_jump_bgm_stop

s32 ED_EVENT_INFO::map_jump_bgm_stop

Whether a map jump stops the current background music.

Definition at line 152 of file edit.hpp.

◆ map_jump_bgm_play

s32 ED_EVENT_INFO::map_jump_bgm_play

Whether a map jump starts the destination's background music.

Definition at line 153 of file edit.hpp.

◆ sound_off_count

s32 ED_EVENT_INFO::sound_off_count

Number of sound channels suppressed by the event.

Definition at line 154 of file edit.hpp.

◆ projection

float ED_EVENT_INFO::projection

Projection distance used while rendering an event.

Definition at line 155 of file edit.hpp.

◆ camera

CCameraFollow* ED_EVENT_INFO::camera

Camera controller used by the active event.

Definition at line 156 of file edit.hpp.

◆ reset_camera_angle

s32 ED_EVENT_INFO::reset_camera_angle

Camera-angle reset mode requested by the event.

Definition at line 157 of file edit.hpp.

◆ reset_camera_yaw

float ED_EVENT_INFO::reset_camera_yaw

Yaw offset used by the requested camera reset.

Definition at line 158 of file edit.hpp.

◆ main_character

CCharacter* ED_EVENT_INFO::main_character

Player character controlled by the active event.

Definition at line 159 of file edit.hpp.

◆ main_texture_animation

CTexAnimeData* ED_EVENT_INFO::main_texture_animation

Texture-animation data restored to the player after an event.

Definition at line 160 of file edit.hpp.

◆ main_texture_animation_count

s32 ED_EVENT_INFO::main_texture_animation_count

Number of saved player texture-animation records.

Definition at line 161 of file edit.hpp.

◆ npcs

CNPCharacter* ED_EVENT_INFO::npcs

Contiguous array of event NPC characters.

Definition at line 162 of file edit.hpp.

◆ player_collision

s32 ED_EVENT_INFO::player_collision

Whether ground collision is applied to the player during the event.

Definition at line 163 of file edit.hpp.

◆ player_draw

s32 ED_EVENT_INFO::player_draw

Whether the player model is drawn during the event.

Definition at line 164 of file edit.hpp.

◆ player_shadow_draw

s32 ED_EVENT_INFO::player_shadow_draw

Whether the player's shadow is drawn during the event.

Definition at line 165 of file edit.hpp.

◆ player_foot_sound

s32 ED_EVENT_INFO::player_foot_sound

Footstep mode applied to the player during the event.

Definition at line 166 of file edit.hpp.

◆ player_stop

s32 ED_EVENT_INFO::player_stop

Whether the player's event motion is held.

Definition at line 167 of file edit.hpp.

◆ player_texture_block

s32 ED_EVENT_INFO::player_texture_block

Texture block assigned to the event player model.

Definition at line 168 of file edit.hpp.

◆ npc_collision

s32 ED_EVENT_INFO::npc_collision[16]

Ground-collision mode assigned to each event NPC.

Definition at line 169 of file edit.hpp.

◆ npc_draw

s32 ED_EVENT_INFO::npc_draw[16]

Whether each event NPC model is drawn.

Definition at line 170 of file edit.hpp.

◆ npc_shadow_draw

s32 ED_EVENT_INFO::npc_shadow_draw[16]

Whether each event NPC shadow is drawn.

Definition at line 171 of file edit.hpp.

◆ npc_foot_sound

s32 ED_EVENT_INFO::npc_foot_sound[16]

Footstep mode assigned to each event NPC.

Definition at line 172 of file edit.hpp.

◆ npc_stop

s32 ED_EVENT_INFO::npc_stop[16]

Whether each event NPC's motion is held.

Definition at line 173 of file edit.hpp.

◆ npc_draw_before

s32 ED_EVENT_INFO::npc_draw_before[16]

Draw-order group assigned to each event NPC.

Definition at line 174 of file edit.hpp.

◆ npc_texture_block

s32 ED_EVENT_INFO::npc_texture_block

First texture block assigned to the event NPC models.

Definition at line 175 of file edit.hpp.

◆ npc_count

s32 ED_EVENT_INFO::npc_count

Number of valid entries in the event NPC array.

Definition at line 176 of file edit.hpp.

◆ villagers

VILLAGER_INFO* ED_EVENT_INFO::villagers

Metadata array for the event villagers.

Definition at line 177 of file edit.hpp.

◆ messages

ClsMes* ED_EVENT_INFO::messages[8]

Message windows owned by the active event.

Definition at line 178 of file edit.hpp.

◆ current_time

float ED_EVENT_INFO::current_time

Current editor time used by time-of-day opcodes.

Definition at line 179 of file edit.hpp.

◆ unk_224

u8 ED_EVENT_INFO::unk_224[0xC]

Definition at line 180 of file edit.hpp.

◆ wind

sceVu0FVECTOR ED_EVENT_INFO::wind

Wind vector applied while the event is active.

Definition at line 181 of file edit.hpp.

◆ edit_ground

CEditGround* ED_EVENT_INFO::edit_ground

Ground and placed-part database used by the active event.

Definition at line 182 of file edit.hpp.

◆ fixed_parts_count

s32 ED_EVENT_INFO::fixed_parts_count

Number of fixed map parts available to object-handle opcodes.

Definition at line 183 of file edit.hpp.

◆ fixed_parts

CMapParts* ED_EVENT_INFO::fixed_parts

Fixed map parts available to object-handle opcodes.

Definition at line 184 of file edit.hpp.

◆ edit_parts_count

s32 ED_EVENT_INFO::edit_parts_count

Number of placed map parts available to object-handle opcodes.

Definition at line 185 of file edit.hpp.

◆ edit_parts

CMapParts* ED_EVENT_INFO::edit_parts

Placed map parts available to object-handle opcodes.

Definition at line 186 of file edit.hpp.

◆ interior_parts_count

s32 ED_EVENT_INFO::interior_parts_count

Number of interior parts available to object-handle opcodes.

Definition at line 187 of file edit.hpp.

◆ interior_parts

CMapParts* ED_EVENT_INFO::interior_parts

Interior parts available to object-handle opcodes.

Definition at line 188 of file edit.hpp.

◆ item_frame

CFrameVu1* ED_EVENT_INFO::item_frame[1]

VU1 frame used for the single event-held item.

Definition at line 189 of file edit.hpp.

◆ talk_npc_id

s32 ED_EVENT_INFO::talk_npc_id

Identifier of the NPC currently engaged in conversation.

Definition at line 190 of file edit.hpp.

◆ talk_messages

s32 ED_EVENT_INFO::talk_messages[16]

Message identifiers assigned to the current conversation sequence.

Definition at line 191 of file edit.hpp.

◆ talk_select_message

s32 ED_EVENT_INFO::talk_select_message

Message selected after a conversation choice.

Definition at line 192 of file edit.hpp.

◆ talk_select_prompt

s32 ED_EVENT_INFO::talk_select_prompt

Message containing the current conversation choices.

Definition at line 193 of file edit.hpp.

◆ interior_entrance

s32 ED_EVENT_INFO::interior_entrance

Entrance of the interior a GOTO_INTERIOR event walks into.

Definition at line 194 of file edit.hpp.

◆ interior_name

char ED_EVENT_INFO::interior_name[0x20]

Name of the interior a GOTO_INTERIOR event walks into.

Definition at line 195 of file edit.hpp.

◆ interior_start_event

s32 ED_EVENT_INFO::interior_start_event

Event run on arrival in that interior, or -1 for none.

Definition at line 196 of file edit.hpp.

◆ outside_map_no

s32 ED_EVENT_INFO::outside_map_no

Map requested when an event exits to the outside.

Definition at line 197 of file edit.hpp.

◆ draw_exclamation_mark

s32 ED_EVENT_INFO::draw_exclamation_mark

Whether the event requests the attention marker.

Definition at line 198 of file edit.hpp.

◆ suppress_background

s32 ED_EVENT_INFO::suppress_background

Whether event rendering suppresses the scene background.

Definition at line 199 of file edit.hpp.

◆ suppress_shadows

s32 ED_EVENT_INFO::suppress_shadows

Whether event rendering suppresses character shadows.

Definition at line 200 of file edit.hpp.

◆ unk_2e4

u8 ED_EVENT_INFO::unk_2e4[0xC]

Definition at line 201 of file edit.hpp.

◆ background_color

float ED_EVENT_INFO::background_color[3]

RGB override for the event background.

Definition at line 202 of file edit.hpp.

◆ unk_2fc

u8 ED_EVENT_INFO::unk_2fc[4]

Definition at line 203 of file edit.hpp.

◆ screen_filter

s32 ED_EVENT_INFO::screen_filter

Whether a full-screen event colour filter is active.

Definition at line 204 of file edit.hpp.

◆ unk_304

u8 ED_EVENT_INFO::unk_304[0xC]

Definition at line 205 of file edit.hpp.

◆ screen_filter_color

sceVu0FVECTOR ED_EVENT_INFO::screen_filter_color

RGBA colour of the event screen filter.

Definition at line 206 of file edit.hpp.

◆ lighting_override

s32 ED_EVENT_INFO::lighting_override

Whether script-provided scene lighting replaces the map lighting.

Definition at line 207 of file edit.hpp.

◆ unk_324

u8 ED_EVENT_INFO::unk_324[0xC]

Definition at line 208 of file edit.hpp.

◆ light_direction

sceVu0FMATRIX ED_EVENT_INFO::light_direction

Direction vectors for the four event point lights.

Definition at line 209 of file edit.hpp.

◆ light_color

sceVu0FMATRIX ED_EVENT_INFO::light_color

RGB intensities for the four event point lights.

Definition at line 210 of file edit.hpp.

◆ ambient_color

sceVu0FVECTOR ED_EVENT_INFO::ambient_color

RGBA ambient-light colour for the event scene.

Definition at line 211 of file edit.hpp.

◆ vector_arguments

sceVu0FVECTOR ED_EVENT_INFO::vector_arguments[4]

Vector arguments supplied to the active event.

Definition at line 212 of file edit.hpp.

◆ integer_arguments

s32 ED_EVENT_INFO::integer_arguments[8]

Integer arguments supplied to the active event.

Definition at line 213 of file edit.hpp.

◆ flag_arguments

s32 ED_EVENT_INFO::flag_arguments[8]

Flag-like arguments supplied to the active event.

Definition at line 214 of file edit.hpp.

◆ fadeout_event_no

s32 ED_EVENT_INFO::fadeout_event_no

Event started after the current fade-out completes.

Definition at line 215 of file edit.hpp.

◆ next_event

s32 ED_EVENT_INFO::next_event

Event number requested by the NEXT_EVENT opcode.

Definition at line 216 of file edit.hpp.

◆ return_code

s32 ED_EVENT_INFO::return_code

Result code passed from an editor event back to the game loop.

See also
EdEventReturn.

Definition at line 217 of file edit.hpp.

◆ exit_code

s32 ED_EVENT_INFO::exit_code

Exit status supplied by the event script.

Definition at line 218 of file edit.hpp.