From: David Jenkins Newsgroups: comp.os.msdos.djgpp Subject: Re: ALLEGRO: datafiles and palette manipulations Date: Wed, 8 Oct 1997 06:00:31 +0100 Organization: None Distribution: world Message-ID: References: <343AD9BE DOT 7A0B AT cam DOT org> NNTP-Posting-Host: jenkinsdavid.demon.co.uk MIME-Version: 1.0 Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <343AD9BE DOT 7A0B AT cam DOT org>, Vic writes >hi. I'm doin this stupid pacman clone and ,if you know the game, at the >point where the dude gets invulnerable, the ghosts will change colors, >right? How do I do this in allegro? cause the palette is in a datafile, >and I say something like set_palette(dat[PALETA].dat). What I want is >something simmilar to pal[103].r=100 or something like that. Anyone? >TIA, Can't you just copy the palette to a game_pal[] for use in the game?? -- http://www.jenkinsdavid.demon.co.uk for C programmers. David Jenkins