Mail Archives: djgpp/1997/10/13/12:16:42
From: | Brian Hogg (Pres201) <bhogg AT worldchat DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: ALLEGRO: datafiles and palette manipulations
|
Date: | 11 Oct 1997 01:31:14 GMT
|
Organization: | WorldCHAT(tm) Internet Services
|
Lines: | 19
|
Message-ID: | <61mkt2$n29$1@news1.worldchat.com>
|
NNTP-Posting-Host: | rlan4-p11.wchat.on.ca
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
try using set_color(int index, RGB *p); to set the specified palette
entry to whatever you'd like to make it. The RGB struct is :
typedef struct RGB
{
unsigned char r, g, b;
} RGB;
so use this function to make the blinking ghost people. By the way,
when your done that game, could you send it over? Sounds pretty cool :)
On another note, I'd like to say hi to everyone here... my first posting
here and I thought I'd intro myself... will be here often now!
Thanks,
Brian
---
Keep your friends close.. and your enemies closer
- Raw text -