home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3406 / mb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-24  |  656 b   |  38 lines

  1.  
  2. #define JULIA 0x01
  3. #define FAST 0x02
  4.  
  5. /* what FAST mode is on, the stream of data includes pixel start
  6.  * information. This will increase net traffic by about 100%,
  7.  * so do not use it lightly.
  8.  * However, server can decode the pictures much faster when
  9.  * FAST flag is set.
  10.  */
  11. #define USE_INTEGER_MATH
  12.  
  13. #define LIMIT_J16 (8e-3)
  14. #define LIMIT_J32 (1.6e-8)
  15.  
  16. #define LIMIT_M16 (2e-3)
  17. #define LIMIT_M32 (4e-9)
  18.  
  19. #define BIT16 13
  20. #define BIT32 29
  21.  
  22. #define NODIR -1
  23. #define UP 0
  24. #define RIGHT 1
  25. #define DOWN 2
  26. #define LEFT 3
  27.  
  28. #define LASTPIX (0xffff)
  29.  
  30. #define MAXHOST 16
  31.  
  32. int iterate();
  33. void initialize();
  34. void deinit();
  35. int first_point();
  36. void next_point();
  37.  
  38.