5 unsigned long colormap;
7 unsigned long red_mult;
8 unsigned long green_max;
9 unsigned long green_mult;
10 unsigned long blue_max;
11 unsigned long blue_mult;
12 unsigned long base_pixel;
13 unsigned long visualid;
19 foobar (stdcmap, count)
24 frotz *data = ((void *) 0);
29 unsigned long def_visual = 0L;
33 if ( foobar1 (&data) != 0)
43 ncmaps = (nitems / 10);
49 for (i = ncmaps, map = cmaps, prop = data; i > 0; i--, map++, prop++)
51 map->colormap = prop->colormap;
52 map->red_max = prop->red_max;
53 map->red_mult = prop->red_mult;
54 map->green_max = prop->green_max;
55 map->green_mult = prop->green_mult;
56 map->blue_max = prop->blue_max;
57 map->blue_mult = prop->blue_mult;
58 map->base_pixel = prop->base_pixel;
59 map->visualid = (def_visual ? def_visual : prop->visualid);
60 map->killid = (old_style ? 0L : prop->killid);