Subject:    256 Colour Transparency CODE
      Date:    19 Jun 1998 10:17:34 GMT
      From:    "Elim Garak" <>
 Organization: BT Internet
 Newsgroups:   comp.lang.pascal.borland

Contained in the attachments are the files:
        largetrn.pas    largetrn_pas.txt
        ltrngen.pas     ltrngen_pas.txt
        writepal.pas    writepal_pas.txt

renaming to .txt necessary for geocities rules, Franz Glaser  - mail attachments hosted on TP-links URL now.

LargeTrn is the library file and is pretty self explanatory with only two

LTrnGen will create the transparency file from a given palette, and here is the catch
the palette file must be 768 bytes long using   r,g,b,r,g,b
ASSUMING you have the palette data held in an array of bytes the code needed is in Writepal.pas

Said the spider, "My pretty little tasty thing, you think you will go to
hell?  Whatever makes you think your alive?"

This page hosted by  Get your own Free Homepage