home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Tool Chest / Games / Game Sample Code / SpriteWorld 1.0b3 / Examples / Utils / GameUtils.h < prev    next >
Encoding:
Text File  |  1993-05-31  |  655 b   |  34 lines  |  [TEXT/KAHL]

  1. ///--------------------------------------------------------------------------------------
  2. //    GameUtils.h
  3. //
  4. //    By:    Tony Myles
  5. //
  6. //    Copyright: © 1990-93 Tony Myles, All rights reserved worldwide
  7. //
  8. //    Description:    some utility functions for games
  9. ///--------------------------------------------------------------------------------------
  10.  
  11.  
  12. #ifndef __GAMEUTILS__
  13. #define __GAMEUTILS__
  14.  
  15. #ifndef __QUICKDRAW__
  16. #include <QuickDraw.h>
  17. #endif
  18.  
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. unsigned short GetRandom(unsigned short min, unsigned short max);
  26. void HideMenuBar(GrafPtr grafPort);
  27. void ShowMenuBar(GrafPtr grafPort);
  28.  
  29.  
  30. #ifdef __cplusplus
  31. };
  32. #endif
  33. #endif
  34.