Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Draw normal sprite
Function Name
SPR_2NormSpr
No
22

  format  void SPR_2NormSpr (Sint32 drawPrty, Uint16 dir, Uint16 drowMode,
(  Uint16 color, Unit16 charNo, XyInt * xy, Uint16 gourTblNo)
 Input  drawPrty: Command drawing priority number
  dir: Character inversion instruction (b5-b4: Same as control word)
:  drowMode: Drawing mode (same as drawing mode word)
 Color  color: Color code or lookup table number
:  For 0xffff, the color data specified in SPR_2SetChar () is set.
 char  charNo: Character number
  xy: Upper left coordinates
 GourTblNo: Gouraud shading table number
:  NO_GOUR (= 0xffff) = No Gouraud shading table specified
 Output  None
 Function value  None
 Function  Draws a normal sprite. 

  Title  
Function specifications
  Function  
Draw scale sprite
Function Name
SPR_2ScaleSpr
No
23

  format  void SPR_2ScalSpr (Sint32 drawPrty, Uint16 zoomDir, Uint16 drowMode,
  (Uint16 color, Uint16 charNo, XyInt xy [2], Uint16 gourTblNo)
 Input  drawPrty: Command drawing priority number
:  zoomDir: Zoom & character inversion instructions (b11 to b8, b5, b4: control word
(  Same)
:  drowMode: Drawing mode (same as drawing mode word)
 Color  color: Color code or lookup table number
:  For 0xffff, the color data specified in SPR_2SetChar () is set.
 char  charNo: Character number
  xy [2]: 2 vertex coordinates or fixed point coordinates / display width
 GourTblNo: Gouraud shading table number
:  NO_GOUR (= 0xffff) = No Gouraud shading table specified
 Output  None
 Function value  None
 Function  Draws a scale sprite. 


Return to previous page Return to menu Go to next page