home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / progrmng / stk110.lzh / STKSRC.COM / SPR_MISC.H < prev    next >
Encoding:
Text File  |  1991-02-25  |  1.6 KB  |  40 lines

  1. /**********************************************************************
  2. * spr_misc.h
  3. * Miscellaneous (internal) utility routines for the sprite support
  4. **********************************************************************
  5.                     This file is part of
  6.  
  7.           STK -- The sprite toolkit -- version 1.1
  8.  
  9.               Copyright (C) Jari Karjala 1991
  10.  
  11. The sprite toolkit (STK) is a FreeWare toolkit for creating high
  12. resolution sprite graphics with PCompatible hardware. This toolkit 
  13. is provided as is without any warranty or such thing. See the file
  14. COPYING for further information.
  15.  
  16. **********************************************************************
  17. **********************************************************************/
  18.  
  19. /**********************************************************************
  20. * Create the shape data from the given shape and mask bitmaps
  21. * spr     The sprite used
  22. * shape   The shape bitmap
  23. * mask    The mask bitmap
  24. * res     The resolution used (1,2,4 or 8)
  25. **********************************************************************/
  26. void spr_misc_create_data(SPRITE spr, BITMAP shape, BITMAP mask);
  27.  
  28. /**********************************************************************
  29. * Delete the given sprite from the display list for the given page.
  30. * Set the coordinates of the sprite to (WORD)-1,(WORD)-1
  31. * spr       The sprite to delete
  32. * spr_page  The page number (0/1)
  33. *
  34. * Return: the new list
  35. **********************************************************************/
  36. void spr_misc_delete(SPRITE spr, int spr_page);
  37.