home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Shareware Plus / Development / SpriteWorld 2.2 / SpriteWorld Examples / SimpleBreakOut / SimpleBreakOut.h < prev    next >
Encoding:
Text File  |  1996-11-01  |  889 b   |  35 lines  |  [TEXT/CWIE]

  1. ///--------------------------------------------------------------------------------------
  2. // SimpleBreakOut.h
  3. //
  4. // By: Tony Myles
  5. //
  6. // Copyright © 1993 Tony Myles, All rights reserved worldwide.
  7. ///--------------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __SIMPLEBREAKOUT__
  11. #define __SIMPLEBREAKOUT__
  12.  
  13. #ifndef __WINDOWS__
  14. #include <Windows.h>
  15. #endif
  16.  
  17.  
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23. void PerformSimpleAnimation(CWindowPtr srcWindowP);
  24. SW_FUNC void BallCollideProc(SpritePtr ballSpriteP, SpritePtr brickSpriteP, Rect* sectRect);
  25. SW_FUNC void PaddleCollideProc(SpritePtr paddleSpriteP, SpritePtr ballSpriteP, Rect* sectRect);
  26. SW_FUNC void SetUpPaddle(SpritePtr paddleSpriteP);
  27. SW_FUNC void PaddleMoveProc(SpritePtr paddleSpriteP);
  28. SW_FUNC void BallMoveProc(SpritePtr srcSpriteP);
  29.  
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33.  
  34.  
  35. #endif /* __APPLICATION__ */