Skip to main content

ocean-frames

source

Variables


*ocean-wave-frames*

*ocean-wave-frames*: pointersource

ocean-h

source

Types


ocean

ocean: ocean-mapsource
Fields
start-corner: vector
far-color: vector
ocean-spheres: ocean-spheres
ocean-colors: ocean-colors
ocean-mid-indices: ocean-mid-indices
ocean-trans-indices: ocean-trans-indices
ocean-near-indices: ocean-near-indices
ocean-mid-masks: ocean-mid-masks
off: symbol
near-off: symbol
mid-off: symbol
far-on: symbol
ocean-facing: uint32
heights: ocean-height-array
heights2: ocean-height-array
verts: ocean-vert-array
ocean-near-translucent?: symbol
deltas: vector
map-min: vector
map-max: vector
interp: vector
corner-array: ocean-corner
corner-count: int32
temp-vecs: vector
mid-mask-ptrs: pointer
mid-camera-masks: uint64
trans-mask-ptrs: pointer
trans-camera-masks: ocean-trans-mask
trans-temp-masks: uint32
sprite-tmpl: dma-gif-packet
sprite-tmpl2: dma-gif-packet
sprite-tmpl3: dma-gif-packet
adgif-tmpl: dma-gif-packet
line-tmpl: dma-gif-packet
sun-tmpl: dma-gif-packet
erase-tmpl: dma-gif-packet
haze-tmpl: dma-gif-packet
cloud-tmpl: dma-gif-packet
clut-tmpl: dma-gif-packet
cloud-lights: cloud-lights
haze-lights: haze-lights
constant: vector
sky-color: vector
haze-verts: vector4w
cloud-verts: vector4w
cloud-nrms: vector
cloud-col0: vector
cloud-col1: vector
cloud-st0: vector
cloud-st1: vector
color80808080: vector4w
color80808040: vector4w
color80808000: vector4w
st0000: vector
st0505: vector
st1010: vector
uv00: vector4w
uv44: vector4w
uv88: vector4w
uv1010: vector4w
uv2020: vector4w
uv4040: vector4w
uv8080: vector4w
xy00: vector4w
xy88: vector4w
xy1010: vector4w
xy2020: vector4w
xy4040: vector4w
xy8080: vector4w
cloud-alpha: uint8
near-mask-indices: uint16
mid-minx: uint8
mid-maxx: uint8
mid-minz: uint8
mid-maxz: uint8
near-minx: uint8
near-maxx: uint8
near-minz: uint8
near-maxz: uint8
temp-minx: uint8
temp-maxx: uint8
temp-minz: uint8
temp-maxz: uint8
tex1: gs-tex1
tex1-near: gs-tex1
corner00: float
corner01: float
corner10: float
corner11: float
frame-num: float
frame-speed: float
frame-num2: float
frame-speed2: float
cloud-interp: float
scales: vector
mask-hi: vector4w
mask-lo: vector4w
lights: vu-lights
uv-scroll-0: vector4w
uv-scroll-1: vector4w
st-scroll: vector2
wait-to-vu0: uint32
Methods
get-height(obj: ocean, arg0: vector, arg1: symbol) => floatsource
draw!(obj: ocean) => nonesource
update-map(obj: ocean) => nonesource
interp-wave: unknown
ocean-method-15: unknown
generate-verts: unknown
add-colors!(obj: ocean, arg0: vector, arg1: ocean-vertex) => nonesource
ocean-method-18: unknown
init-buffer!(obj: ocean, arg0: dma-buffer) => nonesource

Initialize ocean DMA buffer.

