delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/28/07:08:35

From: Moo-Juice <Ben AT flag DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: About Allegro's palettes
Date: Tue, 28 Jan 1997 08:13:06 +0000
Organization: Honest Ron's Car Emporium
Distribution: world
Message-ID: <Ine+zxASUb7yEwbm@flag.demon.co.uk>
References: <Pine DOT LNX DOT 3 DOT 93 DOT 970121093413 DOT 6000N-100000 AT cinf DOT usm DOT md>
<32E57157 DOT 6E38 AT worldnet DOT att DOT net> <OH0$bDA9eL6yEwQQ AT flag DOT demon DOT co DOT uk>
<+z987EApj96yEwVb AT talula DOT demon DOT co DOT uk>
NNTP-Posting-Host: flag.demon.co.uk
MIME-Version: 1.0
Lines: 19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <+z987EApj96yEwVb AT talula DOT demon DOT co DOT uk>, Shawn Hargreaves
<Shawn AT talula DOT demon DOT co DOT uk> writes
>Moo-Juice writes:
>>In allegro, the typedef for a Palette, is PALLETE.  Is this an
>>Anglo/American difference, or simply spelt wrong? <g>
>
>It's a spelling mistake :-) But it's not my fault! I learned C with an
>Atari compiler that spelt it like that in all the headers and libs, and
>I've just got used to the incorrect spelling... I'm gradually trying to
>mend my ways: the documentation for Allegro now uses the correct
>spelling, and there are some #defines so that your program will work the
>same whichever spelling you use...

Well in actual fact. by keeping it as PALLETE means you could define a
palette called PALETTE (I hate trying to think up names for my
palettes.. I've so far come up with PAL or PALETTE)...  :)

-- 
Moo-Juice

- Raw text -


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