delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/23/09:15:25

From: killferfun AT aol DOT com (KillFerFun)
Newsgroups: comp.os.msdos.djgpp
Subject: Palette question...
Date: 21 Nov 1997 18:34:16 GMT
Lines: 13
Message-ID: <19971121183400.NAA26585@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Organization: AOL http://www.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Okay, heres what Im trying. I display a bitmap in the background that covers
the screen. Then I blit several smaller bitmaps on top of it. The problem is,
the seperate images use different palettes. So when I do this, my background
image is drawn in the wrong palette. (Greyish instead of green). Is there a way
to use seperate palettes in a program, or a way to make the images have the
same palette? It seems rather redundant to change palettes every time I display
each different image, since I have to use dozens of seperate bitmaps in my
program.
Comments, suggestions?
The very first essential for success is a perpetually constant
and regular employment of violence.

KillFerFun AT aol DOT com  ==>  http://members.aol.com/killferfun/perdition.htm

- Raw text -


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