-
Notifications
You must be signed in to change notification settings - Fork 97
/
SETUP.H
66 lines (55 loc) · 1.45 KB
/
SETUP.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//#define DEBUG // shows all windows
typedef unsigned char byte;
typedef struct
{
int x; // xcoord of radio
int y; // ycoord of radio
int value; // value to match
} radio_t;
typedef struct
{
radio_t *radios; // start of radio buttons
int amount; // # of radio buttons
int *master; // master value that radios must match
int fgcolor; // text color
int bgcolor; // background color
} radiogroup_t;
typedef struct
{
short pup_id;
char width;
char height;
char x;
char y;
short mystery1;
short mystery2;
} pup_t;
typedef enum
{
normal,
stringdraw,
repeat
} pup_e;
// ALL THE WINDOWS
extern pup_t far askpres, far cmodem, far consel, far control, far cserial,
far cwarp, far gusirqer, far idcard, far idjoysel, far idkeysel, far idmain2,
far idmousel, far irqerr, far macros, far mcard, far midiport, far modemchs,
far modsave, far mousentr, far mouspres, far netplay, far netplay2,
far netsave, far netserr, far netwk2, far numdig, far phonelst, far quitwin,
far sbdma, far sbirq, far sbport, far sersave, far show, far sockerr,
far title;
#ifndef FRENCH
extern pup_t far entrnmbr; // No entering phone numbers for frogs!
#endif
#define MAXLAYERS 5 // max amount of screens to save
void SaveScreen(void);
void RestoreScreen(void);
void DrawRadios(radiogroup_t *rg);
void DrawPup(pup_t far *pup);
#ifdef DEBUG
void ShowAllPups(void);
#endif
extern char errorstring[80];
void Error(char *string);
extern char **myargv;
extern int myargc;