coastline 0.0.4
Loading...
Searching...
No Matches
gbicommand.h File Reference
#include <PR/gbi.h>
#include "common/ptr32.h"
Include dependency graph for gbicommand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  ModelVertexData
 The source or converted vertex data referenced by a display-list command. More...
struct  GbiCommand
 A command of a display list of the game. More...

Typedefs

typedef struct GbiCommand GbiCommand
 A command of a game display list.
typedef Vp GbiViewport
 A display-list viewport.
typedef float GbiMatrixRow[4]
 A row of the floating-point matrix a command loads.
typedef union ModelVertexData ModelVertexData
 The source or converted vertex data referenced by a display-list command.

Enumerations

enum  GbiOpcode {
  GBI_OP_MATRIX = 0x01 , GBI_OP_MOVE_MEM = 0x03 , GBI_OP_VERTEX = 0x04 , GBI_OP_DISPLAY_LIST = 0x06 ,
  GBI_OP_TRI2 = 0xb1 , GBI_OP_CLEAR_GEOMETRY_MODE = 0xb6 , GBI_OP_SET_GEOMETRY_MODE = 0xb7 , GBI_OP_END_DISPLAY_LIST = 0xb8 ,
  GBI_OP_SET_OTHER_MODE_L = 0xb9 , GBI_OP_MOVE_WORD = 0xbc , GBI_OP_POP_MATRIX = 0xbd , GBI_OP_TRI1 = 0xbf ,
  GBI_OP_BIND_TEXTURE_ENTRY = 0xdc , GBI_OP_LOAD_PREPARED_TEXTURE = 0xdd , GBI_OP_SET_TEX_RECT_W = 0xde , GBI_OP_SET_TEX_RECT_DEPTH = 0xdf ,
  GBI_OP_FILL_RECTANGLE_INT_COORDS = 0xe1 , GBI_OP_SET_SCISSOR_INT_COORDS = 0xe2 , GBI_OP_TEXTURE_RECTANGLE = 0xe3 , GBI_OP_TEXTURE_RECTANGLE_NATIVE = 0xe4 ,
  GBI_OP_SET_SCISSOR = 0xed , GBI_OP_SET_TILE_SIZE = 0xf2 , GBI_OP_FILL_RECTANGLE = 0xf6 , GBI_OP_SET_FILL_COLOR = 0xf7 ,
  GBI_OP_SET_FOG_COLOR = 0xf8 , GBI_OP_SET_PRIM_COLOR = 0xfa , GBI_OP_SET_ENV_COLOR = 0xfb , GBI_OP_SET_COMBINE = 0xfc
}
 The opcodes of the commands of the display lists that have handlers of their own. More...

Typedef Documentation

◆ GbiCommand

typedef struct GbiCommand GbiCommand

A command of a game display list.

◆ GbiViewport

typedef Vp GbiViewport

A display-list viewport.

◆ GbiMatrixRow

typedef float GbiMatrixRow[4]

A row of the floating-point matrix a command loads.

◆ ModelVertexData

typedef union ModelVertexData ModelVertexData

The source or converted vertex data referenced by a display-list command.

Enumeration Type Documentation

◆ GbiOpcode

enum GbiOpcode

The opcodes of the commands of the display lists that have handlers of their own.

Enumerator
GBI_OP_MATRIX 

HandleGbiMatrix().

GBI_OP_MOVE_MEM 

HandleGbiMoveMem().

GBI_OP_VERTEX 

A handler of vertices.

GBI_OP_DISPLAY_LIST 

HandleGbiDisplayList().

GBI_OP_TRI2 

A handler of two triangles.

GBI_OP_CLEAR_GEOMETRY_MODE 

HandleGbiClearGeometryMode().

GBI_OP_SET_GEOMETRY_MODE 

HandleGbiSetGeometryMode().

GBI_OP_END_DISPLAY_LIST 

HandleGbiEndDisplayList().

GBI_OP_SET_OTHER_MODE_L 

HandleGbiSetOtherModeL().

GBI_OP_MOVE_WORD 

HandleGbiMoveWord().

GBI_OP_POP_MATRIX 

HandleGbiPopMatrix().

GBI_OP_TRI1 

A handler of one triangle.

GBI_OP_BIND_TEXTURE_ENTRY 

HandleGbiBindTextureEntry().

GBI_OP_LOAD_PREPARED_TEXTURE 

HandleGbiLoadPreparedTexture().

GBI_OP_SET_TEX_RECT_W 

HandleGbiSetTexRectW().

GBI_OP_SET_TEX_RECT_DEPTH 

HandleGbiSetTexRectDepth().

GBI_OP_FILL_RECTANGLE_INT_COORDS 

HandleGbiFillRectangleIntCoords().

GBI_OP_SET_SCISSOR_INT_COORDS 

HandleGbiSetScissorIntCoords().

GBI_OP_TEXTURE_RECTANGLE 

HandleGbiTextureRectangle().

GBI_OP_TEXTURE_RECTANGLE_NATIVE 

HandleGbiTextureRectangleNative().

GBI_OP_SET_SCISSOR 

HandleGbiSetScissor().

GBI_OP_SET_TILE_SIZE 

HandleGbiSetTileSize().

GBI_OP_FILL_RECTANGLE 

HandleGbiFillRectangle().

GBI_OP_SET_FILL_COLOR 

HandleGbiSetFillColor().

GBI_OP_SET_FOG_COLOR 

HandleGbiSetFogColor().

GBI_OP_SET_PRIM_COLOR 

HandleGbiSetPrimColor().

GBI_OP_SET_ENV_COLOR 

HandleGbiSetEnvColor().

GBI_OP_SET_COMBINE 

HandleGbiSetCombine().