--- ray/src/hd/rhd_qtree2c.c 2004/01/01 11:21:55 3.3 +++ ray/src/hd/rhd_qtree2c.c 2011/05/20 02:06:39 3.4 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rhd_qtree2c.c,v 3.3 2004/01/01 11:21:55 schorsch Exp $"; +static const char RCSid[] = "$Id: rhd_qtree2c.c,v 3.4 2011/05/20 02:06:39 greg Exp $"; #endif /* * Quadtree display support routines for cone output. @@ -9,8 +9,8 @@ static const char RCSid[] = "$Id: rhd_qtree2c.c,v 3.3 #include "rhd_qtree.h" static void redraw(RTREE *tp, int x0, int y0, int x1, int y1, int l[2][2]); -static void cpaint(BYTE rgb[3], float *p, int x0, int y0, int x1, int y1); -static void update(BYTE ca[3], RTREE *tp, int x0, int y0, int x1, int y1); +static void cpaint(uby8 rgb[3], float *p, int x0, int y0, int x1, int y1); +static void update(uby8 ca[3], RTREE *tp, int x0, int y0, int x1, int y1); @@ -50,7 +50,7 @@ redraw( /* mark portion of a tree for redraw */ static void cpaint( /* paint a cone within a rectangle */ - BYTE rgb[3], + uby8 rgb[3], register float *p, int x0, int y0, @@ -95,7 +95,7 @@ cpaint( /* paint a cone within a rectangle */ static void update( /* update tree display as needed */ - BYTE ca[3], /* returned average color */ + uby8 ca[3], /* returned average color */ register RTREE *tp, int x0, int y0, @@ -104,8 +104,8 @@ update( /* update tree display as needed */ ) { int csm[3], nc; - register BYTE *cp; - BYTE rgb[3]; + register uby8 *cp; + uby8 rgb[3]; int gaps = 0; int mx, my; register int i; @@ -171,7 +171,7 @@ qtRedraw( /* redraw part or all of our screen */ extern void qtUpdate(void) /* update our tree display */ { - BYTE ca[3]; + uby8 ca[3]; if (is_stump(&qtrunk)) return;