www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/19/04:45:30

From: visage AT yourmom DOT com (Visage)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Coding problems from an extreme C newbie...
Date: Thu, 19 Nov 1998 03:24:26 GMT
Organization: Your Mom.Com
Lines: 19
Message-ID: <36538e5d.328675@news.flash.net>
References: <199811181519 DOT PAA15302 AT remus DOT clara DOT net>
NNTP-Posting-Host: ip78.toledo4.oh.pub-ip.psi.net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 18 Nov 1998 15:18:44 -0000, "Arthur" <arfa AT clara DOT net> wrote:

>set_palette((PALETTE)data[PALETTE].dat);
>
>(I think).

actually, I found that just a "set_palette(data[#].dat" will do just
nicely.  I also found out what I was doing wrong..  I remembered that
on my video card, I can't use GFX_AUTODETECT (unless I like a certain
rainbow colored palette) unless I have UNIVBE loaded.  After loading
UNIVBE (or changing it to GFX_S3 for my Diamond 2000 Pro card), the
palette looked right, multi-color font and all.  I was soooo pissed
when I fixed the problem, I banged my head on the keyboard a few
times. :)  It's still amazing how one little thing like this will just
make your day...sigh.  I think I'll go back to graphics for a while.
:)

- Steve (who wonders if anyone needs artwork for their game(s))

- Raw text -


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