Re: [AD] dat2c utility?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Laurence Withers <lwithers@xxxxxxxxxx> wrote:

>Could you please take a look at:
> http://www.lwithers.demon.co.uk/prog/allegro/dat2c.html

the link to the files from that page is broken. obviously the correct links
are:
http://www.lwithers.demon.co.uk/prog/allegro/dat2c.c
http://www.lwithers.demon.co.uk/prog/allegro/dat2c.todo

>and tell me what you think? Also, should this be considered for
>inclusion with the library?

Looks quite cool, I certainly wouldn't mind. And may I suggest adding an
option for storing images and sprites (>8 bpp) as a series of MAKECOL macro
references. You will then obviously have to define the macro and write it to
the generated .c file. If that is done and there's added an option to define
the desired destination color-depth; Then it will expand nicely during
compile. Another thing is to make the utility work without a header file.

-henrik




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/