delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/04/13:35:52

From: "Damian Yerrick" <snews AT pineight DOT 8m DOT comMUNIST-PIGS-AOL>
Newsgroups: comp.os.msdos.djgpp
References: <84t2jp$hj9$1 AT planja DOT arnes DOT si>
Subject: Re: allegro...
Lines: 17
Organization: Pin Eight Software <http://pineight.8m.com/>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <Cypc4.311$WM5.9167@dfiatx1-snr1.gtei.net>
X-Trace: /w3Za8eGS6sAPkqBc97JeVh/7IZU4WpCLmxoAi6EcJo0KnIV64q8k9Kf1wpSg1QO4P+w+KaQ6rKg!OHBmGsTmD3raQBIl0AH7lPkhGbfPXNyRTYrK6jn6AQm2w2yStnQKjckwMH8NXulUZJELHFI=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Tue, 04 Jan 2000 16:51:46 GMT
Distribution: world
Date: Tue, 04 Jan 2000 16:51:46 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Matej" <matej DOT baric AT guest DOT arnes DOT si> wrote in message
news:84t2jp$hj9$1 AT planja DOT arnes DOT si...
> Hi all,
> how to display 2 or more different bitmaps (pcx) on the screen? There is
no
> problem when I have only 1 pic and call the set_pallete(pal). But if I
> experiment something more with 2 pics and call the set_pallete(newpal) (or
> just set_pallete(pal)) before or after blitting them to screen all those
> colors mix up...

All images on one screen have to use the same palette unless
you really want to use *nasty* hacks. Try converting the images
to the same palette using fixpal and smacker, available from
the Allegro home page. Or just switch to high- or true-color mode.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019