Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Fields
MovtexQuad Struct Reference

Represents a single flat quad with a rotating texture Stores x and z for 4 vertices, though it is often just a rectangle. More...

Data Fields

s16 rot
 the current texture rotation in this quad More...
 
s16 rotspeed
 gets added to rot every frame More...
 
s16 scale
 the amount of times the texture repeats. 1 = no repeat. More...
 
s16 x1
 Coordinates of vertices. More...
 
s16 z1
 
s16 x2
 
s16 z2
 
s16 x3
 
s16 z3
 
s16 x4
 
s16 z4
 
s16 rotDir
 
s16 alpha
 if 1, it rotates counter-clockwise More...
 
s16 textureId
 opacity, 255 = fully opaque More...
 

Detailed Description

Represents a single flat quad with a rotating texture Stores x and z for 4 vertices, though it is often just a rectangle.

Does not store the y-position, since that can be dynamic for water levels.

Field Documentation

◆ alpha

s16 MovtexQuad::alpha

if 1, it rotates counter-clockwise

◆ rot

s16 MovtexQuad::rot

the current texture rotation in this quad

◆ rotDir

s16 MovtexQuad::rotDir

◆ rotspeed

s16 MovtexQuad::rotspeed

gets added to rot every frame

◆ scale

s16 MovtexQuad::scale

the amount of times the texture repeats. 1 = no repeat.

◆ textureId

s16 MovtexQuad::textureId

opacity, 255 = fully opaque

◆ x1

s16 MovtexQuad::x1

Coordinates of vertices.

◆ x2

s16 MovtexQuad::x2

◆ x3

s16 MovtexQuad::x3

◆ x4

s16 MovtexQuad::x4

◆ z1

s16 MovtexQuad::z1

◆ z2

s16 MovtexQuad::z2

◆ z3

s16 MovtexQuad::z3

◆ z4

s16 MovtexQuad::z4

The documentation for this struct was generated from the following file: