1992 Commits

Author SHA1 Message Date
Jens Ayton
4d0bde299b At Kaks's suggestion, reenabled adaptive octree depth to test whether it works after various collision fixes. Be on the lookout for collision testiong problems, especially being able to see inside large ships when ramming them.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2496 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-13 16:15:50 +00:00
Jens Ayton
6769ee509f Renamed oolite-javascript-errors.plist to javascript-errors.plist for internal consistency (config files aren't subject to namespace issues).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2495 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-13 15:42:34 +00:00
Marc
fabfc9b391 - F7 screen now shows the nova sun for systems destroyed by novae, planets everywhere else.
- moving from screen to screen now always resets the background image.
- fixed xcode compile warning.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2494 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-13 14:51:21 +00:00
Eric Walch
ccfce445a3 Fixed missing a TARGET_LOST message in hardMissileAI leading to not reaction on cloaking. Instead added a deliberate short pause on missile and hardMissele explosions. It won't detonate anymore during that pause, but still can give scrap damage when colliding with missile.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2493 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-13 14:18:43 +00:00
Jens Ayton
437ee5e3c3 Further improved error reporting for legacy scripts - in particular, bad conditions are printed in full.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2492 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-13 12:45:06 +00:00
Marc
3cb2045315 - many nova bugfixes, should now be more difficult to break the nova mission. Sun flares up at random intervals inside the nova system.
More testing required.
- systemInfo float values are now properly treated as numbers.
- minor code cleanup.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2491 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-13 01:25:18 +00:00
Jens Ayton
d28c6f9828 AI dropMessages: now takes a comma-separated string.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2490 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 23:43:46 +00:00
Jens Ayton
7d17118510 Fix for %N using Ranrot() instead of gen_rnd_number() to modify length probabilities, thus making it produce inconsistent results even when system seed is the same.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2489 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 23:39:41 +00:00
Jens Ayton
4631edd2f0 Save entity_personality so player ship looks the same across sessions when shaders use it. Comms log is now restored on load (sans formatting) and at most 15 lines are saved (instead of up to 125). Removed ship.escortSetup.wtf log message - thought that couldn't happen, turns out it can.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2488 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 23:17:16 +00:00
Jens Ayton
e085c50004 More ai.load.failed.unknownAI fun: set AI's owner before its state machine to get clearer diagnostics. This was previously done when the ship was added to the universe - somewhat oddly - so there's a possibility this will break something. Also changed unassigned AI name to <none>.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2487 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 22:16:13 +00:00
Nikos Barkas
717de3c0e3 New JavaScript method in the PlayerShip class: queryCargo. Can take zero or one parameters (nore than one are ignored). Returns the array of cargo loaded (name, tonnage and units) if no parameter is given, or the quantity of the cargo item which name is passed as parameter.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2486 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 21:47:32 +00:00
Jens Ayton
adc87a348d Fix for logging of bad AI switches -- http://aegidian.org/bb/viewtopic.php?t=6677
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2485 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 21:35:22 +00:00
Jens Ayton
e7814e5056 Flashers with a frequency of 0 now always have full intensity.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2483 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 12:36:33 +00:00
Jens Ayton
db25437cc5 Mac-specific: reduced overall audio volume to compensate for out-of-range floating point values in some of our audio files - the worst observed being -1.341681. Scaling the master volume by 1/1.341682 (-1.275 dB) to compensate for now, need to remaster bigbang.ogg to work around this (but need custom software since we don't have an original and sound editors tend to clip to normal range when loading). This workaround almost certainly wouldn't work for other platforms since I'm pretty sure SDL uses the integer decoder, which will provide clipped "raw" data.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2481 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 11:24:29 +00:00
Jens Ayton
712097c550 Gave sparks the slimming treatment.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2480 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-12 10:44:29 +00:00
Eric Walch
fee7ea9350 Corrected last nova script change. Stopped NPC ships from consuming fuel on deceleration. Increased NPC deceleration in speed range above max_speed.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2478 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 19:21:46 +00:00
Nikos Barkas
374e7b59a2 Fixed severe brokenness in the Windows installer script. If an old version of Oolite exists, it can now be removed correctly before current one is installed.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2476 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 17:55:34 +00:00
Nikos Barkas
49b68beaa2 Fixed break in SDL builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2475 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 16:18:55 +00:00
Jens Ayton
68d44cb438 Sundry OOGL()-ification, and added temp code to dump the instance size of various entity classes at startup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2474 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 15:06:58 +00:00
Jens Ayton
d2d7bf66bc Behaviour change: ship clipping distance now takes flasher radius into account.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2473 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 15:06:00 +00:00
Jens Ayton
3b1f0e97df Fix for GL matrix stack overflow.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2472 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 15:04:50 +00:00
Jens Ayton
877d6cd9bb Mac-specific audio stuff: possible fix for sporadic, extremely bad audio artefact (short burst of extremely loud noise followed by system forcibly dropping volume until sound system is reset). Added code to catch any other such situations, silence the affected buffer and report the problem.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2471 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 15:04:08 +00:00
Jens Ayton
7a4c6f8b39 Anti-aliased stars by adding a black border and scaling the billboards up to compensate - mip-mapping takes care of the rest. (To support this, star textures are mip-mapped even in reduced detail mode.)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2470 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 11:28:59 +00:00
Eric Walch
0c110122f5 Corrected station mode of advanced and basic compass. Stationmode now only turns on in main-planet aegis.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2469 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-11 09:12:12 +00:00
Jens Ayton
92e949f53e Fixed harmless warning in non-Mac builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2468 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-10 23:22:00 +00:00
Jens Ayton
8a9c0b0551 Factored exhaust plumes into a separate class. Moved instance variables used only by exhaust entities into said new class, saving several megabytes of memory. Added Entity memory consumption (not including drawables and materials) to FPS display as a graphic reminder that they're still too big.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2467 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-10 23:13:20 +00:00
Darren Salt
7ccaa67565 Add a control senitivity/method indicator.
Also add an example (commented out) to the default HUD.

The indicator is a transparent black disc with a dot and a circle.
The dot is missing if in mouse mode.
The circle is missing if there are no detected joysticks.
When in "sensitive" mode, the circle (if present) is green, else it is grey.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2466 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-10 22:16:44 +00:00
Jens Ayton
7d68b5ebe4 Stop spewing OpenGL state info when shift key is pressed.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2464 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-10 19:50:39 +00:00
Jens Ayton
ae58b9979b OpenGL state cleanup: more glPushAttrib(), less trying to do it manually and getting it wrong.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2463 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-10 18:39:37 +00:00
Nikos Barkas
72db4ee904 Fixed nova mission.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2461 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-10 15:49:51 +00:00
Michael Werle
c7bd78d83a Minor tweaks to automated Debian version numbering from 1.73-maintenace.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2460 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-09 21:43:07 +00:00
Jens Ayton
0367dbe7cd Copied over 1.73.3 changelog to trunk.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2458 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-09 21:21:21 +00:00
Nikos Barkas
de84c2050a Added as parameter to handler shipLaunchedFromStation the station ship launched from.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2448 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-09 07:48:02 +00:00
Marc
3d70c340d5 - Once an entity is tractored, all other ships will lose interest immediately. Tested with 256 splinters, and 128 + 64 scavengers. Works! & hardly a single death... :) closing bug #12344 now
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2447 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-09 01:14:54 +00:00
Marc
16a0d260fe - reduced the chances of two ships going for the same loot. Needs more work.
- system.info.sun_gone_nova will take effect immediately, making the sun go nova, and killing the whole population instantly. No save or load possible inside a nova system!
- minor code tidying up!

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2446 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 23:25:52 +00:00
Nikos Barkas
98ecf379d8 Bugfix: If the player is in a system that has gone nova, no planet is shown in the system data screen.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2444 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 22:02:20 +00:00
Jens Ayton
adffb84308 More dead code eliminated.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2443 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 20:29:42 +00:00
Jens Ayton
9d49273c57 Fixed an apparent bug in velocity transfer in explosions that lead to one party dying. If crashes start behaving oddly, it means that wasn't a bug after all. (Also removed some more dead code.)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2442 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 20:14:45 +00:00
Jens Ayton
33c3787b58 Yet more static analyzer fun: removed an unused ivar from Cocoa MyOpenGLView. Fixed bug where AI method dropMessages: didn't work if more than one message was specified. Fixed missing break; in a switch in energy unit trade-in handling. Removed some bits of dead code.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2440 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 20:07:57 +00:00
Jens Ayton
d83e9031c8 More static analyzer fun: fixed flagrant abuse of -init in -[Universe reinitAndShowDemo:], don't create a nav boy if creating a station fails, get systeminfo before asking it for a government in [-Universe witchspaceShipWithPrimaryRole:] (so skipping of escorts in safe systems works).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2438 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 19:28:13 +00:00
Jens Ayton
ff6df1ed8e OOGL()-ified HUD code, and fixed some Clang static analyzer issues (yes, I've found some more of those).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2437 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 18:24:18 +00:00
Nikos Barkas
2e03c6dff4 Updated a couple of previously forgotten files with the new location of Oolite's Reference Sheet.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2436 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 17:34:15 +00:00
Nikos Barkas
7211bc690c Moved the Oolite Reference Sheet to the Doc folder. Not sure what it was doing in installers/win32, really.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2434 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 17:14:34 +00:00
Jens Ayton
d0a94e7ad2 Fix for long AI description in universe.objectDump, which according to Commander McLane "seems funny". (Reported at: http://aegidian.org/bb/viewtopic.php?p=86182#86182)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2433 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 16:59:08 +00:00
Jens Ayton
88ff4d26ea Found yet another cache that needs resetting for strict mode.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2432 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 15:16:12 +00:00
Jens Ayton
c50eec56f8 Cleaned up among feature macros; updated log header appropriately; simplifed log header generation a bit; fixed clean build of Mac debug configuration (Debug.oxp no longer wants OoliteDev.app).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2430 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 15:06:22 +00:00
Jens Ayton
6244814f2f Fixed Mac Deployment configuration (it isn't supposed to be exporting anything). Log header now lists [GLSL Shaders] and [OXP Debug Features] as appropriate.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2429 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 13:54:06 +00:00
Marc
e93b8aa9ee Mac build:
- really removed all traces of 10.3 from the build settings now(probably)
- changes to codebase to enable Deployment builds to link properly, might affect other platforms builds.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2428 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 13:37:28 +00:00
Marc
ea62edcb5e * mac builds on trunk:
- removed all stray references to 10.3, and testRelease should now build properly on PPCs too.
- Still couldn't correct the 4 missing debug exports from Deployment.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2427 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 09:05:30 +00:00
Marc
cc12a609bc - got it to compile & execute ok on Xcode 3.1 for debug & test release configurations. There are still 4 -exported_symbols missing from the deployment configuration, though...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2426 127b21dd-08f5-0310-b4b7-95ae10353056
2009-09-08 08:26:30 +00:00