al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
gDPSetHiliteTile FunctionsSyntax#include "gbi.h" typedef struct { /* texture offsets (pixels) for highlights 1 & 2 */ int x1, y1, x2, y2; } Hilite_t; typedef union { Hilite_t h; long int force_structure_alignment[4]; } Hilite; gDPSetHilite1Tile(Gfx *gdl, int tile, Hilite hilite, int width, int height) gDPSetHilite2Tile(Gfx *gdl, int tile, Hilite hilite, int width, int height)Arguments
The gDPSetHilite1Tile and gDPSetHilite2Tile macros call the gDPSetTileSize macros, passing the texture offsets through the Hilite structure and the texture size through the width and height arguments. The number in the name of the macro represents the ordinal number of a specular highlight in the scene (1 or 2). See Also gDPSetTileSize guLookAtHilite
|