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

Public Attributes

s32 rows
 
s32 columns
 
float * height
 
float height_buffers [2]
 
sceVu0FVECTOR vertex [4]
 
u_int * packet
 
float buffer_packets [2]
 
CVisualPolyVu1 visual
 
float color
 
float wave_speed
 
float damping
 
float height_scale
 
float distortion
 
s32 tags_built
 
CFrameVu1 frame
 

Detailed Description

Definition at line 1638 of file main.cpp.

Member Data Documentation

◆ rows

s32 DraftWaterLayout::rows

Grid rows the surface is divided into.

Definition at line 1639 of file main.cpp.

◆ columns

s32 DraftWaterLayout::columns

Grid columns the surface is divided into.

Definition at line 1640 of file main.cpp.

◆ height

float* DraftWaterLayout::height

Wave heights the surface currently draws from.

Definition at line 1641 of file main.cpp.

◆ height_buffers

float DraftWaterLayout::height_buffers[2]

The two wave-height buffers.

Definition at line 1642 of file main.cpp.

◆ vertex

sceVu0FVECTOR DraftWaterLayout::vertex[4]

The four corners of the surface.

Definition at line 1643 of file main.cpp.

◆ packet

u_int* DraftWaterLayout::packet

First VU packet of the surface.

Definition at line 1644 of file main.cpp.

◆ buffer_packets

float DraftWaterLayout::buffer_packets[2]

VU packets for each display buffer.

Definition at line 1645 of file main.cpp.

◆ visual

CVisualPolyVu1 DraftWaterLayout::visual

Draws the polygons of the surface.

Definition at line 1646 of file main.cpp.

◆ color

float DraftWaterLayout::color

Red, green, blue and alpha channels of the surface.

Definition at line 1647 of file main.cpp.

◆ wave_speed

float DraftWaterLayout::wave_speed

Speed the ripples travel across the grid at.

Definition at line 1648 of file main.cpp.

◆ damping

float DraftWaterLayout::damping

Rate the ripples lose height at.

Definition at line 1649 of file main.cpp.

◆ height_scale

float DraftWaterLayout::height_scale

Scale from a wave height to the vertical displacement of its vertex.

Definition at line 1650 of file main.cpp.

◆ distortion

float DraftWaterLayout::distortion

Scale from a height difference to the texture-coordinate shift it causes.

Definition at line 1651 of file main.cpp.

◆ tags_built

s32 DraftWaterLayout::tags_built

Set once both packets hold their tags.

Definition at line 1652 of file main.cpp.

◆ frame

CFrameVu1 DraftWaterLayout::frame

Frame that places the surface.

Definition at line 1653 of file main.cpp.