Re: [AD] standard path updates

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, Jan 5, 2011 at 5:24 PM, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
> OK here is the patch (against rc4) It's mostly just the 2 combined
> except a little tweak to the docs, using resourcePath instead of
> bundlePath + /Contents/Resources, and using
> NSSearchPathForDirectoriesInDomains with NSDocumentDirectory instead
> of NSHomeDirectory + Documents.
>
I've committed this along with the xdg user dir stuff for localized
documents folder. Tested on Ubuntu and OS X 10.4.

iPhone should be retested as I made a few changes to it as previously noted.

Windows is untested, but should be correct unless there's a typo in the code.

The Linux path has something commented out for USER_DATA. It looks
like it predates the al_set_app_name() function.

I assume USER_DATA should point to something else; right now it's an
alias of USER_SETTINGS. TF, could you confirm what SETTINGS/DATA are
supposed to be for UNIX?

--
Matthew Leverton




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/