delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/05/23:25:05

From: "Damian Yerrick" <snews AT pineight DOT 8m DOT comMUNIST-PIGS-AOL>
Newsgroups: comp.os.msdos.djgpp
References: <84tjb5$pms$1 AT planja DOT arnes DOT si>
Subject: Re: allegro hi and trucolor slow???
Lines: 21
Organization: Pin Eight Software <http://pineight.8m.com/>
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <kwUc4.859$q5.33218@dfiatx1-snr1.gtei.net>
X-Trace: /KiKeWg4mhXbLcr26Iwjw/ALqp/UnogSvxcDBTdwMW2eG8lkoVR24vd8IFxq9r1C4d+XuP9qx7/l!dfJJrQILyzZed0lZg5bB/EHuWyXAHdJj1ZEGh5dHCmlQJ1rUoCPQkR0hJR32Ym6Hqm+fDP4=
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: Thu, 06 Jan 2000 04:05:36 GMT
Distribution: world
Date: Thu, 06 Jan 2000 04:05:36 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:

> Well, the first thing is, if someone can point me to a good allegro
tutorial
> (or maybe there is a book???)...

The best tutorial: Examples. Find one that does what you
want to do, then play with it.

> I'm now in 24 bit graphics mode. Why do I have to specify a palette when
> loading a .pcx file if palettes aren't used in hi or trucolor modes?

Because C does not support overloading, and Allegro has
a "known issue" that makes it crash when passed NULL in
the pal argument. Until its fixed, make a dummy PALETTE.

--
Damian Yerrick    http://yerricde.tripod.com/
View full .sig:  http://www.rose-hulman.edu/~yerricde/sig.html


- Raw text -


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