Re: understanding .pal files - XCC Forum | Register | Login | Search History | Home | Messages |
understanding .pal files | suicdman | 16:41 29-09-2005 | ||
Re: understanding .pal files | Olaf van der Spek | 17:13 29-09-2005 |
> ive been looking at olaf's .pal file description and i cant understand them really. it says that its an array[0-255], so does this mean that its an array with 256 slots(i assume it is). and then it is a record of (red,green,blue,byte), so does this mean that each slot in the array is another array of each of these items?. so in c++ how can you read a .pal file, i just want to read it and experiment with it. can someone explain all this for me?
byte pal[768];
int i = 9;
int red = pal[3 * i];
int green = pal[3 * i + 1];
int blue = pal[3 * i + 2];
Olaf van der Spek
Re: understanding .pal files | suicdman | 17:44 29-09-2005 | 6 | |
Re: understanding .pal files | Olaf van der Spek | 20:15 29-09-2005 | ||
Re: understanding .pal files | suicdman | 23:48 29-09-2005 | ||
Re: understanding .pal files | Olaf van der Spek | 05:30 30-09-2005 | ||
Re: understanding .pal files | Morden Tral | 04:55 08-10-2005 | ||
Re: understanding .pal files | meselfs | 18:49 30-09-2005 |
Home | Post | Users | Messages |