Is SDL_GetPrefPath the best place to store settings?

About Monkey 2 Forums Monkey 2 Programming Help Is SDL_GetPrefPath the best place to store settings?

This topic contains 2 replies, has 2 voices, and was last updated by  Diffrenzy 1 year, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11402

    Diffrenzy
    Keymaster

    I’ve noticed that http://monkeycoder.co.nz/forums/topic/a-simple-applet-framework/ uses SDL_GetPrefPath to find a place for settings.

    It looks nifty, so I’m wondering: Is that not a good cross-platfom choice?

    How about uninstalling, specifically what happens on iOS and Android

    #11420

    Mark Sibly
    Keymaster

    It looks nifty, so I’m wondering: Is that not a good cross-platfom choice?

    It looks OK, though I’d prefer something that didn’t need ‘org’ and ‘app’ params, so it could be used like ‘intern::blah’ etc.

    Mobile app always ‘know’ their own name, so this is only really a problem on desktop. Perhaps some global vars could be added here for desktop apps to set before they Run()? Other ideas?

    #11422

    Diffrenzy
    Keymaster

    I think I’m looking for Monkey 1’s SaveSettings().

    That was great because I did not have to think about paths and stuff.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.