home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 413a.lha / sMOVIE / source / sMOVIE.h < prev    next >
C/C++ Source or Header  |  1990-09-02  |  2KB  |  94 lines

  1. /*    sMOVIE.h    header file with all the include
  2.                 garbage for the sMOVIE program.
  3.                 M. J. Round.     7 - Oct - 1989.        */
  4.  
  5. #define CONFIGFILENAME1 ":sMOVIE.config"
  6. #define CONFIGFILENAME2 "s:sMOVIE.config"
  7.  
  8. /*    program defaults    */
  9. #define DEFAULT_ESC_CHAR '|'
  10. #define DEFAULTFONTNAME "topaz.font"
  11. #define DEFAULTFONTHEIGHT 9
  12. #define DEFAULTTABSIZE 8
  13. #define DEFAULTDELAY 2
  14. #define DEFAULTSPACING 2
  15. #define DEFAULTBACKGROUNDCOLOUR 0,0,0
  16. #define DEFAULTPENCOLOUR 15,15,15
  17.  
  18. /*    font limits    */
  19. #define MAXFONTS 20
  20. #define MAXFONTNAMELENGTH 16
  21.  
  22. /*    input textlength limit    */
  23. #define MAXLINE 81
  24.  
  25. /*    view limits    */
  26. #define MIN_HEIGHT 1
  27. #define MIN_WIDTH 34
  28. #define MAX_HEIGHT 261
  29. #define MAX_WIDTH 704
  30. #define MAX_DEPTH 4
  31.  
  32. /*    mousemonitor limits    */
  33. #define MINDELAY 0
  34. #define MAXDELAY 25
  35. #define MOUSETHRESHOLD 30
  36.  
  37. #include <stdio.h>
  38. #include <stdlib.h>
  39. #include <string.h>
  40.  
  41. /*    need undef to stop compiler giving snotty warning
  42.     messages when NULL is redefined in exec/types.h        */
  43.  
  44. #undef NULL
  45.  
  46. #include <exec/types.h>
  47. #include <exec/nodes.h>
  48. #include <exec/io.h>
  49. #include <exec/exec.h>
  50. #include <exec/memory.h>
  51. #include <exec/lists.h>
  52. #include <exec/interrupts.h>
  53. #include <exec/ports.h>
  54. #include <exec/libraries.h>
  55. #include <exec/tasks.h>
  56. #include <exec/execbase.h>
  57. #include <exec/devices.h>
  58.  
  59. #include <devices/input.h>
  60. #include <devices/inputevent.h>
  61.  
  62. #include <intuition/intuition.h>
  63.  
  64. #include <hardware/dmabits.h>
  65. #include <hardware/custom.h>
  66. #include <hardware/blit.h>
  67.  
  68. #include <graphics/gfx.h>
  69. #include <graphics/gfxmacros.h>
  70. #include <graphics/copper.h>
  71. #include <graphics/view.h>
  72. #include <graphics/gels.h>
  73. #include <graphics/regions.h>
  74. #include <graphics/clip.h>
  75. #include <graphics/text.h>
  76. #include <graphics/gfxbase.h>
  77.  
  78. #include <devices/keymap.h>
  79.  
  80. #include <libraries/dos.h>
  81. #include <libraries/diskfont.h>
  82.  
  83. #include <workbench/startup.h>
  84.  
  85. #include <proto/dos.h>
  86. #include <proto/exec.h>
  87. #include <proto/intuition.h>
  88. #include <proto/graphics.h>
  89.  
  90. typedef struct {
  91.     int ypos;
  92.     int button;        /*    left button toggles 0/1:, right button = -1    */
  93.     } MOUSE_INFO;
  94.