home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / GRAPHICS / MISC / STK100.ZIP / DEMOSRC.COM / SMSPR.H < prev    next >
Encoding:
Text File  |  1990-10-20  |  2.1 KB  |  49 lines

  1. /**********************************************************************
  2. * smspr.h
  3. *
  4. * StarMines - a sprite toolkit demonstration game.
  5. *
  6. * The sprite creation functions.
  7. **********************************************************************
  8.                     This file is part of
  9.  
  10.           STK -- The sprite toolkit -- version 1.0
  11.  
  12.               Copyright (C) Jari Karjala 1990
  13.  
  14. The sprite toolkit (STK) is a FreeWare toolkit for creating high
  15. resolution sprite graphics with PCompatible hardware. This toolkit 
  16. is provided as is without any warranty or such thing. See the file
  17. COPYING for further information.
  18.  
  19. **********************************************************************
  20. **********************************************************************/
  21.  
  22. /**********************************************************************
  23. * Create an animated alien into the next free slot in the global 
  24. * 'aliens' array. Set fx_handler and start alien.
  25. * Return NULL if error or no more slots.
  26. **********************************************************************/
  27. ANIM_SPRITE smspr_create_alien(void);
  28.  
  29. /**********************************************************************
  30. * Creates an 'animated' sprite for the player. Actually it contains
  31. * only the different rotations for the player. Set fx_handler and 
  32. * start the player.
  33. * Return: NULL if error, the player otherwise.
  34. **********************************************************************/
  35. ANIM_SPRITE smspr_create_player(void);
  36.  
  37.  
  38. /**********************************************************************
  39. * Create a bullet. Set fx_handler and start the bullet.
  40. * Return: NULL if error, the bullet otherwise.
  41. **********************************************************************/
  42. ANIM_SPRITE smspr_create_bullet(void);
  43.  
  44. /**********************************************************************
  45. * Create an explosion. Set fx_handler and start the sprite.
  46. * Return: NULL if error, the ANIM_SPRITE otherwise.
  47. **********************************************************************/
  48. ANIM_SPRITE smspr_create_explosion(void);
  49.