1390 Commits

Author SHA1 Message Date
Nikos Barkas
7fbd85b259 Fixed turret subentities not showing.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1551 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-13 00:13:03 +00:00
Erich Ritz
474a2969a4 Revert change to MAX_AXES and MAX_BUTTONS
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1550 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-12 22:38:17 +00:00
Nikos Barkas
424300bdf8 Added Getafix to contributors list for enabling shader support on the Linux builds. Appended Disembodied's Advice for New Commanders text to Oolite_Readme.txt.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1549 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-12 06:31:46 +00:00
Marc
a935ca8808 Corrected quaternion error message.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1548 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-11 06:08:31 +00:00
Nikos Barkas
b97ab4db52 Checking in Getafix's Linux shaders fix. Linux users with systems supporting shaders, please check that shaders work. Linux users with systems not supporting shaders, please check that the program continues to run without problems.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1547 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-09 06:24:16 +00:00
Marc
a16d13609c Great DESC conversion continues. Bugfix for bug #13564 & oolite now gives the right message when trying to jump more than 7 ly.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1546 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-06 01:55:53 +00:00
Marc
6ef2d66b16 JS Bugfix: changes to local system properties (tech level, government, etc...) now take effect immediately. Minor change to a new description string.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1545 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-06 00:18:03 +00:00
Marc
cc9f7cd857 Energy unit changes: energy units recharge rate adjusted to offer a better challenge to the player, and naval/extra energy unit purchase behaviour more flexible (see resolution of Bug #13507, Naval Energy Unit bug in berlios). Warnings added if energy units are going to be removed.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1544 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-05 16:12:59 +00:00
Nikos Barkas
8a219606a2 Fix altitude bar never becoming red at low altitude (thanks Getafix).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1543 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-05 08:50:14 +00:00
Jens Ayton
33a5d8fb01 Disabled adaptive octree depth, because it seems to be breaking collision detection.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1542 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-04 10:04:52 +00:00
Marc
2f48840d7a Game Over part3.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1541 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-04 01:10:08 +00:00
Marc
0f38445b4e Shipyard techlevel bugfix. It now works as described in the wiki (i.e. techlevel=5 will allow ships to appear for sale in systems with technological level 6)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1540 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-03 22:47:18 +00:00
Jens Ayton
00482abd93 Fixed signed/unsigned comparison warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1539 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-03 20:42:07 +00:00
Erich Ritz
bbce7ad3ef Clear both button and axis settings for functions which support both when assigning a new button or axis.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1538 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-03 00:52:12 +00:00
Marc
c950465443 Game over bugfix, part 2. Now game over reinitialises the universe. Tested anything I could think of, hopefully there won't be any more loose ends.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1537 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-02 21:35:27 +00:00
Erich Ritz
0efb695254 Correctly handle analog axes for view control
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1536 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-02 16:01:07 +00:00
Erich Ritz
2e5f7c95de Add joystick button/axis support for view forward, aft, port, and starboard.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1535 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-02 14:02:16 +00:00
Marc
b62473dc29 Game over changes: restart now sets system data properly, and the reset event is now called only once after game over.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1534 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-01 23:41:29 +00:00
Erich Ritz
93cbddc81f Reduced max rows in Joystick config page so \'Game Paused\' text doesn't overlap.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1533 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-01 22:44:10 +00:00
Erich Ritz
9e06509c44 Allow for more than 15 joystick functions on the configuration screen by splitting the list into multiple pages.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1532 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-01 16:19:12 +00:00
Marc
3b8ec3ee87 Passenger berth bugfix: immediately after loading a save game, sometimes berths could be purchased even with a full cargo. Could lead to negative (ie really huge) cargo space.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1531 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-01 01:48:32 +00:00
Nikos Barkas
57a1f9ef7e Fixed Cargo Bay Extension not extending cargo space when bought.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1530 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-31 21:15:57 +00:00
Marc
b4207bb73d Change: js reset events are now run after initialising mission variables from save files: housekeeping routines can now be placed inside this.reset!
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1529 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-31 21:08:14 +00:00
Jens Ayton
94525b8b9e Added overall_alpha key to HUD dictionaries, defaulting to 0.75%. (Idea from another_commander, but rewritten for flexibility and generality.)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1528 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-31 17:23:03 +00:00
Marc
05f0167d07 Spikey ball bugfix for setUpPlanetFromTexture. Hopefully that's the last bug in there...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1527 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-31 12:05:46 +00:00
Marc
c4c264bb38 Plugged memleak in new setUpPlanetFromTexture.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1526 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-31 08:43:51 +00:00
Marc
71d4731a08 Corrected a typo in previous bugfix, and added experimental planet.setTexture in javascript. Usage restricted to shipwillexitwitchspace & shipwilllaunchfromstation, with log warnings.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1525 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-31 06:20:02 +00:00
Marc
874adc106b Bugfix: altimeter and script/ai notifications on nearing planet now work for all planets & moons, including nested planets. Not tested with - or meant for - more than 2 nested planets at a time.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1524 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-31 02:18:13 +00:00
Marc
f7d8cacc11 Can't-stop-bugfixing bugfix. The witchspace/leave aegis & planet vicinity events now fire in the proper order! (Bug #13237)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1523 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-30 06:00:08 +00:00
Marc
62082e6b1e Bugfixes: comms log works as expected. First in, first out. Repairing a damaged weapon (awarded via oxp) doesn't add an extra weapon anymore. (bugs #13471 & #13481).
Changes: weapon mountings with mounted weapons now in a darker green. awardEquipment: if undamaged equipment present, trying to assign its damaged equivalent will fail with a warning. Trying to award an undamaged weapon using awardEquipment() will also fail with a warning.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1522 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-30 04:33:20 +00:00
Jens Ayton
69003c93ed Added Thargoid Curses to SystemDescription.dot output, and changed the Eat Foo, Bar! insult to use more varied values of Foo.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1521 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-28 09:31:35 +00:00
Nikos Barkas
d8fd8310da Better fix for the Advanced Space Compass issue. Now works as expected also with the JavaScript player.awardEquipment method.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1520 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-28 02:30:23 +00:00
Nikos Barkas
eda5722fd9 Fixed Advanced Space Compass not working immediately after being bought.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1519 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-28 01:35:27 +00:00
Erich Ritz
f75d924c76 Fixed compiler warning (changed type int to unsigned).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1518 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-27 22:36:13 +00:00
Nikos Barkas
4d7e682c94 Update to contributors.txt.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1517 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-26 19:42:49 +00:00
Jens Ayton
ecec62a702 Added drumz to contributors.txt.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1516 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-26 10:14:59 +00:00
Nikos Barkas
75f2884d30 Fixed yaw continuing to be applied when player was switching to a non-cockpit screen. Thanks go to drumz for this contribution.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1515 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-26 08:06:37 +00:00
Jens Ayton
4c2f7efcb2 Updated dummy joystick handler to pretend to have yaw support.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1514 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-25 22:42:44 +00:00
Nikos Barkas
adecdd40cd Checking in drumz's analog joystick yaw control code.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1513 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-25 22:09:13 +00:00
Jens Ayton
8cfd109a6e Fix for specular colour being used instead of emmission colour in default-shader materials (copy & paste error).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1512 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-25 20:31:37 +00:00
Marc
3990d547dc Minor plists cleanup, added player.equipmentStatus & player.setEquipmentStatus, to allow damaging and repairing equipment via javascript.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1511 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-25 03:38:50 +00:00
Jens Ayton
8a3b4539de Fix for % signs in SystemDescription.dot. How did that get there?
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1510 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-24 17:25:44 +00:00
Jens Ayton
8da875682b Fixed breakage in release build; made debug rendering of normals use a debug flag instead of a macro.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1509 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-24 17:14:00 +00:00
Jens Ayton
d9a7e5e585 Adaptive collision octree depth selection; preload sounds from customsounds.plist to avoid stutter.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1508 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-24 16:52:30 +00:00
Jens Ayton
c10eba9821 Slightly prettier graphviz, which is now written to ~/Library/Logs/Oolite/ (OS X) or ~/.Oolite/Diagnostics/ (anything else). This is done via new, not-graphviz-specific method +[ResourceManager writeDiagnosticData:toFileNamed:].
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1507 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-23 22:58:25 +00:00
Jens Ayton
aaa944298d More Graphviz fun: if universe-dump-debug-graphviz is set to true in user defaults, graphs of like_ship relationships and the system description grammar are dumped to the cwd. (Need to fix to dump somewhere sensible.)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1506 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-23 17:48:31 +00:00
Jens Ayton
2daba8a6bf Several fixes for an exception when trying to use OXP verifier while a requires.plist-incompatible OXP is installed, due to use of DESC in generating incompatibility warnings (Universe is not set up when OXP verifier runs).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1504 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-23 15:12:22 +00:00
Nikos Barkas
7027fdf905 Fixed some breakage in the NDEBUG build type.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1503 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-22 22:15:53 +00:00
Jens Ayton
590d1f5c81 Fixed buy/sell sounds when buying/selling individual units of commodities. Ambient light is now a mix of 75% sun's diffuse colour and 25% background star average colour, because it was bothering me that light was red in a system with red background stars and a blue primary.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1502 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-22 20:45:05 +00:00
Jens Ayton
e8ac184873 Split [PlayerEntity update:] up, and added some judicious exception squelching. Also implemented power braking for ridiculous speeds (starts at 2000 m/s, ramps up to 1% braking at 5000 m/s). With this, an impulse of 20000 m/s throws you about as far as the witchpoint, instead of being effectively unrecoverable.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1501 127b21dd-08f5-0310-b4b7-95ae10353056
2008-03-22 16:42:45 +00:00