end-buffer!(obj: ocean, arg0: dma-buffer) => nonesource
set-corners!(obj: ocean, corner-x: float, corner-z: float) => floatsource
ocean-near-add-call(obj: ocean, arg0: dma-buffer, arg1: int) => nonesource
ocean-near-add-call-flush(obj: ocean, arg0: dma-buffer, arg1: int) => nonesource
ocean-near-setup-constants(obj: ocean, arg0: ocean-near-constants) => nonesource
ocean-near-add-constants(obj: ocean, arg0: dma-buffer) => nonesource
ocean-near-add-heights(obj: ocean, arg0: dma-buffer) => nonesource
ocean-near-add-matrices(obj: ocean, arg0: dma-buffer, arg1: vector) => nonesource
ocean-near-add-upload(obj: ocean, arg0: dma-buffer, arg1: uint, arg2: uint) => nonesource
draw-ocean-near(obj: ocean, arg0: dma-buffer) => nonesource
ocean-trans-camera-masks-bit?(obj: ocean, arg0: uint, arg1: uint) => symbolsource
ocean-trans-mask-ptrs-bit?(obj: ocean, arg0: int, arg1: int) => symbolsource
ocean-trans-mask-ptrs-set!(obj: ocean, arg0: uint, arg1: uint) => symbolsource
ocean-trans-add-upload-table(obj: ocean, arg0: dma-buffer, arg1: uint, arg2: uint, arg3: int, arg4: int, arg5: symbol) => nonesource
ocean-trans-add-upload-strip(obj: ocean, arg0: dma-buffer, arg1: uint, arg2: uint, arg3: int, arg4: int, arg5: int) => nonesource
ocean-transition-check(obj: ocean, arg0: ocean-trans-mask, arg1: int, arg2: int, arg3: vector) => nonesource
ocean-make-trans-camera-masks(obj: ocean, arg0: uint, arg1: uint, arg2: uint, arg3: uint) => nonesource
ocean-trans-add-upload(obj: ocean, arg0: dma-buffer, arg1: uint, arg2: uint) => nonesource
draw-ocean-transition-seams(obj: ocean, arg0: dma-buffer) => nonesource
ocean-trans-add-constants(obj: ocean, arg0: dma-buffer) => nonesource
draw-ocean-transition(obj: ocean, arg0: dma-buffer) => nonesource
ocean-mid-add-call(obj: ocean, arg0: dma-buffer, arg1: int) => nonesource
ocean-mid-add-call-flush(obj: ocean, arg0: dma-buffer, arg1: uint) => nonesource
ocean-matrix*!(obj: ocean, arg0: matrix, arg1: matrix, arg2: matrix) => matrixsource
ocean-vector-matrix*!(obj: ocean, arg0: vector, arg1: vector, arg2: matrix) => vectorsource
ocean-mid-add-matrices(obj: ocean, arg0: dma-buffer, arg1: vector) => nonesource
ocean-mid-check(obj: ocean, arg0: pointer, arg1: int, arg2: int, arg3: vector) => symbolsource
ocean-mid-setup-constants(obj: ocean, arg0: ocean-mid-constants) => nonesource
ocean-mid-add-constants(obj: ocean, arg0: dma-buffer) => nonesource
ocean-mid-camera-masks-bit?(obj: ocean, arg0: uint, arg1: uint) => symbolsource
ocean-mid-mask-ptrs-bit?(obj: ocean, arg0: uint, arg1: uint) => symbolsource
ocean-mid-camera-masks-set!(obj: ocean, arg0: uint, arg1: uint) => symbolsource
ocean-mid-add-upload(obj: ocean, arg0: dma-buffer, arg1: int, arg2: int, arg3: int, arg4: int, arg5: float) => nonesource
ocean-mid-add-upload-table(obj: ocean, arg0: dma-buffer, arg1: uint, arg2: uint, arg3: pointer, arg4: int, arg5: symbol) => nonesource
ocean-mid-add-upload-top(obj: ocean, arg0: dma-buffer, arg1: uint, arg2: uint) => nonesource
ocean-mid-add-upload-middle(obj: ocean, arg0: dma-buffer, arg1: uint, arg2: uint) => nonesource
ocean-mid-add-upload-bottom(obj: ocean, arg0: dma-buffer, arg1: uint, arg2: uint) => nonesource
ocean-seams-add-constants(obj: ocean, arg0: dma-buffer) => nonesource
draw-ocean-mid-seams(obj: ocean, arg0: dma-buffer) => nonesource
draw-ocean-mid(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-60(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-61(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-62(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-63(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-64(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-65(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-66(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-67(obj: ocean, arg0: dma-buffer) => nonesource
render-ocean-far(obj: ocean, arg1: dma-buffer, facing: int) => nonesource
draw-ocean-far(obj: ocean, arg0: dma-buffer) => nonesource
ocean-texture-setup-constants(obj: ocean, arg0: ocean-texture-constants) => nonesource
ocean-texture-add-constants(obj: ocean, arg0: dma-buffer) => nonesource
ocean-texture-add-envmap(obj: ocean, arg0: dma-buffer) => nonesource
ocean-texture-add-verts(obj: ocean, arg0: dma-buffer, arg1: int) => nonesource
ocean-texture-add-verts-last(obj: ocean, arg0: dma-buffer, arg1: int, arg2: int) => nonesource
ocean-texture-add-call-start(obj: ocean, arg0: dma-buffer) => nonesource
ocean-texture-add-call-rest(obj: ocean, arg0: dma-buffer) => nonesource
ocean-texture-add-call-done(obj: ocean, arg0: dma-buffer) => nonesource
draw-ocean-texture(obj: ocean, arg0: dma-buffer, arg1: int) => nonesource
ocean-method-79(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-80(obj: ocean, arg0: pointer) => nonesource
ocean-method-81(obj: ocean, arg0: dma-buffer) => intsource
draw-envmap-debug(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-83(obj: ocean, arg0: dma-buffer, arg1: float) => nonesource
ocean-method-84(obj: ocean, arg0: dma-buffer, arg1: sky-upload-data, arg2: vector4w, arg3: float) => nonesource
ocean-method-85(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-86(obj: ocean, arg0: vector, arg1: vector, arg2: vector, arg3: vector) => nonesource
ocean-method-87(obj: ocean, arg0: vector, arg1: vector, arg2: vector) => nonesource
ocean-method-88(obj: ocean, arg0: dma-buffer) => nonesource
ocean-method-89(obj: ocean, arg0: dma-buffer) => nonesource
rgba-to-vector!(obj: ocean, arg0: vector, arg1: pointer) => nonesource

Pack an rgba bytes into a vector.

do-tex-scroll!(obj: ocean) => nonesource

ocean-colors

ocean-colors: structuresource
Fields
colors: rgba

ocean-colors-float

ocean-colors-float: structuresource
Fields
colors: vector

ocean-corner

ocean-corner: structuresource
Fields
bsphere: sphere
start-corner: vector
y-scales: vector
alphas: vector
colors: uint32

ocean-height-array

ocean-height-array: structuresource
Fields
data: float

ocean-map

ocean-map: structuresource
Fields
start-corner: vector
far-color: vector
ocean-spheres: ocean-spheres
ocean-colors: ocean-colors
ocean-mid-indices: ocean-mid-indices
ocean-trans-indices: ocean-trans-indices
ocean-near-indices: ocean-near-indices
ocean-mid-masks: ocean-mid-masks
Methods
set-height!(obj: ocean-map, arg0: float) => nonesource
get-base-height(obj: ocean-map) => floatsource

ocean-mid-constants

ocean-mid-constants: structuresource
Fields
hmge-scale: vector
inv-hmge-scale: vector
hvdf-offset: vector
fog: vector
constants: vector
constants2: vector
drw-fan: gs-gif-tag
env-fan: gs-gif-tag
drw-adgif: gs-gif-tag
drw-texture: adgif-shader
drw-strip-0: gs-gif-tag
drw-strip-1: gs-gif-tag
env-adgif: gs-gif-tag
env-texture: adgif-shader
env-strip: gs-gif-tag
env-color: vector
index-table: vector4w
pos0: vector
pos1: vector
pos2: vector
pos3: vector

ocean-mid-indices

ocean-mid-indices: basicsource
Fields
type: type
data: uint16

ocean-mid-mask

ocean-mid-mask: structuresource
Fields
mask: uint8
dword: uint64

ocean-mid-masks

ocean-mid-masks: basicsource
Fields
type: type
data: inline-array

ocean-mid-upload

ocean-mid-upload: structuresource
Fields
rot: matrix
matrix: matrix
colors: uint128
masks: uint128

ocean-mid-upload2

ocean-mid-upload2: structuresource
Fields
rot: matrix
matrix: matrix
count: vector4w
tex0: vector
tex1: vector
tex2: vector
tex3: vector
clr0: vector
clr1: vector
clr2: vector
clr3: vector
verts: uint128

ocean-mid-vertex

ocean-mid-vertex: structuresource
Fields
stq: vector
col: vector
pos: vector

ocean-mid-work

ocean-mid-work: structuresource
Fields
env0: vector
env1: vector
env2: vector
hmg0: vector
hmg1: vector
hmg2: vector
indices: uint128

ocean-near-colors

ocean-near-colors: structuresource
Fields
color0: vector
color1: vector
color2: vector
color3: vector

ocean-near-constants

ocean-near-constants: structuresource
Fields
hmge-scale: vector
inv-hmge-scale: vector
hvdf-offset: vector
fog: vector
constants: vector
constants2: vector
constants3: vector
constants4: vector
constants5: vector
drw-fan: gs-gif-tag
drw2-fan: gs-gif-tag
env-fan: gs-gif-tag
drw-adgif: gs-gif-tag
drw-texture: adgif-shader
drw-strip: gs-gif-tag
env-adgif: gs-gif-tag
env-texture: adgif-shader
env-strip: gs-gif-tag
env-color: vector
drw2-adgif: gs-gif-tag
drw2-tex0: qword
drw2-frame: qword
drw2-strip: gs-gif-tag
drw3-adgif: gs-gif-tag
drw3-frame: gs-adcmd
index-table: vector4w

ocean-near-index

ocean-near-index: structuresource
Fields
data: uint16

ocean-near-indices

ocean-near-indices: basicsource
Fields
type: type
data: inline-array

ocean-near-upload

ocean-near-upload: structuresource
Fields
rot: matrix
matrix: matrix
masks: uint128
start-height: vector4w
start-st: vector
near-colors: ocean-near-colors

ocean-near-vertex

ocean-near-vertex: structuresource
Fields
stq: vector
clr: vector
pos: vector

ocean-near-work

ocean-near-work: structuresource
Fields
verts-ptr: vector
indices: uint128

ocean-spheres

ocean-spheres: structuresource
Fields
spheres: sphere

ocean-texture-constants

ocean-texture-constants: structuresource
Fields
giftag: gs-gif-tag
buffers: vector4w
dests: vector4w
start: vector
offsets: vector
constants: vector
cam-nrm: vector

ocean-trans-index

ocean-trans-index: structuresource
Fields
parent: int16
child: int16

ocean-trans-indices

ocean-trans-indices: basicsource
Fields
type: type
data: ocean-trans-index

ocean-trans-mask

ocean-trans-mask: structuresource
Fields
mask: uint8
word: int32

ocean-trans-strip

ocean-trans-strip: structuresource
Fields
verts: uint128

ocean-trans-strip-array

ocean-trans-strip-array: structuresource

ocean-vert-array

ocean-vert-array: structuresource
Fields
data: vector

ocean-vertex

ocean-vertex: structuresource
Fields
pos: vector
stq: vector
col: vector

ocean-wave-data

ocean-wave-data: structuresource
Fields
data: uint8

ocean-wave-frames

ocean-wave-frames: structuresource
Fields
frame: ocean-wave-data

ocean-wave-info

ocean-wave-info: structuresource
Fields
frequency: float
amplitude: float
wave-speed: float
angle: float
kx: float
ky: float
w: float
flags: int32

Variables


*ocean-map*

*ocean-map*: ocean-mapsource

*ocean*

*ocean*: oceansource

ocean-mid

source

Variables


ocean-mid-block

ocean-mid-block: vu-functionsource

ocean-near

source

Variables


ocean-near-block

ocean-near-block: vu-functionsource

ocean-tables

source

Variables


*ocean-colors-city*

*ocean-colors-city*: ocean-colorssource

*ocean-map-city*

*ocean-map-city*: ocean-mapsource

*ocean-mid-indices-city*

*ocean-mid-indices-city*: ocean-mid-indicessource

*ocean-mid-masks-city*

*ocean-mid-masks-city*: ocean-mid-maskssource

*ocean-near-indices-city*

*ocean-near-indices-city*: ocean-near-indicessource

*ocean-spheres-city*

*ocean-spheres-city*: ocean-spheressource

*ocean-trans-indices-city*

*ocean-trans-indices-city*: ocean-trans-indicessource

ocean-texture

source

Functions


generate-cloud-nrms

generate-cloud-nrms(arg0: int, arg1: float) => symbolsource

generate-cloud-verts

generate-cloud-verts(arg0: int, arg1: float) => symbolsource

set-ocean-lk

set-ocean-lk(arg0: int, arg1: int) => nonesource

set-ocean-normal-scale

set-ocean-normal-scale(arg0: float) => vectorsource

Variables


ocean-texture-vu1-block

ocean-texture-vu1-block: vu-functionsource

ocean-trans-tables

source

Variables


*ocean-down-left-table*

*ocean-down-left-table*: pointersource

*ocean-down-right-table*

*ocean-down-right-table*: pointersource

*ocean-down-table*

*ocean-down-table*: pointersource

*ocean-left-table*

*ocean-left-table*: pointersource

*ocean-right-table*

*ocean-right-table*: pointersource

*ocean-trans-corner-table*

*ocean-trans-corner-table*: inline-arraysource

*ocean-trans-down-left-table*

*ocean-trans-down-left-table*: pointersource

*ocean-trans-down-right-table*

*ocean-trans-down-right-table*: pointersource

*ocean-trans-down-table*

*ocean-trans-down-table*: pointersource

*ocean-trans-left-table*

*ocean-trans-left-table*: pointersource

*ocean-trans-right-table*

*ocean-trans-right-table*: pointersource

*ocean-trans-st-table*

*ocean-trans-st-table*: inline-arraysource

*ocean-trans-strip-array*

*ocean-trans-strip-array*: pointersource

*ocean-trans-up-left-table*

*ocean-trans-up-left-table*: pointersource

*ocean-trans-up-right-table*

*ocean-trans-up-right-table*: pointersource

*ocean-trans-up-table*

*ocean-trans-up-table*: pointersource

*ocean-up-left-table*

*ocean-up-left-table*: pointersource

*ocean-up-right-table*

*ocean-up-right-table*: pointersource

*ocean-up-table*

*ocean-up-table*: pointersource

ocean-vu0

source

Variables


ocean-vu0-block

ocean-vu0-block: vu-functionsource

Variables


*ocean-generate-verts-vector*

*ocean-generate-verts-vector*: vectorsource