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

#include <editloop.hpp>

Public Attributes

char scene_name [0x40]
 
int time_stop
 
int ambient_sound_off
 
int bgm_no
 
int sound_set_no
 
int reverb_mode [2]
 
int reverb_depth [2]
 
float wind [4]
 
float ambient [12][4]
 
float light_direction [12][4][4]
 
float light_colour [12][4][4]
 
float background_colour [12][4]
 
float background_colour_2 [12][4]
 
EDIT_FOG_INFO fog [12]
 
float character_ambient [4][4]
 
EDIT_IMAGE_INFO images [64]
 
int sky_follow [3]
 
u8 unk_1bec [0x4]
 
EDIT_SCENE_LAYER_INFO sky_layers [5]
 
EDIT_SCENE_LAYER_INFO sun_layers [4]
 
u8 unk_24a8 [0xf8]
 
MAP_PARTS_INFO map_objects [64]
 
EDIT_MAP_PARTS_WORK parts_work
 
EDIT_MOTION_PARTS_INFO motion_parts [4]
 
EDIT_WATER_INFO water_surfaces [8]
 
EDIT_AREA_RECT_INFO edit_area_rects [8]
 
float dof_start_time
 
float dof_end_time
 
float dof_near
 
float dof_far
 
int dof_near_level
 
int dof_far_level
 
int dof_alpha
 
float shadow_near
 
float shadow_far
 
int shadow_level
 
int shadow_mode
 
int shadow_mode_2
 
VILLAGER_INFO villagers [16]
 
int time_tables [7][12][16]
 
int people_list [16]
 
int obj_anime_count
 
int object_effect_count
 
int parts_effect_count
 
int object_timer_count
 
int event_count
 
u8 unk_1a254 [0xc]
 
EDIT_MAP_WORK_INFO work
 

Detailed Description

Stores the parsed resources and environmental settings for an editor map.

Definition at line 307 of file editloop.hpp.

Member Data Documentation

◆ scene_name

char EDIT_MAP_INFO::scene_name[0x40]

Scene resource named by the map script.

Definition at line 308 of file editloop.hpp.

◆ time_stop

int EDIT_MAP_INFO::time_stop

Whether the map clock is stopped.

Definition at line 309 of file editloop.hpp.

◆ ambient_sound_off

int EDIT_MAP_INFO::ambient_sound_off

Whether ambient map sound is disabled.

Definition at line 310 of file editloop.hpp.

◆ bgm_no

int EDIT_MAP_INFO::bgm_no

Background-music number selected by the script.

Definition at line 311 of file editloop.hpp.

◆ sound_set_no

int EDIT_MAP_INFO::sound_set_no

Environmental sound-set number.

Definition at line 312 of file editloop.hpp.

◆ reverb_mode

int EDIT_MAP_INFO::reverb_mode[2]

Reverb presets selected for the two sound channels.

Definition at line 313 of file editloop.hpp.

◆ reverb_depth

int EDIT_MAP_INFO::reverb_depth[2]

Reverb strengths selected for the two sound channels.

Definition at line 314 of file editloop.hpp.

◆ wind

float EDIT_MAP_INFO::wind[4]

Wind direction and strength parameters.

Definition at line 315 of file editloop.hpp.

◆ ambient

float EDIT_MAP_INFO::ambient[12][4]

Ambient light colours for each light preset.

Definition at line 316 of file editloop.hpp.

◆ light_direction

float EDIT_MAP_INFO::light_direction[12][4][4]

Normalized light directions per preset, one light per column.

Definition at line 317 of file editloop.hpp.

◆ light_colour

float EDIT_MAP_INFO::light_colour[12][4][4]

Colours for four lights per preset.

Definition at line 318 of file editloop.hpp.

◆ background_colour

float EDIT_MAP_INFO::background_colour[12][4]

Primary background colours for each light preset.

Definition at line 319 of file editloop.hpp.

◆ background_colour_2

float EDIT_MAP_INFO::background_colour_2[12][4]

Secondary background colours for each light preset.

Definition at line 320 of file editloop.hpp.

◆ fog

EDIT_FOG_INFO EDIT_MAP_INFO::fog[12]

Fog parameters for each light preset.

Definition at line 321 of file editloop.hpp.

◆ character_ambient

float EDIT_MAP_INFO::character_ambient[4][4]

Per-character ambient light colours.

Definition at line 322 of file editloop.hpp.

◆ images

EDIT_IMAGE_INFO EDIT_MAP_INFO::images[64]

Image resources assigned to map rendering slots.

Definition at line 323 of file editloop.hpp.

◆ sky_follow

int EDIT_MAP_INFO::sky_follow[3]

Sky-follow parameters supplied by the map script.

Definition at line 324 of file editloop.hpp.

◆ unk_1bec

u8 EDIT_MAP_INFO::unk_1bec[0x4]

Definition at line 325 of file editloop.hpp.

◆ sky_layers

EDIT_SCENE_LAYER_INFO EDIT_MAP_INFO::sky_layers[5]

