home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / SpriteFight 2002 v2.0a1 / SpriteForeground.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-19  |  1.3 KB  |  46 lines  |  [TEXT/SPM ]

  1. /*******************************************************
  2. *** SpriteForeground.h
  3. *** By: Stefan C. Sinclair
  4. *** Copyright © 1996 All Rights Reserved Worldwide.
  5. *** Brief description here
  6. *******************************************************/
  7.  
  8. #ifndef __SPRITEFOREGROUND__
  9. #define __SPRITEFOREGROUND__
  10.  
  11. #ifndef __SPRITEWORLD__
  12. #include "SpriteWorld.h"
  13. #endif
  14.  
  15. #ifndef __SPRITE__
  16. #include "Sprite.h"
  17. #endif
  18.  
  19. #define kFirstForegroundSpriteID    0
  20.  
  21. #define kBagLadySpriteID            0
  22. #define kBagLadyPICTID            520
  23. #define kBagLadyMaskPICTID        530
  24.  
  25. #define kWheelChairSpriteID            1
  26. #define kWheelChairPICTID            540
  27. #define kWheelChairMaskPICTID        550
  28.  
  29. #define kLastForegroundSpriteID        1
  30.  
  31.  
  32. //• Function protos
  33. OSErr CreateForegroundSprite(void *spriteStorageP, short foregroundSpriteID);
  34. void SetupForegroundSprite(SpritePtr spriteP, short foregroundSpriteID);
  35.  
  36. // WheelChairSprite
  37. void SetupWheelChairSprite(SpritePtr spriteP);
  38. void WheelChairSpriteCollideProc(SpritePtr srcSpriteP,SpritePtr dstSpriteP,Rect* sectRect);
  39. SW_FUNC void WheelChairMoveProc(SpritePtr srcSpriteP, Point* spritePoint);
  40.  
  41. // BagLadySprite
  42. void SetupBagLadySprite(SpritePtr spriteP);
  43. void BagLadySpriteCollideProc(SpritePtr srcSpriteP,SpritePtr dstSpriteP,Rect* sectRect);
  44. SW_FUNC void BagLadyMoveProc(SpritePtr srcSpriteP, Point* spritePoint);
  45.  
  46. #endif // end SpriteForeground