home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 609b.lha / MandelSquare_v1.3 / Source.LZH / Source / PreInclude.c < prev    next >
C/C++ Source or Header  |  1992-01-05  |  2KB  |  90 lines

  1. /** Revision Header * Header built automatically - do not edit! *************
  2.  *
  3.  *    (C) Copyright 1991 by Olaf `Olsen' Barthel, all rights reserved
  4.  *
  5.  *    Name .....: PreInclude.c
  6.  *    Created ..: Monday 26-Aug-91 11:20
  7.  *    Revision .: 1
  8.  *
  9.  *    Date            Author          Comment
  10.  *    =========       ========        ====================
  11.  *    26-Aug-91    Olsen        Created this file!
  12.  *
  13.  ***************************************************************************/
  14.  
  15.     /* Some system includes. */
  16.  
  17. #include <intuition/intuitionbase.h>
  18. #include <intuition/gadgetclass.h>
  19. #include <graphics/displayinfo.h>
  20. #include <workbench/workbench.h>
  21. #include <libraries/gadtools.h>
  22. #include <libraries/iffparse.h>
  23. #include <workbench/startup.h>
  24. #include <graphics/gfxbase.h>
  25. #include <hardware/intbits.h>
  26. #include <hardware/custom.h>
  27. #include <exec/execbase.h>
  28. #include <devices/timer.h>
  29. #include <dos/dosextens.h>
  30. #include <libraries/asl.h>
  31. #include <exec/devices.h>
  32. #include <exec/memory.h>
  33.  
  34. #include <clib/intuition_protos.h>
  35. #include <clib/graphics_protos.h>
  36. #include <clib/gadtools_protos.h>
  37. #include <clib/iffparse_protos.h>
  38. #include <clib/timer_protos.h>
  39. #include <clib/exec_protos.h>
  40. #include <clib/icon_protos.h>
  41. #include <clib/asl_protos.h>
  42. #include <clib/dos_protos.h>
  43.  
  44. #include <pragmas/intuition.h>
  45. #include <pragmas/graphics.h>
  46. #include <pragmas/gadtools.h>
  47. #include <pragmas/iffparse.h>
  48. #include <pragmas/timer.h>
  49. #include <pragmas/exec.h>
  50. #include <pragmas/icon.h>
  51. #include <pragmas/asl.h>
  52. #include <pragmas/dos.h>
  53.  
  54. #include <m68881.h>
  55. #include <stdarg.h>
  56. #include <string.h>
  57. #include <math.h>
  58.  
  59.     /* A standard IFF-ILBM BitMapHeader. */
  60.  
  61. struct BitMapHeader
  62. {
  63.     UWORD    w, h;
  64.     WORD    x, y;
  65.     UBYTE    nPlanes;
  66.     UBYTE    masking;
  67.     UBYTE    compression;
  68.     UBYTE    pad1;
  69.     UWORD    transparentColor;
  70.     UBYTE    xAspect,yAspect;
  71.     WORD    pageWidth,pageHeight;
  72. };
  73.  
  74.     /* A custom chunk `MandelSquare' saves which each
  75.      * picture, it contains the coordinates, screen
  76.      * width and the number iterations set when the
  77.      * picture was saved.
  78.      */
  79.  
  80. struct MandelInfo
  81. {
  82.     double    MinReal,MinImaginary;
  83.     double    RealWidth,ImaginaryHeight;
  84.     LONG    Iterations;
  85. };
  86.  
  87. extern struct DosLibrary    *DOSBase;
  88. extern struct ExecBase        *SysBase;
  89. extern struct Library        *IFFParseBase;
  90.