3777 Commits

Author SHA1 Message Date
Marc
5b83750a31 More on fuel prices:
- implemented dynamic version of fuelChargeRate.
 - removed protected fuel_charge_rate variable from shipEntity object.
 - initial implementation of post-MNSR - more accurate - fuel ratio calculations, bracketed by '#if 0's

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4532 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-29 21:27:55 +00:00
Jens Ayton
9e9a8da3b8 Mouse control mode no longer incorrectly starts in mouse-yaw mode (Bug #18052).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4531 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-28 19:01:56 +00:00
Jens Ayton
aee593fa13 Fixed some comments.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4530 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-28 18:47:04 +00:00
Jens Ayton
f4e20b12d5 Generated planet textures are now mip-mapped, and generated emission maps now inherit options (in particular, mip-mapping) from their source textures (in order of precedence: emission_and_illumination_map, emission_map or illumination_map).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4529 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-27 22:02:17 +00:00
Jens Ayton
92749b1a1e Subentity mass is now accounted for correctly.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4528 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-27 19:26:11 +00:00
Jens Ayton
2fdf7f25b6 Handle missing planet textures more gracefully.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4527 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-26 16:28:31 +00:00
Marc
b05f83cc8c Fixes to fuel/mass prices:
- always uses the current cobra3 mass as its base mass.
 - no on-the-fly fuel rate recalculations anymore.
 - removed the (already marked for '#fuel charge testing' only) fuel_charge_rate savegame key.
Clean up: an initial setup method inside Universe now has a more meaningful name.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4526 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-26 10:03:31 +00:00
Jens Ayton
a1b28ecb52 Rolled back r4524.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4525 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-24 23:21:50 +00:00
Marc
69fa821072 Heat shields now compatible with strict mode... fixed one standard mission in strict mode, and made fuel collecting in strict viable again.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4524 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-24 16:16:03 +00:00
Eric Walch
34b4427b41 - Ships disgorging from wormholes now also use witchspaceLeavingEffects
- Pirate Escorts now correctly follow their leaded trough a wormhole
- Added the AI message ACCEPTED_ESCORT to be able to send attack instructions to the escort when self in fight.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4523 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-24 10:07:33 +00:00
Jens Ayton
54780c3ac8 Fixed a punctuation error.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4522 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-22 17:54:41 +00:00
Jens Ayton
730c2ee7ad Like r4520, but a few lines down.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4521 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-21 22:10:22 +00:00
Jens Ayton
5c6ddfd9bd Removed a misleading comment.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4520 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-21 21:54:33 +00:00
Nikos Barkas
9541bba187 Fix for part of bug #18082: The origin system the player has (mis)jumped from is now included in the list of possible destinations for an NPC scripted system exit, when in interstellar space.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4519 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-20 20:30:44 +00:00
Nikos Barkas
30161ff021 Tentative fix for friendly fire events triggering battles between NPCs. Introduced the -isFriendlyTo: method in ShipEntity, currently used exclusively by -setTargetToPrimaryAggressor.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4518 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-20 12:42:29 +00:00
Nikos Barkas
dde231fe0d Fixed bug #18068 (Ships from wormholes aren't added to beacon list).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4517 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-17 16:10:22 +00:00
Nikos Barkas
bfc8d51069 Better fix for long distance targeting bug (Berlios #18011). The previous targeting behaviour is now maintained.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4516 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-15 15:01:12 +00:00
Jens Ayton
797a3a73b6 Libpng version update.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4513 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-12 18:12:48 +00:00
getafix
f6a0d8b3ac POSIX installer - Package name according to build mode.
pkg-posix (release-deployment)        - oolite-MAJ.MIN.REV.linux-ARCH.run
  pkg-posix-test (release)              - oolite-MAJ.MIN.REV-(test, beta, rc1, etc.).linux-ARCH.run
  pkg-posix-snapshot (release-snapshot) - oolite-MAJ.MIN.REV.SVNREV.linux-ARCH.run
  pkg-posix-nightly (release-snapshot)  - oolite-trunk-MAJ.MIN.REV.SVNREV-dev.linux-ARCH.run


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4512 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-12 15:52:33 +00:00
Nikos Barkas
cfb54ae6c7 Fixed bug where a ship was apparently attacking itself whenever one of its subentities was taking energy damage.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4510 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-12 12:22:57 +00:00
getafix
ffd1ab6603 POSIX installer - Redirected 'which' stderr to /dev/null in the post-extraction setup script.
In some distros (e.g. Fedora 11, Mint 10 Julia) the 'which <filename>' command 
                  uses stderr to report a filename not found or other warnings.


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4509 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-04 20:00:57 +00:00
Nikos Barkas
f0ca994e6d Fixed scripted misjumps not working when set from within the shipWillEnterWitchspace handler for wormholes created by ships other than the player.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4508 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-03 20:45:33 +00:00
getafix
7a9d03e456 POSIX new installer - Updated to facilitate rsync repository setup for oolite-update script
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4507 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-03 16:31:48 +00:00
Jens Ayton
93e798ed93 Fixed leak of every entity in system in sendAllShipsAway (introduced in r2491).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4506 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-02 12:32:29 +00:00
Jens Ayton
66a27ce9d8 Added an impulse to the player's escape pod on launch, making it harder to fly through the doppelgänger. (Bug #17919)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4505 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-02 11:31:52 +00:00
Jens Ayton
5ce16b9d74 All clock adjustments are now additive (Bug #17969).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4504 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-02 10:03:39 +00:00
Michael Werle
2d72212f21 Another #include fix reported by Nicolas Boulenguez.
For more details, see Debian bug #614277.


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4503 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-01 20:16:11 +00:00
Jens Ayton
32e521da25 shipSpawned() now fires for the main station, but launch_actions still do not. See http://aegidian.org/bb/viewtopic.php?f=3&t=9520
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4502 127b21dd-08f5-0310-b4b7-95ae10353056
2011-04-01 16:46:15 +00:00
Jens Ayton
d922713702 Fixed legacy ship action bug where scriptTarget was being set to target. Totally different! Obviously.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4501 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-31 20:42:37 +00:00
Jens Ayton
a943c4d41a Cleaned up various script.foo.trace log message classes so they can actually be used to debug stuff.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4500 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-31 20:41:56 +00:00
Nikos Barkas
873c1b6546 Fixed bug when generating system information for systems sharing the same coordinates in the same galaxy. Suppressed bogus internal error message when galactic jumping.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4499 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-30 20:59:54 +00:00
Jens Ayton
08f5c8fd03 Fixed crash when garbage collection is triggered during JS engine reset.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4497 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-30 18:03:37 +00:00
getafix
bf1961bcd5 POSIX new installer - automatic spawning of a new terminal in X11 when
a non-nightly installer is started from the desktop.


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4496 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-27 22:03:25 +00:00
getafix
113cb53fcb pkg-posix-nightly - produced package now installs unattended.
If the user is root then the installation is system-wide, else
it is installed in the user's home directory, without asking.


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4495 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-27 17:06:58 +00:00
getafix
2544ec26dc Packager target added for new POSIX packager (r4492):
* pkg-posix-nightly   - builds a release self-extracting package


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4494 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-27 14:30:25 +00:00
Jens Ayton
67aa1fb371 Default HUD roll and pitch indicators no longer overlap. (Bug #17916)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4493 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-26 19:16:16 +00:00
getafix
b386776e8b Added new packager for POSIX (e.g. FreeBSD, Linux etc.).
Stéphane Peter's makeself.sh script (http://megastep.org/makeself/) is
used to produce the installers/posix/oolite-<version>.x86[_64].run 
self-extractible package.

Packager targets added:
 * pkg-posix           - builds a release self-extracting package
 * pkg-posix-test      - builds a test release self-extracting package
 * pkg-posix-snapshot  - builds a snapshot release self-extracting package


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4492 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-26 13:58:16 +00:00
Jens Ayton
3b5e5cb2e3 NPC ship Q-bombs added with has_energy_bomb are now represented as EQ_QC_MINE rather than EQ_ENERGY_BOMB. This change should also make NPCs able to use Q-bombs added through scripts.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4491 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-25 18:04:33 +00:00
Jens Ayton
5e5ff684ff Fixed crash (dangling pointer) in AI reactToMessage: stack dump.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4490 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-25 00:44:58 +00:00
Nikos Barkas
0aef9f29fd Makefile now builds also Basic-debug.oxp on Windows and Linux systems. The Windows installer has now an additional page which allows the user to select whether to install Basic-debug.oxp or not. This page is available only in the test-release and test-release-snapshot configurations.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4489 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-25 00:19:12 +00:00
Jens Ayton
f95311f6e4 Paranoia checks for AI stack trace stack.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4488 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-24 15:36:52 +00:00
Nikos Barkas
2f48c1e1c6 Removed some excessive punctuation from previous commit.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4487 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-22 22:19:11 +00:00
Nikos Barkas
932e66ed34 Setting a target by script for the player ship now activates the ident computer. This resolves the distant targeting bug when a non-missile pylon weapon is selected, as per discussion in the mailing list.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4486 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-22 22:11:40 +00:00
Jens Ayton
6a9435adaa Switched to Firefox 4.0 final version of Spidermonkey (unchanged from RC1, just a different URL).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4485 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-22 15:50:35 +00:00
getafix
8d74f3b33f Linux autopackage - Installer clean-up
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4484 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-22 14:39:06 +00:00
Nikos Barkas
33d301562f Heat insulation setting from JS explicily set to read-only for player. This does not change the behaviour we had up to now, it just makes it clearer that this is intentional.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4483 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-21 11:08:49 +00:00
Michael Werle
cb2599c996 Replace some leading tabs with spaces to make the build work with GNU make 3.81.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4482 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-18 17:18:42 +00:00
Jens Ayton
86abacbaad Raised long JS time limit from 2 to 5 seconds, and use it for player shipDockedWithStation().
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4481 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-18 12:32:48 +00:00
Nikos Barkas
5793d08a58 Fixed warning in GNUmakefile.postamble, following commit of r4478 (thanks Svengali).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4480 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-18 10:49:08 +00:00
Nikos Barkas
e6a7d0d344 Fixed CTD when a non-existing override planet texture was provided by savefiles. FloatRGBFromDictColor now returns white color if the dictionary passed to it contains null value for the color key expected and logs the event.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4479 127b21dd-08f5-0310-b4b7-95ae10353056
2011-03-18 08:08:06 +00:00