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

#include <editloop.hpp>

Public Attributes

char name [0x10]
 
int grid_rows
 
int grid_columns
 
int parts_no
 
u8 unk_1c [0x4]
 
sceVu0FVECTOR corner_a
 
sceVu0FVECTOR corner_b
 
sceVu0FVECTOR corner_c
 
int red
 
int green
 
int blue
 
u8 unk_5c [0x4]
 
sceVu0FVECTOR ripple_params
 
int follow [3]
 
u8 unk_7c [0x4]
 
EDIT_WATER_WAVE_INFO wave [4]
 

Detailed Description

Stores transient wave offsets for editor water surfaces.

Definition at line 169 of file editloop.hpp.

Member Data Documentation

◆ name

char EDIT_WATER_INFO::name[0x10]

Frame of the owning part that must be drawn for the surface to draw, or empty.

Definition at line 170 of file editloop.hpp.

◆ grid_rows

int EDIT_WATER_INFO::grid_rows

Rows in the surface's ripple grid; zero or below ends the list.

Definition at line 171 of file editloop.hpp.

◆ grid_columns

int EDIT_WATER_INFO::grid_columns

Columns in the surface's ripple grid.

Definition at line 172 of file editloop.hpp.

◆ parts_no

int EDIT_WATER_INFO::parts_no

Map part the surface belongs to.

Definition at line 173 of file editloop.hpp.

◆ unk_1c

u8 EDIT_WATER_INFO::unk_1c[0x4]

Definition at line 174 of file editloop.hpp.

◆ corner_a

sceVu0FVECTOR EDIT_WATER_INFO::corner_a

Near-left corner of the surface, which also gives its height.

Definition at line 175 of file editloop.hpp.

◆ corner_b

sceVu0FVECTOR EDIT_WATER_INFO::corner_b

Far-right corner of the surface; only X and Z are read.

Definition at line 176 of file editloop.hpp.

◆ corner_c

sceVu0FVECTOR EDIT_WATER_INFO::corner_c

Where the surface's frame stands, relative to its part or in the world.

Definition at line 177 of file editloop.hpp.

◆ red

int EDIT_WATER_INFO::red

Red component of the surface colour.

Definition at line 178 of file editloop.hpp.

◆ green

int EDIT_WATER_INFO::green

Green component of the surface colour.

Definition at line 179 of file editloop.hpp.

◆ blue

int EDIT_WATER_INFO::blue

Blue component of the surface colour.

Definition at line 180 of file editloop.hpp.

◆ unk_5c

u8 EDIT_WATER_INFO::unk_5c[0x4]

Definition at line 181 of file editloop.hpp.

◆ ripple_params

sceVu0FVECTOR EDIT_WATER_INFO::ripple_params

Ripple speed, damping, height scale and distortion.

Definition at line 182 of file editloop.hpp.

◆ follow

int EDIT_WATER_INFO::follow[3]

Whether the surface keeps ahead of the camera along X, level with it, and ahead along Z.

Definition at line 183 of file editloop.hpp.

◆ unk_7c

u8 EDIT_WATER_INFO::unk_7c[0x4]

Definition at line 184 of file editloop.hpp.

◆ wave

EDIT_WATER_WAVE_INFO EDIT_WATER_INFO::wave[4]

Pending water-wave parameters, terminated by an empty entry.

Definition at line 185 of file editloop.hpp.