home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / bomb.tar.gz / bomb.tar / bomb / bomb.h < prev    next >
C/C++ Source or Header  |  1998-02-19  |  3KB  |  95 lines

  1. /*
  2.     bomb - automatic interactive visual stimulation
  3.     Copyright (C) 1994  Scott Draves <spot@cs.cmu.edu>
  4.  
  5.     This program is free software; you can redistribute it and/or modify
  6.     it under the terms of the GNU General Public License as published by
  7.     the Free Software Foundation; either version 2 of the License, or
  8.     (at your option) any later version.
  9.  
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.  
  15.     You should have received a copy of the GNU General Public License
  16.     along with this program; if not, write to the Free Software
  17.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. */
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. #define rule_rug            0
  26. #define rule_rug2           1
  27. #define rule_static         2
  28. #define rule_rotorug        3
  29. #define rule_acidlife1      4
  30. #define rule_acidlife2      5
  31. #define rule_rug_anneal     6
  32. #define rule_rug_anneal2    7
  33. #define rule_rug_rug        8
  34. #define rule_rug_brain      9
  35. #define rule_shade         10
  36. #define rule_wave          11
  37. #define rule_rug_image     12
  38. #define rule_slip          13
  39. #define rule_fuse          14
  40. #define rule_rug_multi     15
  41. #define rule_rd            16
  42. #define rule_rd2           17
  43. #define rule_quad          18
  44. #define rule_rug3          19
  45. #define nrules             20
  46.  
  47. #define cmap_mono   0
  48. #define cmap_mono4  1
  49. #define cmap_loop   2
  50. #define cmap_path   3
  51. #define cmap_heat   4
  52. #define cmap_plain  5
  53. #define cmap_split  6
  54. #define cmap_noise  7
  55. #define cmap_black  8
  56. #define cmap_ramp   9
  57.  
  58. #define fill_hramp  0
  59. #define fill_vramp  1
  60. #define fill_grid   2
  61. #define fill_noise  3
  62. #define fill_vnoise 4    /* vert sym */
  63. #define fill_sparse 5    /* each bit 1/(2^4) */
  64. #define nfills      6
  65.  
  66. void bomb_work();
  67.  
  68. void bomb_clear(int);    /* fill_xxx */
  69. void bomb_pulse();
  70. void bomb_pulse_driver();
  71.  
  72. void bomb_set_rule(int);    /* rule_xxx */
  73. void bomb_set_mask(int);
  74. void bomb_set_speed(int);
  75. void bomb_set_pen_size(int);
  76. void bomb_set_drift(int);
  77. void bomb_set_drift_speed(int);
  78. void bomb_set_color(int);
  79. void bomb_set_flame(int);
  80. void bomb_set_brain(int);
  81. void bomb_set_brain_shift(int);
  82. void bomb_set_color_type(int);  /* cmap_xxx */
  83. void bomb_set_randomized_underflow(int);
  84. void bomb_set_cycle_background(int);
  85. void bomb_set_remap_colors(int);
  86.  
  87. extern int display_fps;
  88.  
  89. #ifdef __cplusplus
  90. }
  91. #endif
  92.  
  93.  
  94.  
  95.