aboutsummaryrefslogtreecommitdiff
path: root/src/include/spadcolors.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/spadcolors.h')
-rw-r--r--src/include/spadcolors.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/spadcolors.h b/src/include/spadcolors.h
index 63621599..a9541e73 100644
--- a/src/include/spadcolors.h
+++ b/src/include/spadcolors.h
@@ -50,13 +50,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define startColor 0
#define endColor (startColor+numColors)
-#define colorStep ((maxColors+1)/numColors)
-
#define yes 1
#define no 0
#define smoothConst 50
+#ifndef saymem
#define saymem(a,b,c) saymemWithLine(a,b,c,0)
+#endif
#define Colorcells 256 /* KF number of elements in permutation vector */
/* #define shade 5 */
#define saturation 0.8
@@ -76,6 +76,4 @@ extern Colormap colorMap;
extern int num;
extern int scrn;
-#define maxColors DisplayCells(dsply,scrn)-1
-
#endif /* OPENAXIOM_SPADCOLORS_included */