Return to previous page Return to menu Go to next page

  Title  
Data specifications
  Data  
Inter-object connection polygon information
Data Name
SprInbetInf
No

typedef     struct SprInbetInf {
     Sint32 vertCount; / * Number of extracted vertices * /
     SprObject3D * fromObj; / * Connection vertex data retrieval object * /
     Uint16 * fromVertNo; / * Extraction vertex number array * /
     SprObject3D * toObj; / * Connection vertex data setting object * /
     Uint16 * toVertNo; / * Set vertex number array * /
     SprInbetInf * next; / * Connected polygon information between next objects * /
} SprTexture;

”Next is set to 0 when there is no next object connection polygon information.

  Title  
Data specifications
  Data  
Texture table
Data Name
SprTexture
No

typedef     struct SprTexture {
     Uint16 charNo; / * Character number * /
     Uint16 colorMode; / * Color mode * /
     Uint16 color; / * Color data * /
     Uint16 width; / * Character width * /
     Uint16 height; / * Character height * /
     Uint8 * charData; / * Character data pointer * /
     SprLookupTbl * lookupTbl; / * Lookup table pointer * /
} SprTexture;

SprTexture texture [n]; Set the last entry's charNo to 0xffff (stopper).

colorMode: b5-b3 is the same as the sprite drawing mode word. color: Color data                 Lookup table number when color mode = 1                 Color bank code when color mode = 0, 2, 3, 4                 Ignored when color mode = 5

  Title  
Data specifications
  Data  
3D environment data table
Data Name
Spr3dStatus
No

typedef     struct Spr3dStatus {
     MthXyz lightAngle; / * Light source angle * /
     MthXyz viewCoordPoint; / * Viewpoint position in the view coordinate system * /
     MthXyz viewPoint; / * Viewpoint coordinates * /
     MthXyz viewAngle; / * View angle * /
     Sint32 viewAngleSeq; / * View angle rotation operation * /
     Sint32 zSortMode; / * Z sort Z coordinate value adoption mode * /
     Fixed32 zSortZMin; / * Z sort current viewpoint coordinate system Z minimum value * /
     Fixed32 zSortZMax; / * Z sort current viewpoint coordinate system Z maximum value * /
     Fixed32 clipZMin; / * Viewpoint coordinate system clip Z minimum value * /
     Fixed32 clipZMax; / * Viewpoint coordinate system clip Z maximum value * /
     Sint32 clipLevel; / * Clipping level * /
     MthXy unitPixel; / * Number of screen pixels for x, y1.0 * /
} Spr3dStatus;


Return to previous page Return to menu Go to next page