paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] PG_FileArchive patch


From: Andrew Ford
Subject: [paragui-users] PG_FileArchive patch
Date: Tue, 7 May 2002 20:05:05 -0700 (PDT)

I wonder if I can sneak this into 1.0.2?
This is the patch we were talking about a couple of
weeks ago.  It adds the functions:

vector< string > *PG_FileArchive::GetFileList( const
char *dir );

and,

vector< string > *PG_FileArchive::GetSearchPathList();

which should be more convenient to use than
EnumerateFiles and GetSearchPath, which return that
awful NULL-terminated char**

It isn't a real "patch", just drop the declarations in
the header, and the implementations in the source. 
Also included is a little tidbit you can use to test
it.  I've noted what goes where.

It works on the release candidate (which also seems to
work on my system and for my game on linux, btw)



__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

Attachment: paragui.patch
Description: paragui.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]