Return to previous page | Return to menu | Go to next page
Macro
Texture registration table
#define TEXDEF(h , v , presize) (h, v, (((cgaddress + (presize)) * 4) >> pal) / 8, (((h) & 0x1f8) << 5 | (v))} Uint16 h ; Uint16 v ; Uint32 presize ;
h Vertical size of the texture v Horizontal size of texture presize Size of previously registered texture (vertical x horizontal)
Create a table to extract texture information.
Reference macro: #define cgaddress 0x10000 #define pal COL_32K
Reference: Chapter 7 Polygon surface attributes
TEXDEF