gdisplay.h
1.24 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#include <gl.h>
#include <device.h>
#include <signal.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#define TSIZE 1024
#define MTSIZE 256
#define N_ITEMS 256
#define N_TRACES 384
#define N_WINDS 64
struct item
{
int tag;
int col;
int wn;
int x0,y0,x1,y1;
int oldval;
int newval;
int newnewval;
int oldzval;
int newzval;
int tval;
char name[256];
char fmt[256];
int p;
int cmd;
int redraw;
int size;
int xsize;
int ysize;
int xtsize;
int ytsize;
int xpos;
int ypos;
int tsize;
int px1;
int nt;
int mid;
int **mem;
int **zmem;
int **mem1;
int **zmem1;
char *ci;
int tmul;
int major;
int px,py,pwe,pwd,prd;
};
struct op
{
int time;
int data;
int zdata;
int on;
};
struct trace
{
int wrap;
int in;
int pos;
int thetime;
int newval;
int newzval;
char name[256];
char fmt[256];
int p;
int size;
struct op op[TSIZE];
int oN;
int n;
char *ci;
};
struct wind
{
int gwid;
char *ci;
char mipname[256];
int col;
int x,y,w,h;
int redraw;
int newshow;
int oldshow;
int tpos;
int xpos;
int ypos;
};
struct glob
{
int nwindows;
int thetime;
int ni;
int nt;
int newnoise;
int oldnoise;
int on;
int rpt,wpt;
int mem0;
};
#define BC 160
#define PX0 90
#define PX1 100