34 |
|
|
35 |
|
extern int odNViews; /* number of views in our list */ |
36 |
|
|
37 |
+ |
extern TMstruct *tmGlobal; /* global tone-mapping structure */ |
38 |
+ |
|
39 |
|
extern struct ODsamp { |
40 |
|
union ODfunion { |
41 |
|
float prox; /* viewpoint proximity */ |
138 |
|
is non-zero, then clear the previous sample history. |
139 |
|
|
140 |
|
**********************************************************************/ |
141 |
+ |
|
142 |
+ |
/* rhd_geom.c */ |
143 |
+ |
void gmNewGeom( char *file); |
144 |
+ |
extern void gmEndGeom(void); |
145 |
+ |
extern int gmDrawGeom(void); |
146 |
+ |
extern void gmDrawPortals(int r, int g, int b, int a); |
147 |
+ |
extern void gmDepthLimit( double dl[2], FVECT vorg, FVECT vdir); |
148 |
+ |
extern void gmNewPortal(char *pflist); |
149 |
+ |
extern int gmEndPortal(void); |
150 |
+ |
/* rhd_odraw.c */ |
151 |
+ |
extern int odInit(int n); |
152 |
+ |
extern void odSample(COLR c, FVECT d, FVECT p); |
153 |
+ |
extern void odRemap(int newhist); |
154 |
+ |
extern void odRedrawAll(void); |
155 |
+ |
extern void odRedraw(int vn, int hmin, int vmin, int hmax, int vmax); |
156 |
+ |
extern void odDepthMap(int vn, GLfloat *dm); |
157 |
+ |
extern void odUpdate(int vn); |
158 |
+ |
|
159 |
|
|
160 |
|
#ifdef __cplusplus |
161 |
|
} |