[Tuxpaint-devel] [fwd] Re: [SDL] File paths and portability
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2005-04-11 21:50:01
|
Dave's "fnkdat" library supports Windows, Linux and FreeBSD, but not /specifically/ Mac OS X, Solaris or BeOS. Perhaps we can help improve his library, and at the same time utilize it in Tux Paint? -bill! ----- Forwarded message from David MacCormack ----- On Mon, 11 Apr 2005, Marian Schedenig wrote: > > What I'm wondering now is: What is the usual way to access these files from > the program? Use a global define for the data directory and set it > differently for each platform, like "./" for Windows and > "/usr/share/games/mygame/" for Linux? > Marian, When faced with the same problem, I wrote this: http://www.maccormack.net/~djm/fnkdat/ It may work for you as well. Dave ----- End forwarded message ----- |