Mail Archives: djgpp/1996/08/29/12:05:34
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 -