[AD] dat2c ready for testing

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've made a version of dat2c that is ready for testing. Please take a 
look at it and see if you can break it (don't try too hard, though :-p 
). It's available from:

  http://www.lwithers.demon.co.uk/dat2c/

as either dat2c.tar.gz or dat2c.tar.bz2 . You'll need to rewrite the 
Makefile if you use anything other than gcc (but this won't be an issue 
if it is merged into Allegro's make system). There's also a handy 
utility in the 'tabchange' subdirectory for converting to/from various 
tab formats, should you not like mine :-)

The README file in the root directory has the usage information and some 
important notes.

To test with demo.c:
1/. Convert datafile with:
  dat2c -d demo.dat -h demo.h -c datafile.c -n data
(replacing the old demo.h)

2/. Change demo.c by removing declaration of 'data' near the top, and 
the load_datafile() / unload_datafile() lines. You probably also need 
to add a fixup_datafile() line somewhere.

3/. Link demo.c, datafile.c and Allegro. It works for me, but I wasn't 
able to test sound/music. Please confirm.

Bye for now,
- -- 
Laurence Withers,  lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9XRaiUdhclgSmRuoRAvEXAJ9Mrg7D3F2F+Z5+IXPUXLcTEIHvRwCdHhj0
F6MYaLpg8Iq4CK+5psOvKfA=
=vWMn
-----END PGP SIGNATURE-----



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