Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Forcing Allegro to write .cfg at runtime...

This thread is locked; no one can reply to it. rss feed Print
Forcing Allegro to write .cfg at runtime...
Dan Marshall
Member #5,442
January 2005

I notice from the manual that Allegro only writes any created .cfg files upon calling Allegro_exit(). Clearly, this is stupid, as it doens't allow me to update my list of Teams (all of which are cfg files) at runtime. As such, deleting files and maintaining a list of files is a major problem.

Anyone know if I can force a .cfg file to be written before exit? Even if it involves the black arts and outlawed magic, I don't care...

Cheers,

d

gnolam
Member #2,030
March 2002
avatar

--
Move to the Democratic People's Republic of Vivendi Universal (formerly known as Sweden) - officially democracy- and privacy-free since 2008-06-18!

Dan Marshall
Member #5,442
January 2005

I love this place...! Thank you... I'll go try it out...!

d

Go to: