# define PITCH_X	((long) 6)
# define PITCH_Y	((long) 5)
# define WIDTH_LAYER1	((long) 1) 
# define WIDTH_LAYER2	((long) 2) 

# define MAX(a,b)	((a>b) ? a:b)

# define BOOLEAN	int
# define FALSE		((int ) 0)
# define TRUE		((int ) 1)

# define NOP		((char )'0')
# define SCR_RIGHT		((char )'1')
# define SCR_LEFT		((char )'2')
# define SCR_UP		((char )'3')
# define SCR_DOWN		((char )'4')

typedef struct SCR_StaticPoint
	{
	 struct SCR_StaticPoint		*NextPoint ;
	 struct SCR_StaticPoint		*RightPoint;
	 long				PointName  ;
	 BOOLEAN			Via        ;
	 char				Layer1     ;
	 char				Layer2     ;
	}StaticPoint;	

typedef struct SCR_StaticColumn
	{
	 struct SCR_StaticColumn	*NextCol  ;
	 struct SCR_StaticColumn	*PrevCol  ;
	 long				NorthCon  ;
	 long				SouthCon  ;
	 struct SCR_StaticPoint		*PointList;
	}StaticColumn;