Scene layers selected by the SKY command.

Definition at line 326 of file editloop.hpp.

◆ sun_layers

EDIT_SCENE_LAYER_INFO EDIT_MAP_INFO::sun_layers[4]

Scene layers selected by the SUN command.

Definition at line 327 of file editloop.hpp.

◆ unk_24a8

u8 EDIT_MAP_INFO::unk_24a8[0xf8]

Definition at line 328 of file editloop.hpp.

◆ map_objects

MAP_PARTS_INFO EDIT_MAP_INFO::map_objects[64]

Ground, building and water objects placed by the script.

Definition at line 329 of file editloop.hpp.

◆ parts_work

EDIT_MAP_PARTS_WORK EDIT_MAP_INFO::parts_work

Overlapping area and part-definition work storage.

Definition at line 330 of file editloop.hpp.

◆ motion_parts

EDIT_MOTION_PARTS_INFO EDIT_MAP_INFO::motion_parts[4]

Named map parts with scripted motion.

Definition at line 331 of file editloop.hpp.

◆ water_surfaces

EDIT_WATER_INFO EDIT_MAP_INFO::water_surfaces[8]

Water surfaces parsed for this map.

Definition at line 332 of file editloop.hpp.

◆ edit_area_rects

EDIT_AREA_RECT_INFO EDIT_MAP_INFO::edit_area_rects[8]

Rectangular editor regions parsed for this map.

Definition at line 333 of file editloop.hpp.

◆ dof_start_time

float EDIT_MAP_INFO::dof_start_time

Time at which the depth-of-field interval begins.

Definition at line 334 of file editloop.hpp.

◆ dof_end_time

float EDIT_MAP_INFO::dof_end_time

Time at which the depth-of-field interval ends.

Definition at line 335 of file editloop.hpp.

◆ dof_near

float EDIT_MAP_INFO::dof_near

Near depth-of-field distance.

Definition at line 336 of file editloop.hpp.

◆ dof_far

float EDIT_MAP_INFO::dof_far

Far depth-of-field distance.

Definition at line 337 of file editloop.hpp.

◆ dof_near_level

int EDIT_MAP_INFO::dof_near_level

Near depth-of-field blur level.

Definition at line 338 of file editloop.hpp.

◆ dof_far_level

int EDIT_MAP_INFO::dof_far_level

Far depth-of-field blur level.

Definition at line 339 of file editloop.hpp.

◆ dof_alpha

int EDIT_MAP_INFO::dof_alpha

Alpha used while drawing depth of field.

Definition at line 340 of file editloop.hpp.

◆ shadow_near

float EDIT_MAP_INFO::shadow_near

Near distance used by map shadow rendering.

Definition at line 341 of file editloop.hpp.

◆ shadow_far

float EDIT_MAP_INFO::shadow_far

Far distance used by map shadow rendering.

Definition at line 342 of file editloop.hpp.

◆ shadow_level

int EDIT_MAP_INFO::shadow_level

Shadow-quality level selected by the map script.

Definition at line 343 of file editloop.hpp.

◆ shadow_mode

int EDIT_MAP_INFO::shadow_mode

First map shadow-mode setting.

Definition at line 344 of file editloop.hpp.

◆ shadow_mode_2

int EDIT_MAP_INFO::shadow_mode_2

Second map shadow-mode setting.

Definition at line 345 of file editloop.hpp.

◆ villagers

VILLAGER_INFO EDIT_MAP_INFO::villagers[16]

Villager placements parsed for this map.

Definition at line 346 of file editloop.hpp.

◆ time_tables

int EDIT_MAP_INFO::time_tables[7][12][16]

Weekly villager schedules parsed for this map.

Definition at line 347 of file editloop.hpp.

◆ people_list

int EDIT_MAP_INFO::people_list[16]

Villager identifiers parsed for this map.

Definition at line 348 of file editloop.hpp.

◆ obj_anime_count

int EDIT_MAP_INFO::obj_anime_count

Number of object-animation records in use.

Definition at line 349 of file editloop.hpp.

◆ object_effect_count

int EDIT_MAP_INFO::object_effect_count

Number of map-object effect records in use.

Definition at line 350 of file editloop.hpp.

◆ parts_effect_count

int EDIT_MAP_INFO::parts_effect_count

Number of general map-part effect records in use.

Definition at line 351 of file editloop.hpp.

◆ object_timer_count

int EDIT_MAP_INFO::object_timer_count

Number of object-timer records in use.

Definition at line 352 of file editloop.hpp.

◆ event_count

int EDIT_MAP_INFO::event_count

Number of event points the map defines.

Definition at line 353 of file editloop.hpp.

◆ unk_1a254

u8 EDIT_MAP_INFO::unk_1a254[0xc]

Definition at line 354 of file editloop.hpp.

◆ work

EDIT_MAP_WORK_INFO EDIT_MAP_INFO::work

Overlapping work records reset during map initialization.

Definition at line 355 of file editloop.hpp.