www.delorie.com/archives/browse.cgi | search |
From: | Fanie Buys <buysfam AT dockside DOT co DOT za> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Palettes *PLEASE HELP* |
Date: | Sun, 21 Mar 1999 04:05:41 +0200 |
Organization: | The South African Internet Exchange |
Lines: | 68 |
Message-ID: | <36F453F5.E88675AE@dockside.co.za> |
References: | <36DEB232 DOT C8C15B34 AT xyz DOT com> |
NNTP-Posting-Host: | ctb53-01-p72.wc.saix.net |
Mime-Version: | 1.0 |
X-Trace: | news3.saix.net 921982032 27002 196.15.179.72 (21 Mar 1999 02:07:12 GMT) |
X-Complaints-To: | abuse AT saix DOT net |
NNTP-Posting-Date: | 21 Mar 1999 02:07:12 GMT |
X-Mailer: | Mozilla 4.5 [en] (Win95; I) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
--------------D19C63C42FE2C53BD1BCEB97 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Easy. DeHacked already showed you 1 way. Here is the other. If you're using datafiles, you just use grabber to *Grab* the palette from the bitmap in memory. Do this: 1. Click new...Palette 2. Give it a name and crap 3. Now click on File, Read Bitmap 4. Load your bitmap 5. Click on the palette entry (the one you just made) in the list. 6. Click Grab 7. You'll get a silly dialogue telling you the obvious Ta Da! Now you just put a: set_palette(data[1].dat); Or whatever it's ID is...you know. Hope I helped! Scorpion --------------D19C63C42FE2C53BD1BCEB97 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Easy. DeHacked already showed you 1 way. Here is the other. <p>If you're using datafiles, you just use grabber to *Grab* the palette from the bitmap in memory. Do this: <ol> <li> Click new...Palette</li> <li> Give it a name and crap</li> <li> Now click on File, Read Bitmap</li> <li> Load your bitmap</li> <li> Click on the palette entry (the one you just made) in the list.</li> <li> Click Grab</li> <li> You'll get a silly dialogue telling you the obvious</li> </ol> Ta Da! <p>Now you just put a: <br> set_palette(data[1].dat); <p>Or whatever it's ID is...you know. <br>Hope I helped! <p>Scorpion</html> --------------D19C63C42FE2C53BD1BCEB97--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |