bgindex
int flags, bgindex, ratio, transparent, eflags;
g->bgindex = get8(s);
uint8 *c = g->pal[g->bgindex];
static int bgindex(char *);
if ((code = bgindex(cp)) < 0) {