Re: [AD] Allegro 4.3 Settings/Conf API |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] Allegro 4.3 Settings/Conf API
- From: Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>
- Date: Thu, 17 Nov 2005 06:21:07 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=pvzCMJ46iakksKJqQPkKjn2ki3b81tJ2T52c8Oj24VBmQtycUngIWwJ+VDGVpZ4W+buOh37PTf01s3fwHPhnTz3KvAPEWeDLnhw4fUumvflpibL6CRjovE+ntOAmrmZ/1ClP+sznqi5JojhlV91jEgMKDl512vmnGDKJzBZG/Fk=
On November 17, 2005 06:08 am, Vincent Penecherc'h wrote:
> > Sorry, I suppose I was caught up in the (imo beautiful) idea
> > of Allegro as the
> > platform. Somewhat similar to Qt infact.
>
> And if you're using several such libs, each with its own idea
> about how to do things, then each lib should stick to what its
> purpose is, or you'll get a headache sorting things out between
> them. And most such things ought to be off by default if it
> makes sense for them to be.
> Still, it's a game (okay, graphics/input/sound) library, not
> an operating system. Let it deal with what it needs, not the
> rest (redoing the wheel, etc).
>
> That said, I still think it's a good idea to have this platform
> canonical path type thing, just kept simple, because lots of
> games will need to save files, or load settings.
>
Agreed.
Though its going to need a api similar to Perl's File::Spec
(http://search.cpan.org/~kwilliams/File-Spec-0.90/lib/File/Spec.pm) and
File::Basename
(http://search.cpan.org/~nwclark/perl-5.8.7/lib/File/Basename.pm) modules.
Full parsing and creation of platform specific paths, all possibly done
behind the back of the programmer.
At some point I'll start a wiki page on my ideas for file handling in allegro,
without directly including my full VFS design, since I know I'm going to want
to use it away from allegro ;)
--
Thomas Fjellstrom