Re: [AD] [WIN] mt timer disable option

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


On Thu, May 03, 2001 at 11:12:23PM +0200, Eric Botcazou wrote:
> > I've no objection to changing Allegro so that all config checks
> > from the library itself specify section names though, other than
> > the breaking of backward compatibility with old config files.
> > I'm not sure how much of an issue that would be.
> 
> Especially compared with the following IMHO big drawback: you just got your
> custom config file from the setup program and you're adding a pretty nice
> new section to store specific datas; as you find them very important,
> you put the section at the beginning of the config file.
> 
> Guess what happens next ? You spend roughly an hour trying to figure out why
> Allegro doesn't understand your graphics settings any longer ! I tested.

Ouch. :)

If we wanted to have an end-of-section marker, we could just use
[] and make NULL section name be equivalent to the empty string.
It's a bit hacky though, and kind of pointless if we change
Allegro and recommend that people (in their own code) either use
sections for everything, or for nothing at all.

George

-- 
Random project update:
22/06/2000: AllegroGL documentation:  http://allegrogl.sourceforge.net/
        See under `Documentation' for the AllegroGL Reference Manual in
        various formats.



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