[physfs] some questions

Indy Sams indy at driftsolutions.com
Tue Jan 8 15:59:38 EST 2008

Hello Alain,

      I don't know about #1, but for #2 just use (const char
      *)yourLanguageVar (if your language doesn't do it for you in the
      first place, typically char * can automatically be upgrade to
      const char * without any casting in C++)

Tuesday, January 8, 2008, 3:03:32 PM, you wrote:

AB> Hello

AB> I m member of Lincity-NG team, and we use physfs 1.0

AB> 1/ We had problem on windows xp, with PHYSFS_getLastModTime
AB> it seemed to return something else than the expected date.
AB> I don't have windows myself, so i cannot tell more, but i can ask
AB> for details if needed.

AB> 2/ PHYSFS_enumerateFiles() requires a const char argument, but
AB> we would like to test only the directory corresponding to the
AB> language used, which is known at runtime, not at compile time.
AB> I wonder how i could solve this without enumerating all languages
AB> (and they are still growing...:)

AB> Thanks for your great job, and happy new year.
AB> Alain

AB> ---
AB> To unsubscribe, send a blank email to physfs-unsubscribe at icculus.org
AB> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?4

Best regards,
 Indy Sams
 mailto:indy at driftsolutions.com

 P.S. This is what part of the alphabet would look like if Q & R were eliminated.

More information about the physfs mailing list