[AD] New config function suggestion

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


I have an idea for some new config file functions, and I would like to
know if I wrote them if they would be eligible for inclusion in the
current Allegro tree...

{get,set}_config_key - These do the same as config_int, except that
they store the value as a string like KEY_A in the INI file, and
automatically convert.

{get,set}_config_color - These would read or set a color in the INI
file. The color could be in the form of hex #ffffff, or decimal 255,
255, 255. (Conversion at call of function)

{get,set}_config_card - These would read or set a graphics card name
in the INI file. It would appear in the ini file as (for instance)
GFX_AUTODETECT, and automatically convert.

--
Regards,
Ryan Patterson <mailto:cgamesplay@xxxxxxxxxx>




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