coastline 0.0.4
Loading...
Searching...
No Matches
GbiCommand Struct Reference

A command of a display list of the game. More...

#include <gbicommand.h>

Collaboration diagram for GbiCommand:

Public Attributes

union { 
   struct { 
      unsigned   w0 
      union { 
         const GbiViewport *   pViewport 
         const void *   pData 
         const Light *   pLight 
         GbiMatrixRow *   pMatrix 
         unsigned   w1 
         float   f1 
         GbiCommand *   pTarget 
         ModelVertexData   vertexData 
      } 
   } 
   Gwords   words 
}; 

Detailed Description

A command of a display list of the game.

Member Data Documentation

◆ w0

unsigned GbiCommand::w0

The first word, the opcode in its high byte.

◆ pViewport

const GbiViewport* GbiCommand::pViewport

The viewport a command sets.

◆ pData

const void* GbiCommand::pData

The memory a command moves.

◆ pLight

const Light* GbiCommand::pLight

The light or look-at direction a command moves.

◆ pMatrix

GbiMatrixRow* GbiCommand::pMatrix

The floating-point matrix a command loads.

◆ w1

unsigned GbiCommand::w1

The second word.

◆ f1

float GbiCommand::f1

The second word as a float.

◆ pTarget

GbiCommand* GbiCommand::pTarget

The display list a branch or a call runs.

◆ vertexData

ModelVertexData GbiCommand::vertexData

The source or converted vertex data.

◆ words

Gwords GbiCommand::words

The command as two raw words.

◆ [union]

union { ... } GbiCommand

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