From: "A Bester" Newsgroups: comp.os.msdos.djgpp Subject: Allegro True Color Date: 23 Feb 1998 23:00:45 GMT Lines: 18 Message-ID: <01bd40ae$8a128a80$871e89ce@rosenbrock.parlorcity.com> NNTP-Posting-Host: ppp35.parlorcity.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I seem to be missing something about True Color graphics modes... I've set_color_depth(15) and set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0). How many palette registers should I have? Specifically, I'm trying to set up a screen that I can treat as 256x256 with 512 palettes. Have I gone wrong here? After that, how can I go about generating the palette? Do I continue to use set_color()? I need to be able to copy values from a table and copy them into the palette. And how many bits per r, g, or b do I have? Is the answer to create my own registers in an array, and then use line[x][y]=makecol15(palette[reg]->r, palette[reg]->g, palette[reg]->b) as the parameter? I've RTFM, but I still don't get it. Thanks for any help!