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

#include <editground.hpp>

Public Attributes

char name [32]
 
s32 draw
 
s32 follow [3]
 
s32 unk_030
 
s32 parts_no
 
u8 unk_038 [8]
 
sceVu0FVECTOR offset
 
GROUND_WATER_RIPPLE ripples [4]
 
CWater water
 

Detailed Description

Holds one water surface of the editable ground and whether it is drawn.

Definition at line 48 of file editground.hpp.

Member Data Documentation

◆ name

char CGroundWater::name[32]

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

Definition at line 50 of file editground.hpp.

◆ draw

s32 CGroundWater::draw

Whether this water surface is drawn.

Definition at line 51 of file editground.hpp.

◆ follow

s32 CGroundWater::follow[3]

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

Definition at line 52 of file editground.hpp.

◆ unk_030

s32 CGroundWater::unk_030

Definition at line 53 of file editground.hpp.

◆ parts_no

s32 CGroundWater::parts_no

Plot of the part the surface stands on, or below zero for a free surface.

Definition at line 54 of file editground.hpp.

◆ unk_038

u8 CGroundWater::unk_038[8]

Definition at line 55 of file editground.hpp.

◆ offset

sceVu0FVECTOR CGroundWater::offset

Position of the surface relative to its part, or in the world.

Definition at line 56 of file editground.hpp.

◆ ripples

GROUND_WATER_RIPPLE CGroundWater::ripples[4]

Ripple sources; one with no power and no range ends the list.

Definition at line 57 of file editground.hpp.

◆ water

CWater CGroundWater::water

Surface that ripples and draws.

Definition at line 58 of file editground.hpp.