home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / open32 / toybox2 / toybox.h < prev    next >
Text File  |  1999-05-11  |  3KB  |  51 lines

  1. /*************************************************************************
  2. * ToyBox Demo Program h include file.
  3. *
  4. * 08/08/95 - Original Version, Dan Mendrala, IBM Corporation, 1995.
  5. *
  6. *************************************************************************/
  7.  
  8.  
  9. /*************************************************************************
  10.  * Just the basic include files.
  11.  ************************************************************************/
  12.  
  13. #include <os2win.h>
  14. #include <stdio.h>
  15. #include "toybox.hhh"
  16.  
  17. /*************************************************************************
  18.  * These are some limits that we set in the program.
  19.  ************************************************************************/
  20.  
  21. #define MAX_OBJ                 100     /* Max balls active             */
  22. #define MAX_OBJ_TYPE            6       /* MUST be EVEN # of types      */
  23. #define MAX_OBJ_FRAME           6       /* # of frames per type         */
  24.  
  25. /*************************************************************************
  26.  * Some constants that we need set.
  27.  ************************************************************************/
  28.  
  29. #define BIT_NONOBJ              0               /* status for unused    */
  30. #define BIT_ACTOBJ              1               /* active object (=)    */
  31. #define BIT_NEWOBJ              2               /* Status for NEW       */
  32. #define BIT_DELOBJ              4               /* Status for Delete obj*/
  33.  
  34.  
  35. /*************************************************************************
  36.  * These are all of the defines used by the resource file menu items.
  37.  ************************************************************************/
  38.  
  39. #define IDM_START                                                                1
  40. #define IDM_STOP                                                                 2
  41.  
  42. #define IDM_ADDOBJ                                                               10
  43. #define IDM_DELOBJ                                                               11
  44. #define IDM_MAXOBJ                                                               12
  45. #define IDM_MINOBJ                                                               13
  46. #define IDM_STEP                                                                 14
  47.  
  48. #define IDM_ABOUT                                                                97
  49. #define IDM_QUIT                                                                 98
  50. #define IDM_HELP                                                                 99
  51.