| 10 |
|
|
| 11 |
|
|
| 12 |
|
static void redraw(RTREE *tp, int x0, int y0, int x1, int y1, int l[2][2]); |
| 13 |
< |
static void update( BYTE ca[3], RTREE *tp, int x0, int y0, int x1, int y1); |
| 13 |
> |
static void update( uby8 ca[3], RTREE *tp, int x0, int y0, int x1, int y1); |
| 14 |
|
|
| 15 |
|
|
| 16 |
|
static void |
| 49 |
|
|
| 50 |
|
static void |
| 51 |
|
update( /* update tree display as needed */ |
| 52 |
< |
BYTE ca[3], /* returned average color */ |
| 52 |
> |
uby8 ca[3], /* returned average color */ |
| 53 |
|
register RTREE *tp, |
| 54 |
|
int x0, |
| 55 |
|
int y0, |
| 58 |
|
) |
| 59 |
|
{ |
| 60 |
|
int csm[3], nc; |
| 61 |
< |
register BYTE *cp; |
| 62 |
< |
BYTE rgb[3]; |
| 61 |
> |
register uby8 *cp; |
| 62 |
> |
uby8 rgb[3]; |
| 63 |
|
double dpth2[4], d2; |
| 64 |
|
int gaps = 0; |
| 65 |
|
int mx, my; |
| 139 |
|
extern void |
| 140 |
|
qtUpdate(void) /* update our tree display */ |
| 141 |
|
{ |
| 142 |
< |
BYTE ca[3]; |
| 142 |
> |
uby8 ca[3]; |
| 143 |
|
|
| 144 |
|
if (is_stump(&qtrunk)) |
| 145 |
|
return; |