Re: [AD] to prefix or not to prefix (sigh)

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


In reply to Sven Sandberg <svsa1977@xxxxxxxxxx>:
>Btw, we could at the same time as we implement prefixes, add the suffix
>`_old' to those symbols that we plan to replace later. E.g.,
>`al_set_palette_old()' uses 6-bit palettes, and `al_set_palette()' would
>not exist until we implement 8-bit palettes. This would make it easier
>to port programs from Allegro 3.* to 5.*, and keep compatibility between
>5.0 and 5.*.

On this specific point, when this change occurred, I was going to use
*_palette() for 8-bit palettes and *_palette6() for 6-bit palettes. I
found this to be less confusing.

Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



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