- in unrestricted mode, the question is asked only if at least one save file can be found.
- in restricted mode, the question is asked at all times, like in Elite.
* Change to restart look & feel:
- a spinning cobra is now shown after all restarts, like in Elite.
- 'restricted/strict mode enabled' is now shown only when switching between strict/unrestricted mode.
* Logging of searchPaths.dumpAll now happens at startup, and if search paths change due to switching between strict/unrestricted mode.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3320 127b21dd-08f5-0310-b4b7-95ae10353056
OOShipRegistry parses shipdata.plist, shipyard.plist, demoships.plist and new shipdata-overrides.plist and shipyard-overrides.plist, resolves like_ship inheritance, does some sanity checking, filters out various sorts of invalid shipdata and shipyard entries and manages role->ship key mapping with probability weighting.
The latter is managed by OOProbabilitySet, which should probably be used by OORoleSet and OOProbabilisticTextureManager too. OOProbabilitySet is O(log n) for random selection instead of O(n) like the current linear-search code.
The next step is to start using OOShipRegistry everywhere.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1607 127b21dd-08f5-0310-b4b7-95ae10353056