ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhd_qtree2r.c
(Generate patch)

Comparing ray/src/hd/rhd_qtree2r.c (file contents):
Revision 3.5 by schorsch, Sun Jul 27 22:12:02 2003 UTC vs.
Revision 3.6 by schorsch, Thu Jan 1 11:21:55 2004 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9   #include "rhd_qtree.h"
10  
11  
12 < static
13 < redraw(tp, x0, y0, x1, y1, l)   /* mark portion of a tree for redraw */
14 < register RTREE  *tp;
15 < int     x0, y0, x1, y1;
16 < int     l[2][2];
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);
14 >
15 >
16 > static void
17 > redraw( /* mark portion of a tree for redraw */
18 >        register RTREE  *tp,
19 >        int     x0,
20 >        int     y0,
21 >        int     x1,
22 >        int     y1,
23 >        int     l[2][2]
24 > )
25   {
26          int     quads = CH_ANY;
27          int     mx, my;
# Line 39 | Line 47 | int    l[2][2];
47   }
48  
49  
50 < static
51 < update(ca, tp, x0, y0, x1, y1)  /* update tree display as needed */
52 < BYTE    ca[3];          /* returned average color */
53 < register RTREE  *tp;
54 < int     x0, y0, x1, y1;
50 > static void
51 > update( /* update tree display as needed */
52 >        BYTE    ca[3],          /* returned average color */
53 >        register RTREE  *tp,
54 >        int     x0,
55 >        int     y0,
56 >        int     x1,
57 >        int     y1
58 > )
59   {
60          int     csm[3], nc;
61          register BYTE   *cp;
# Line 105 | Line 117 | int    x0, y0, x1, y1;
117   }
118  
119  
120 < qtRedraw(x0, y0, x1, y1)        /* redraw part or all of our screen */
121 < int     x0, y0, x1, y1;
120 > extern void
121 > qtRedraw(       /* redraw part or all of our screen */
122 >        int     x0,
123 >        int     y0,
124 >        int     x1,
125 >        int     y1
126 > )
127   {
128          int     lim[2][2];
129  
# Line 119 | Line 136 | int    x0, y0, x1, y1;
136   }
137  
138  
139 < qtUpdate()                      /* update our tree display */
139 > extern void
140 > qtUpdate(void)                  /* update our tree display */
141   {
142          BYTE    ca[3];
143  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines