82 |
|
static void xnewcolr(int ndx, int r, int g, int b); |
83 |
|
static int getpixels(void); |
84 |
|
static void freepixels(void); |
85 |
< |
static unsigned long true_pixel(register BYTE rgb[3]); |
85 |
> |
static unsigned long true_pixel(register uby8 rgb[3]); |
86 |
|
static void getevent(void); |
87 |
|
static int ilclip(int dp[2][2], FVECT wp[2]); |
88 |
|
static void draw3dline(FVECT wp[2]); |
345 |
|
|
346 |
|
extern void |
347 |
|
dev_paintr( /* fill a rectangle */ |
348 |
< |
BYTE rgb[3], |
348 |
> |
uby8 rgb[3], |
349 |
|
int xmin, |
350 |
|
int ymin, |
351 |
|
int xmax, |
464 |
|
|
465 |
|
static unsigned long |
466 |
|
true_pixel( /* return true pixel value for color */ |
467 |
< |
register BYTE rgb[3] |
467 |
> |
register uby8 rgb[3] |
468 |
|
) |
469 |
|
{ |
470 |
|
register unsigned long rval; |
570 |
|
static void |
571 |
|
draw_grids(void) /* draw holodeck section grids */ |
572 |
|
{ |
573 |
< |
static BYTE gridrgb[3] = {0x0, 0xff, 0xff}; |
573 |
> |
static uby8 gridrgb[3] = {0x0, 0xff, 0xff}; |
574 |
|
unsigned long pixel; |
575 |
|
|
576 |
|
if (ncolors > 0) |