From: Alan Reed <#areed AT ix12 DOT ix DOT netcom DOT com> Newsgroups: comp.os.msdos.djgpp Subject: ALLEGRO: custom color palletes Date: Tue, 03 Jun 1997 12:06:20 -0700 Organization: Netcom Lines: 13 Message-ID: <33946B2C.5CD6@popd.ix.netcom.com> NNTP-Posting-Host: tac-wa1-08.ix.netcom.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I have several custom color palletes and I am having problems getting them to work in multi-file c++ programs. I was wondering, how do I define a color pallete in one file or a group of a c++ and a header file so that the pallete is usable by all source files without having to type the pallete into each file I need to use it in? essentially I am just trying to figure out how to make global palletes and just define them once. that way in any file that includes the pallete definition file you can just use set_pallete(whatever the pallete is); and use any pallete that you have defined in the pallete file. thank you for your time and for your help