Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Command write open processing
Function Name
SPR_2OpenCommand
No
14

  format  void SPR_2OpenCommand (Uint16 drawPrtyFlag)
 Input  drawPrtyFlag: Command drawing priority valid / invalid flag
:  SPR_2DRAW_PRTY_ON = Command drawing priority enabled
:  SPR_2DRAW_PRTY_OFF = Command drawing priority disabled
 Output  None
 Function value  None
 Function  Sets the sprite command write start position to the top of the VRAM command area.
  Therefore, before calling the following series of sprite command setting routines,
 Routine  must be called.
  SPR_2LocalCoord () SPR_2SysClip () SPR_2UserClip () SPR_2line ()
:  SPR_2polyLine () SPR_2Polygon () SPR_2NormSpr () SPR_2ScaleSpr ()
  SPR_2DistSpr () SPR_2Cmd () 

  Title  
Function specifications
  Function  
Command write close processing
Function Name
SPR_2CloseCommand
No
15

  format  void SPR_2CloseCommand (void)
 Input  None
 Output  None
 Function value  None
 Function  When command drawing priority is enabled, prioritizes commands in VRAM
Chain according to   number.
  Write end sprite command and toggle VRAM area reference switch command
.  

  Title  
Function specifications
  Function  
Set of local coordinates
Function Name
SPR_2LocalCoord
No
16

  format  void SPR_2LocalCoord (Sint32 drawPrty, XyInt * xy)
 Input  drawPrty: Command drawing priority number
  xy: Relative coordinates of local coordinates
 Output  None
 Function value  None
A  Function  Set local coordinates 


Return to previous page Return to menu Go to next page