Screen2D

# Macros and Structures for 2D Screens

## Description

The structures, macros, and `typedef`s to store 2D screen screen data and character data are defined in `NitroSDK/include/nitro/gx/struct_2d.h`.

## Macros

GX_SCRFMT_TEXT(pltt, vf, hf, name) | Gets text BG screen screen data from the color palette, HV flip, and character name.

## Structures

GXCharFmt16 | 8x8 dot character in 16-color mode
GXCharFmt256 | 8x8 dot character in 256-color mode
GXBGPltt16/GXOBJPltt16 | 16-color palette
GXBGPltt256/GXOBJPltt256 | 256-color palette
GXScrText32x32 | 256x256 dot text BG
GXScrText64x32 | 512x256 dot text BG
GXScrText32x64 | 256x512 dot text BG
GXScrText64x64 | 512x512 dot text BG
GXScrAffine16x16 | 128x128 dot affine BG
GXScrAffine32x32 | 256x256 dot affine BG
GXScrAffine64x64 | 512x512 dot affine BG
GXScrAffine128x128 | 1024x1024 dot affine BG
GXScr256Bmp128x128 | 128x128 dot bitmap BG
GXScr256Bmp256x256 | 256x256 dot bitmap BG
GXScr256Bmp512x256 | 512x256 dot bitmap BG
GXScr256Bmp512x512 | 512x512 dot bitmap BG
GXScrDCBmp128x128 | 128x128 dot direct color bitmap BG
GXScrDCBmp256x256 | 256x256 dot direct color bitmap BG
GXScrDCBmp512x256 | 512x256 dot direct color bitmap BG
GXScrDCBmp512x512 | 512x512 dot direct color bitmap BG
GXCharBGText16 | 16-color mode character BG
GXCharBGText256 | 256-color mode character BG
GXCharBGAffine256 | 256-color mode affine BG
GXBGStdPlttData | Standard BG palette data
GXOBJStdPlttData | Standard OBJ palette data
GXStdPlttData | Standard palette data
GXBGExtPlttData | Extended BG palette data
GXOBJExtPlttData | Extended OBJ palette data

## Revision History

02/23/2004 Initial Version