- Renamed docking-clearance resource strings to be more consistent.
- Fixed slow-gpus plist; it was causing exceptions in MacOS
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2647 127b21dd-08f5-0310-b4b7-95ae10353056
Alternatives: symlink the Resources dir, with the real dir being somewhere in /usr/share, but this causes upgrade problems (dpkg will not replace a directory with a symlink), or to symlink
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2646 127b21dd-08f5-0310-b4b7-95ae10353056
This leaves many warnings in place - one about dh_desktop deprecation, and many
about files which should be in /usr/share.
Also, the current version is 3.8.3; 3.8.0 is chosen for lenny compatibility.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2645 127b21dd-08f5-0310-b4b7-95ae10353056
- reworked some error messages. Added to entropy / killed a few fairies by allowing 3 separate aliases for each of the double-worded commodities (foo in Manifest['foo']). Some culling is probably advisable.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2644 127b21dd-08f5-0310-b4b7-95ae10353056
- tidied up some warnings, and added a test condition against changing cargo values when Special Cargo is in use.
- corrected a silly mistake in the manifest commodity setter.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2641 127b21dd-08f5-0310-b4b7-95ae10353056
* last change to player.ship.manifest: manifest.food & similar are now read/write manifest quantities. Internally all commodities are now going to be referenced by the canonical identifiers, commodities.plist still overrides the displayName - the .manifest.list array is unchanged, and still read-only.
* renamed 2 ship properties for consistency: ship.availableCargoSpace & ship.cargoCapacity now become ship.cargoSpaceAvailable & ship.cargoSpaceCapacity.
- more code tidying.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2637 127b21dd-08f5-0310-b4b7-95ae10353056
* new: ship.addPassenger(name, start, destination, eta, fee) and ship.awardContract(quantity, commodity, start, destination, eta, fee) functions. Currently only apply to player.ship, these add a passenger / a special delivery contract to the player.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2633 127b21dd-08f5-0310-b4b7-95ae10353056
* new: ship.passengers array: {name, start, destination,eta, premium, fee, startName, destinationName, etaDescription}
* new: ship.contracts array: {commodity, quantity, description, start, destination,eta, premium, fee, startName, destinationName, etaDescription}
* change: player.ship.manifest is now an object instead of an array - new properties: manifest.food , manifest['alien items'] etc.. plus manifest.list (array, equivalent of the 'old' .manifest) the commodity objects themselves changed to be consistent with the new .contracts array (name -> commodity, displayName -> commodityName) example of new usage from console: if (PS.manifest.food) PS.manifest.food.quantity
- yet more code cleanup
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2617 127b21dd-08f5-0310-b4b7-95ae10353056
* Change: load failure prefix string altered to avoid the silly sounding 'Saved game failed to load. Could not load file.' That now reads 'Failed to restore saved game. Could not load file.': half as mysterious! :)
* Game Over fixes:
- after game over, Oolite now restores the last saved game.
- there should be no more 'xyz broken equipment' messages after dying now.
I'm fairly sure I haven't broken anything there, but will port to maintenance after some more testing.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2616 127b21dd-08f5-0310-b4b7-95ae10353056
- renamed to ship.equipment, now works for NPCs too, and excludes missiles & primary weapons
- ship.missiles array: lists all the missiles (including external storage) equipped - NB: like hasOneEquipmentItem includeMissiles, it's somewhat inaccurate for NPCs
- Primary weapons types now accessed using the new ship.forwardWeapon, ship.aftWeapon, ship.portWeapon, ship.starboardWeapon properties - for NPCs too.
* All weapon type-to-string functions now work properly for twin plasma cannons too.
- more minor code cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2614 127b21dd-08f5-0310-b4b7-95ae10353056
- no more autosave immediately after a restart.
- removed duplicate screen message during autosave.
- autosaved commander name is now 'CommanderName (autosave)' instead of 'autosave' as before.
* Trunk:
- changed the name of the autosave description key inside plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2609 127b21dd-08f5-0310-b4b7-95ae10353056
* new: player.ship.equipmentList[] readonly - each item listed has 4 properties{type,facing,isOk} facing uses WEAPON_FACING_NONE to WEAPON_FACING_STARBOARD, stored as int. Still needs a js helper function.
* new: Oolite.gameSettings{} readonly - the properties that can be queried atm: autosave, wireframeGraphics, procedurallyTexturedPlanets, musicMode, speechOn, reducedDetailGraphics, shaderEffectsLevel.
* change: planet.texture (read/write property) replaces the now deprecated setTexture() method.
- minor comments cleanup
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2608 127b21dd-08f5-0310-b4b7-95ae10353056