www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/11/20:05:34

Message-ID: <36E7E2C5.C62C0EB7@xyz.net>
From: =?iso-8859-1?Q?Bj=F8rn?= Hansen <viking AT xyz DOT net>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro Palette problem
References: <7c9btb$aa7$1 AT camel25 DOT mindspring DOT com>
Lines: 19
NNTP-Posting-Host: 207.14.89.74
X-Trace: news7.ispnews.com 921198955 207.14.89.74 (Thu, 11 Mar 1999 19:35:55 EDT)
NNTP-Posting-Date: Thu, 11 Mar 1999 19:35:55 EDT
Date: Thu, 11 Mar 1999 15:35:33 +0000
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

and this:

BITMAP *picture;
PALLETE winpallet;

picture=load_bmp("windows.bmp",winpallet);
set_pallete(winpallet);
blit(picture,screen);        //<----missing some arguments but you get the idea


doesn't work?

Lark wrote:

> I am using allegro to import windows bmp files, and the palette is way off.
> Is there anyway to change that or is it just the fact that I am running from
> a dos box and not real dos that is screwing me up?  I have windows 98 and
> run dos from there.  Thanks for any help.

- Raw text -


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