home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_09
/
1009062a
< prev
next >
Wrap
Text File
|
1992-06-30
|
429b
|
30 lines
/*
Listing 1
*/
static char bold[] = {'\33', '[', '1', 'm', '\0'};
static char norm[] = {'\33', '[', '0', 'm', '\0'};
#define ORIGIN 0
#define IDLE 0
#define WANT_IN 1
#define IN_CS 2
#define NORMAL 0
#define STOP 1
#define CLEAR 0
#define READY 1
#define PROCESSES 3
#define NODE0 0
#define NODE1 1
#define NODE2 2
#define TURN_LOC PROCESSES+0
#define NODE1_LOC PROCESSES+1
#define NODE2_LOC PROCESSES+2