From: Philip M. G. <pg...@bt...> - 1998-06-30 15:49:45
|
Your in luck advance straight to GO collect =A3200 and see example 39 by = Grzegorz Hankiewicz=20 It shows how to do that will colour tables create_color_table(COLOR_MAP *table, PALETTE pal, RGB (*blend)(PALETTE = pal, int x, int y), void (*callback)(int pos)); Philip M. Galea http://www.cee.hw.ac.uk/~ceepmg/ -----Original Message----- From: Carmelo Maiolino [SMTP:cma...@ct...] Sent: 30 June 1998 13:14 To: al...@ma... Subject: [AL] " PALETTE PROBLEMS" Hi,i'm carmelo,I'm realizing a great game using Allegro,but i have some problem.Someone knows: 1)formula to translate a RGB triplette in a gray triplette?? 2)Where can i find some C source about palette manipulation?? thanx!!!! |