/* The routines in this file are copyright (c) 1987 by Helene (Lee) Taran. * Permission is granted for use and free distribution as long as the * original author's name is included with the code. */ #ifndef SPLINE_H #define SPLINE_H #include #include #include #include "popmenu.h" #include "bezier.h" #include "dlist.h" #define INTERLACED_VIEW #ifdef INTERLACED_VIEW #define VIEWMODE (HIRES | INTERLACE) #define XADJUSTMENT 2 #define YADJUSTMENT 2 #else #define YADJUSTMENT 1 #ifdef HIRESVIEW #define VIEWMODE HIRES #define XADJUSTMENT 2 #else #define VIEWMODE 0 #define XADJUSTMENT 1 #endif #endif #define SCREEN_WIDTH (XADJUSTMENT * 320) #define SCREEN_HEIGHT (YADJUSTMENT * 200) #define CONTROL_RADIUS 4 #define WINDOW_LEFT 0 #define WINDOW_TOP 11 #define WINDOW_HEIGHT (SCREEN_HEIGHT - WINDOW_TOP) #define WINDOW_WIDTH SCREEN_WIDTH #define DEPTH 2 /* Number of bit-planes to use for color definition */ #define COLORCOUNT (1L<contents) #define MAXG 34 /* maximum number of points for interpolation */ /* NOTE: you don't want to change this value! */ #endif