1 |
< |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
2 |
< |
|
3 |
< |
/* SCCSid "$SunId$ SGI" */ |
4 |
< |
|
1 |
> |
/* RCSid: $Id$ */ |
2 |
|
/* |
3 |
|
* Header file for holodeck device driver routines. |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_RHDRIVER_H_ |
6 |
+ |
#define _RAD_RHDRIVER_H_ |
7 |
|
|
8 |
|
#include "view.h" |
9 |
|
|
10 |
+ |
#ifdef __cplusplus |
11 |
+ |
extern "C" { |
12 |
+ |
#endif |
13 |
+ |
|
14 |
|
extern struct driver { |
15 |
|
char *name; /* holodeck name or title */ |
16 |
|
VIEW v; /* base view parameters */ |
166 |
|
************************************************************************/ |
167 |
|
|
168 |
|
|
169 |
+ |
/* |
170 |
|
extern VIEW *dev_auxview(); |
171 |
+ |
*/ |
172 |
+ |
extern int16 *beam_view(VIEW *vn, int hr, int vr); |
173 |
|
|
174 |
< |
extern int *beam_view(); |
174 |
> |
|
175 |
> |
extern void dev_open(char *id); |
176 |
> |
extern void dev_close(void); |
177 |
> |
extern void dev_clear(void); |
178 |
> |
extern int dev_view(register VIEW *nv); |
179 |
> |
//extern void dev_section(char *ofn); /* XXX */ |
180 |
> |
extern void dev_auxcom(char *cmd, char *args); |
181 |
> |
extern VIEW *dev_auxview(int n, int hvres[2]); |
182 |
> |
extern int dev_input(void); |
183 |
> |
extern void dev_value(COLR c, FVECT d, FVECT p); |
184 |
> |
extern int dev_flush(void); |
185 |
> |
extern void dev_paintr(BYTE rgb[3], int xmin, int ymin, int xmax, int ymax); |
186 |
> |
extern void dev_cone(BYTE rgb[3], FVECT ip, double rad); |
187 |
> |
|
188 |
> |
#ifdef __cplusplus |
189 |
> |
} |
190 |
> |
#endif |
191 |
> |
#endif /* _RAD_RHDRIVER_H_ */ |
192 |
> |
|