Message-ID: <38834DB9.C92B4DC8@tiscalinet.it> Date: Mon, 17 Jan 2000 18:13:29 +0100 From: Night Walker X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: ALLEGRO: Fast Palette Changing Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com I must switch between palette tables quite fast: i must draw 8bpp RLE_SPRITE on a truecolor screen, and each sprite has different palette. I messed around with Allegro SRC but I found set_pallete() quite confusing. Passing entire arrays (the PALLETE type) by value as function parameters is not slow/unefficent? or are they automatically passed by reference? There is a way to simply redirect a pointer to a PALLETE table, thus changing palette with only an assignement "="? This will let me use blender maps/funx for transparency? How can I learn to use them (about this topic ALLEGRO.TXT is not very clear for a newbie) Thanx.