From: "Delbeke P." Newsgroups: comp.os.msdos.djgpp Subject: beginner allegro question Date: Wed, 4 Aug 1999 01:41:47 +0200 Organization: Customer of Online Internet Lines: 29 Message-ID: <7o7un5$q8v$1@trex.antw.online.be> NNTP-Posting-Host: p02-04.brus.online.be X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 1 ) Can anyone tell me more on how to display my_nice_povray_rendered_targa_file(tm) in *true color* ? I already have this : ... BITMAP *thing; ... if (set_gfx_mode(GFX_VESA2L, 640, 480, 0, 0) != 0) { printf ("uh-oh"); exit(1); } thing = load_tga("thing.tga",pal); set_palette(pal); draw_sprite(screen, board, 0, 0); readkey(); ... ... but that looks rather 8bbp-ish. And yet another silly question : If I put this tga-fila in a data-file, I do : thing = (RLE_SPRITE *)data[THING_TGA].dat; ... but I don't know how to get the palette right.