www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/29/12:05:34

Date: Thu, 29 Aug 1996 17:52:11 +0200 (MET DST)
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
To: Mike Marcelais <michmarc AT microsoft DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: djgpp/allegro - help! - quick question
In-Reply-To: <01bb9530$89683f60$ba27379d@michmarc2>
Message-ID: <Pine.NEB.3.95.960829174907.15952B-100000@ananke.amu.edu.pl>
MIME-Version: 1.0

On 28 Aug 1996, Mike Marcelais wrote:

>| > After I use the above routine in my code, I get a GPF in the marked
>| > area. It won't GPF the first time it hits the marked code area, but
>| > it will interate the inner loop about 40 (actual number depends on
>| > phase of the moons) times, then GPFs. Am I dereferencing the
>| > array/struct wrong? Please help, this thing is killing me :)
>| Perhaps since you've only allocated one palette structure and
>| you're trying to access more than one?
>
>No...but close.  :-)
>
>| 
>| Look at the allegro.h file. You'll find the line:
Oops! Should've done that before I posted my message ;-)))) Sorry for the
confusion I caused ;-)))) (I'm blushing right now ;-)))

>| >typedef RGB PALLETE[PAL_SIZE];
Yeah....

Mark

/************************************************************/
/** Maybe it was infatuation or the thrill of a chase?   **/          
/** Maybe you were always beyond my reach and my heart **/
/**   was playing safe?                     ***********/ 
/** But was that love in your eyes I saw, **/
/**   or the reflection of mine?        **/
/** I'll never really know for sure,  **/
/** You never really gave me time!  **/
/** Won't you give me that time?  **/ 
/**          "Cindirella Search" **/
/********************************/
Visit my homepage: http://ananke.amu.edu.pl/~grendel

- Raw text -


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