16 |
|
|
17 |
|
static void |
18 |
|
redraw( /* mark portion of a tree for redraw */ |
19 |
< |
register RTREE *tp, |
19 |
> |
RTREE *tp, |
20 |
|
int x0, |
21 |
|
int y0, |
22 |
|
int x1, |
26 |
|
{ |
27 |
|
int quads = CH_ANY; |
28 |
|
int mx, my; |
29 |
< |
register int i; |
29 |
> |
int i; |
30 |
|
/* compute midpoint */ |
31 |
|
mx = (x0 + x1) >> 1; |
32 |
|
my = (y0 + y1) >> 1; |
51 |
|
static void |
52 |
|
cpaint( /* paint a cone within a rectangle */ |
53 |
|
uby8 rgb[3], |
54 |
< |
register float *p, |
54 |
> |
float *p, |
55 |
|
int x0, |
56 |
|
int y0, |
57 |
|
int x1, |
96 |
|
static void |
97 |
|
update( /* update tree display as needed */ |
98 |
|
uby8 ca[3], /* returned average color */ |
99 |
< |
register RTREE *tp, |
99 |
> |
RTREE *tp, |
100 |
|
int x0, |
101 |
|
int y0, |
102 |
|
int x1, |
104 |
|
) |
105 |
|
{ |
106 |
|
int csm[3], nc; |
107 |
< |
register uby8 *cp; |
107 |
> |
uby8 *cp; |
108 |
|
uby8 rgb[3]; |
109 |
|
int gaps = 0; |
110 |
|
int mx, my; |
111 |
< |
register int i; |
111 |
> |
int i; |
112 |
|
/* compute midpoint */ |
113 |
|
mx = (x0 + x1) >> 1; |
114 |
|
my = (y0 + y1) >> 1; |
149 |
|
} |
150 |
|
|
151 |
|
|
152 |
< |
extern void |
152 |
> |
void |
153 |
|
qtRedraw( /* redraw part or all of our screen */ |
154 |
|
int x0, |
155 |
|
int y0, |
168 |
|
} |
169 |
|
|
170 |
|
|
171 |
< |
extern void |
171 |
> |
void |
172 |
|
qtUpdate(void) /* update our tree display */ |
173 |
|
{ |
174 |
|
uby8 ca[3]; |