30bce0b115
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
30 lines
298 B
Plaintext
30 lines
298 B
Plaintext
(
|
|
"coriolis-station",
|
|
"boa-mk2",
|
|
transporter,
|
|
alloy,
|
|
cobramk1,
|
|
worm,
|
|
viper,
|
|
asteroid,
|
|
barrel,
|
|
python,
|
|
missile,
|
|
tharglet,
|
|
thargoid,
|
|
boa,
|
|
shuttle,
|
|
"dodecahedron-station",
|
|
sidewinder,
|
|
moray,
|
|
mamba,
|
|
krait,
|
|
boulder,
|
|
ferdelance,
|
|
gecko,
|
|
anaconda,
|
|
"escape-capsule",
|
|
adder,
|
|
asp
|
|
)
|