3688 Commits

Author SHA1 Message Date
Jens Ayton
7522442451 JS re-audit: OOJSEquipmentInfo. EquipmentInfo.allEquipment works again.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4315 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 19:57:44 +00:00
Jens Ayton
a8fb3c8937 JS re-audit: OOJSStation.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4314 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 19:50:51 +00:00
Jens Ayton
0371e45e0d JS re-audit: OOJSSound and OOJSSoundSource.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4313 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 19:49:17 +00:00
Jens Ayton
b61b0ea8b0 JS re-re-audit.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4312 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 19:46:06 +00:00
Jens Ayton
6dfb861c3e JS audit: OOJSShipGroup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4311 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 19:45:55 +00:00
Jens Ayton
43085dc2a9 JS re-audit: OOJSShip.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4310 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 19:38:31 +00:00
Jens Ayton
c859266f0a Removed relativePosition cache value - it was probably a pessimization, and I'm pretty certain it was the cause of the lollipop glitch.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4309 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 19:12:01 +00:00
Jens Ayton
cdc44bf283 Fix for OOShipGroup mutation-while-enumerating exceptions.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4308 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 18:59:35 +00:00
Jens Ayton
f3a5acbb68 JS re-audit: started over, because I'd forgotten to check the most important thing: we can no longer assume required arguments will be JSVAL_VOID if argc < required count (so required count is basically useless). Also rewrote addPassenger()/awardCargo() to be clearer and properly duck-typey.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4307 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 18:41:18 +00:00
Jens Ayton
1033917d96 JS audit: OOJSClock. clock.addSeconds() now rejects NaNs, and doesn't warn when rejecting (because returning an error flag _and_ logging a warning is an unhelpful combination).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4306 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 17:48:58 +00:00
Jens Ayton
9a3f1c1103 JS audit: OOJSSound and OOJSSoundSource.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4305 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 17:38:59 +00:00
Jens Ayton
7556bc7437 JS audit: OOJSStation.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4304 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 17:30:13 +00:00
Jens Ayton
c39d9f285f JS audit: OOJSPlayer.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4303 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 17:24:11 +00:00
Jens Ayton
d690aeeb4f OOJSFunction objects now relinquish their JS values when JS environment resets.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4302 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 17:04:11 +00:00
Jens Ayton
3c8bc3c3ef OOJSValue objects now relinquish their JS values when JS environment resets.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4301 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 16:42:46 +00:00
Jens Ayton
8101d17c8c JavaScript environment is now reset when auto-reloading player.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4300 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 13:29:46 +00:00
Jens Ayton
989caae195 Fixed SpiderMonkey assertion failure when an unhandled exception is thrown in an event handler triggered by a console command.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4299 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 13:16:09 +00:00
Jens Ayton
e20c9cc512 Removed support for old-style exceptions.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4298 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 11:46:01 +00:00
Marc
46a568ea60 *#@$%$!!
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4297 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 08:53:24 +00:00
Marc
295d08ff40 *#&%!
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4296 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 08:21:06 +00:00
Marc
9ef10a01b3 * Various readme updates, now they agree with each other, and the reference sheet
* 2 more corrections for RS: expanded a bit on Find Planet:, and updated a comment on fast autodocking.
* Moved PlayerShip.scriptedMisjump to Ship.scriptedMisjump
- Updated wormhole behaviour accordingly: if any ship misjumps, any other ship inside the same wormhole should now misjump too.
* removed GNUStep compile warning.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4295 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 08:18:23 +00:00
Nikos Barkas
722ae918fd Fixed missing terminating ' character warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4294 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 07:45:26 +00:00
Jens Ayton
33a73b9452 JS audit: OOJSPlayerShip.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4293 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 01:39:45 +00:00
Jens Ayton
27bac3ca61 JS audit: OOJSShip. Moved addPassenger() and awardContract() to PlayerShip where they belong. Also made them not print warnings when conditions aren't fulfilled, because returning an error flag _and_ logging a warning is an unhelpful combination.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4292 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 01:13:21 +00:00
Jens Ayton
a3dc9e7b56 As discussed in Progress thread, beacon icon definitions are now looked up by beaconCode instead of primaryRole.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4291 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-11 00:04:47 +00:00
Jens Ayton
bf01e33e27 JS audit: OOJSPlanet and OOJSSun.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4290 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-10 23:55:11 +00:00
Jens Ayton
435c218d6e JS audit: OOJSEntity. Also cleaned up some redundant [entity isPlanet] && ![entity isSun] checks - -[OOSunEntity isPlanet] is false.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4289 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-10 23:47:42 +00:00
Jens Ayton
b823207c59 Simplified JS manifest implementation.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4288 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-10 23:20:09 +00:00
Nikos Barkas
08304246b5 Fixed link for the Win32 development environment inside the external libraries source code document.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4287 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-10 22:27:44 +00:00
Jens Ayton
1cf9e115fb [credits_number] no longer localized for legacy scripts, as it might be used for arithmetic.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4286 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-10 21:10:34 +00:00
Nikos Barkas
cd2e1f1428 Added information about building the GNUstep libobjc with native Obj-C exceptions on Windows to the external libraries source file.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4285 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-10 20:30:28 +00:00
Nikos Barkas
b39354ea81 Updated Reference Sheet with the new logo.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4284 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-10 18:53:40 +00:00
Nikos Barkas
8088f47c41 Made the Windows installer header bitmap 8-bit, like it was before. For some unknown reason, McAfee Shield interferes heavily with the uninsaller executable when the 24-bit header image is used.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4283 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-10 10:30:19 +00:00
Nikos Barkas
e4121512c0 Updated Advice For New Commanders.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4281 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-09 22:10:07 +00:00
Jens Ayton
8c4e295fd4 Fix: sky was invisibile. Because -isVisible returned false, since r4240. Durr.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4280 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-09 21:41:05 +00:00
Nikos Barkas
5f83e5ce09 Updated the OoliteReadMe Word and PDF files.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4278 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-09 21:10:59 +00:00
Jens Ayton
0267185b45 Reinstated workaround for one-frame glitch at beginning of breakpattern.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4277 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-09 20:16:16 +00:00
Jens Ayton
5a44c38aaf HUD fuel bar calculations now match actual jump calculations.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4276 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-09 20:14:34 +00:00
Jens Ayton
c33a8fbc73 Updated icon and related files.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4275 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-09 18:57:34 +00:00
getafix
3b4b694614 Minor change in new libjs binaries for Linux (32bit & 64bit).
Fixed PlayerEntity compilation warning.


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4274 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-09 17:09:48 +00:00
Jens Ayton
d1db0f0f64 JS formatInteger() now punts on *very* large values correctly.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4273 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 22:45:30 +00:00
Jens Ayton
267ffc8697 JS formatInteger() now punts to default JS behaviour instead of returning an error string for large values.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4272 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 22:41:28 +00:00
Jens Ayton
a141ef0f6c Miniature planets are no longer exposed to scripts.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4271 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 22:36:07 +00:00
Nikos Barkas
06b4e9b0f6 Executing Station.dockPlayer() while paused would cause the game to stop responding to controls. Now doing so just unpauses the game and completes the docking sequence.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4270 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 22:33:04 +00:00
Jens Ayton
4b42e90359 [Win] Removed unused installer header.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4269 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 20:36:43 +00:00
Jens Ayton
6d309e6782 Fixed handling of JS manifest gem_stones, gemStones, liquor_wines, liquorWines, alien_items and alienItems properties. Made only camelcase versions enumerable.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4268 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 19:56:59 +00:00
Jens Ayton
80d67a67ae Allow triangular break patterns. Ugly, but there's no technical reason not to allow them.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4267 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 19:43:02 +00:00
Jens Ayton
54d5c4b350 Breakpattern entity reform.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4266 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 19:09:22 +00:00
Jens Ayton
22efee72fe Removed some redundant and junk files, commented a thing.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4265 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 18:32:08 +00:00
Eric Walch
91ae72cab1 - cleaned up the already disabled code in fireMissile that sometimes could crash missiles. Added replacement code. Still disabled, but for use when 1.75.0 gives problems with missile launches.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4264 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-08 09:16:06 +00:00