From: "Damian Yerrick" 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 X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: 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" 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