home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / misc / dr.str / Source / StrangeGlove.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-07  |  1.5 KB  |  65 lines  |  [TEXT/KAHL]

  1. #define BASE_RES_ID            400
  2. #define NIL_POINTER            0L
  3. #define MOVE_TO_FRONT        -1L
  4. #define REMOVE_ALL_EVENTS    0
  5.  
  6. #define    IGNORED_STRING        "\p"
  7. #define    NIL_FILE_FILTER        0L
  8. #define    NIL_DIALOG_HOOK        0L
  9.  
  10. #define LEAVE_WHERE_IT_IS    FALSE
  11. #define NORMAL_UPDATES        TRUE
  12.  
  13. #define DRAG_THRESHOLD        30
  14.  
  15. #define MIN_SLEEP            0L
  16. #define NIL_MOUSE_REGION    0L
  17. #define WNE_TRAP_NUM        0x60
  18. #define UNIMPL_TRAP_NUM        0x9F
  19. #define SUSPEND_RESUME_BIT    0x0001
  20. #define ACTIVATING            1
  21. #define RESUMING            1
  22.  
  23. #define TEXT_FONT_SIZE        12
  24. #define ROWHEIGHT            15
  25. #define SIDEMARGIN            5
  26. #define STARTROW            15
  27. #define HORIZONTAL_OFFSET    0
  28. #define BOTTOM_MARGIN        4
  29.  
  30. /*** Define Alert Resources ***/
  31. #define ABOUT_ALERT            BASE_RES_ID
  32. #define ERROR_ALERT_ID        BASE_RES_ID+1
  33. #define CONT_ALERT            BASE_RES_ID+2
  34.  
  35. /*** Define Window Resources ***/
  36. #define TERM_WIND_ID        BASE_RES_ID
  37. #define ADT_WIND_ID            BASE_RES_ID+1
  38. #define DATA_WIND_ID        BASE_RES_ID+2
  39. #define BALL_WIND_ID        BASE_RES_ID+3
  40.  
  41. /*** Define Resource for Bootloader code ***/
  42. #define BOOTCODE_ID            BASE_RES_ID
  43.  
  44. /*** Define error strings ***/
  45. #define NIL_STRING                    "\p"
  46. #define HOPELESSLY_FATAL_ERROR        "\pYou lose!"
  47.  
  48. #define NO_MBAR                BASE_RES_ID
  49. #define NO_MENU                BASE_RES_ID+1
  50. #define NO_WIND                BASE_RES_ID+2
  51. #define CANT_OPEN_FILE        BASE_RES_ID+3
  52. #define GET_EOF_ERROR        BASE_RES_ID+4
  53. #define OUT_OF_MEMORY        BASE_RES_ID+5
  54. #define CANT_READ_FILE        BASE_RES_ID+6
  55. #define RES_ERROR            BASE_RES_ID+8
  56.  
  57. /*** Define other strings ***/
  58. #define RESET_UC            BASE_RES_ID+7
  59. #define USER_CANCEL            BASE_RES_ID+9
  60.  
  61. /*** Define alert buttons ***/
  62. #define OK_BUTTON            1
  63. #define CANCEL_BUTTON        2
  64.  
  65.