Jens Ayton
|
abf02e189e
|
Added support for constant vector and quaternion uniforms for shaders.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1489 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-16 14:15:56 +00:00 |
|
Jens Ayton
|
8339f6a180
|
#ifdefed out all references to OOBrain and OOInstinct (which were never used and,as it turned out, were only being built under OS X), but left them there in case someone wants to pick up the AI stuff at some point.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1488 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-16 14:03:49 +00:00 |
|
Jens Ayton
|
5020326bf6
|
Unbroke docking AI (checked in without finishing up and testing yesterday, oops). Fixed a log typo. Music now resets when player dies.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1487 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-16 09:52:59 +00:00 |
|
Marc
|
19f2237ffb
|
Bugfix for Bug #12212 - Rising shuttle problems. They now take off directly away from the planet.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1486 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-16 06:51:03 +00:00 |
|
Jens Ayton
|
10ea62d940
|
Fix for subentity matrix glitch. Added debug drawing stuff for ships with reportAIMessages set.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1485 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-15 16:42:39 +00:00 |
|
Jens Ayton
|
b478d8a435
|
Nova mission now blows up all stations, not just the main one. Universe addEntity: now returns NO rather than throwing an exception if no slot can be found. Tweaks to autopilot docking behaviour.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1484 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-15 15:09:18 +00:00 |
|
Nikos Barkas
|
8fdf7b21fd
|
Fixed advanced compass not displaying target and beacons when target was selected.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1483 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-15 11:40:58 +00:00 |
|
Jens Ayton
|
59d3a3c389
|
Fixed a freeze due to UNIVERSE_MAX_ENTITIES being greater than MAX_ENTITY_UID, leading to an infinite loop in -[Universe addEntity:]. _override log message class now works as advertized.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1482 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-14 19:12:41 +00:00 |
|
Jens Ayton
|
2709fd910f
|
Commented on importance of correct ordering in mission response scripts. (Oh, and r1479 _is_ a fix for the nova problem, I wasn't reading it right.)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1481 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-14 18:23:13 +00:00 |
|
Jens Ayton
|
e1bdfc8924
|
Added great big heaps of spiff to OS X debug thingy.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1480 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-14 01:32:00 +00:00 |
|
Marc
|
c809a1fe07
|
Bugfix: made nova mission work properly.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1479 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-12 22:34:42 +00:00 |
|
Nikos Barkas
|
c3ad195de4
|
Checking in possible fix for the nasty bug that occasionally would cause Oolite to crash after having consumed all memory during system population.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1478 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-12 06:51:42 +00:00 |
|
Jens Ayton
|
f67b87aa0d
|
Ahruman's dazzling distraction attack strikes again. All beep, boop and click sounds now go through customsounds.plist. Setting the player's target through JS now works more or less as expected (locks on ident, with UI feedback, unless a missile is selected in which case current missile is locked on to the new target). Custom sound tags can now expand to other custom sound tags (with recursion checking), and final results are cached. No actual progress on the nova script I thought I was working on.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1477 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-11 19:49:46 +00:00 |
|
Jens Ayton
|
627e5a9b57
|
shipWillLaunchFromStation() is once e again called for the player. Ejected items and debris are now spawned with 85% of the parent's cabin temperature. Incompatible OXP message is now loaded from descriptions.plist, but only the internal descriptions.plist; listing incompatible OXPs and generating the messages later would be a better approach.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1476 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-11 08:25:42 +00:00 |
|
Jens Ayton
|
9f9df1e986
|
Fix (and cleanup) for Thargoid death broadcast. Added code to hopefully work around sky rendering glitch on S3 hardware.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1475 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-10 19:48:28 +00:00 |
|
Jens Ayton
|
86b976ca0f
|
Updated standard Xcode project to match previous revision. Checked in a bunch of display management stuff I was workin g on earlier; won't be used in 1.71.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1474 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-10 00:27:26 +00:00 |
|
Jens Ayton
|
197119ccc8
|
All scripts now JavaScript -- adopted somewhat twiddled versions of Eric's scripts, with the cleanup stuff removed (premature optimization is the root of all evil; I'll put it back in if anyone has profiling information indicating it's actually a win). Moved the mission screen function into global-prefix as a generally-available utility function. Wrote JS scripts for the two remaining ships using death_actions. Added Ship.explode(), which kills any ShipEntity through energy damage including the main station. Once again made blowing up the main station with blowUpMainStation (or explode()) work.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1473 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-10 00:01:30 +00:00 |
|
Jens Ayton
|
016ce3e69e
|
Bow before my remote cache-flushing skills! And also my actually-trying-to-build-before-checking-in skills. Um.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1472 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-09 15:43:53 +00:00 |
|
Jens Ayton
|
f68d550d8e
|
Added JS Ship methods dumpCargo(), ejectItem() and ejectSpecificItem(). Spotlight indexer now indexes required.plist max_version for display in More Info. Fix for internal consistency in default fragment shader's handling of specular exponents.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1471 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-09 15:27:06 +00:00 |
|
Nikos Barkas
|
e52d57affe
|
Fixed a small problem with the JavaScript legacy_addShipsWithinRadius method (radius is a double but was passed to the arg list as an integer).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1470 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-09 15:23:09 +00:00 |
|
Nikos Barkas
|
cd2d1a72da
|
Eliminated a few warnings on the SDL builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1469 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-09 13:31:21 +00:00 |
|
Jens Ayton
|
e8a6374816
|
Probable fix for compiler looking for OOCAfoo headers when building for SDL.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1468 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-09 10:49:55 +00:00 |
|
Marc
|
91358f71a2
|
More station defence stuff. Special cargo expanded and amended: it can now be saved, and no containers can be loaded on board while the special cargo is in the hold - scooping cargo will not work, and purchasing & awardCargo are only allowed for small valuables. Added a few more strings for translations. Minor code tidy up.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1467 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-09 04:10:42 +00:00 |
|
Jens Ayton
|
8745195035
|
JS can now use customsounds.plist redirection - bracketed sounds are transparently looked up in the plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1466 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-08 22:34:33 +00:00 |
|
Jens Ayton
|
3f74d1b923
|
Got Instruments working and fixed several small leaks. Currently mostly seeing occasional leaks of OOWeakReferences to ships (but the ships themselves aren't leaked and OOWeakReferences are only 8 bytes.) Cobbled together a class for handling groups of sources for related sounds, so that e.g. the number of simultanous scrape sounds is limited. Moved bits of player launching logic from pollDockedControls: to leaveDock: (which is also called from other places).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1465 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-08 17:16:10 +00:00 |
|
Jens Ayton
|
fe418babea
|
Tested under a stricter compiler and fixed some warnings. Removed -[OOSound stop] under OS X, OOSound's an OOMusic's pause/resume and related methods, which have done nothing under OS X since pre-1.65; all call sites have been #if 0-ed out, and need to be replaced with use of OOSoundSource. -[OOSound stop] is still there in the SDL implementation, but is for the use of OOBasicSoundSource only. May have broken build for SDL by fiddling with prototypes. Removed all uses of deprecated-in-OS-X methods -[NSString cString] and -[NSString lossyCString].
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1464 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-07 20:09:56 +00:00 |
|
Marc
|
b17ba19a77
|
Bugfix: main stations now properly defend themselves. On default systems, the main station launches up to 8 defence ships, other stations launch up to 3.
Key max_police sets the main stations defenders / nr of system patrols.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1463 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-07 00:10:14 +00:00 |
|
Jens Ayton
|
2b89827eb3
|
Graphics fiddle: scarred alloy is now only scarred on one side, and has a specular intensity map (if shaders enabled); both types of alloy are now shinier.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1462 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-06 18:13:57 +00:00 |
|
Jens Ayton
|
f2e5df82db
|
More work on the sanity of subentity backreferences.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1461 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-06 17:27:01 +00:00 |
|
Jens Ayton
|
864998dbd7
|
Made Entity owner an OOWeakReference. This is more efficient than the universalID method, and completely avoids bugs due to getting entities with recycled IDs. It also might help with ship.subentity.sanityCheck.failed issues.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1460 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-06 00:22:46 +00:00 |
|
Jens Ayton
|
73cec5cdc3
|
Generalized r1458 danging-subentity-backreference fix.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1459 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-05 23:52:25 +00:00 |
|
Jens Ayton
|
5f09cc936a
|
Fixed a bug where subentity relationships would be messed up by -becomeLargeExplosion (currently only used for the player). Better diagnostics for bad AIs.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1458 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-05 23:45:09 +00:00 |
|
Jens Ayton
|
4c3cf42f7e
|
Fixed a small leak in the previous revision. Unified the various missile/ident locked-on strings. Made :: console macro work for methods with an argument string, as in :: playSound: boop.ogg.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1457 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-05 11:26:12 +00:00 |
|
Jens Ayton
|
e2a2be7f46
|
Started looking at laser drawing bug, ended up doing lots of cleanup of subentity handling instead.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1456 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-05 00:06:05 +00:00 |
|
Marc
|
2ca6f60d5c
|
GnuMake cleanup: just the one logcontrol file now, and removed compiler warnings from PlayerEntityLegacyScriptEngine
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1455 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-04 20:32:38 +00:00 |
|
Jens Ayton
|
aaee1b7fcb
|
Fixed testing-related breakage.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1454 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-04 02:02:15 +00:00 |
|
Jens Ayton
|
7c242079fc
|
New skies even for gnusteppy people.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1453 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-04 01:43:42 +00:00 |
|
Jens Ayton
|
3671b45b17
|
Silenced sky setup messages; stopped making player-fired missiles dump AI debug messages; collection-extracty cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1452 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-03 22:43:18 +00:00 |
|
Jens Ayton
|
ef3cb81251
|
Multi-texture skies are go.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1451 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-03 22:02:53 +00:00 |
|
Jens Ayton
|
84412f33cc
|
Added safeScriptActionOnTarget:, removed some unused code, fixed copy&paste error in sky setup, added sanity check to ensure the main station is in fact a station.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1450 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-03 20:41:08 +00:00 |
|
Nikos Barkas
|
74ae10a5c9
|
Resolution for bug #12659 (scripted cargo pods do not award cargo when scooped). Added the CLASS_CARGO scan class to alloy and splinter in shipdata.plist, so that they don't appear unscoopable and with legal status when spawned by scripts. Finally, yes, you guessed it, more strings externalized.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1448 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-03 06:46:40 +00:00 |
|
Marc
|
8db171cf6a
|
bugfix for cloaking device mission, new string added: 'autosave-commander-name'
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1447 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-02 20:41:07 +00:00 |
|
Jens Ayton
|
dcd634c714
|
Improved script.debug.trace output for conditions, just because. Added script.trace and script.debug.trace to Debug OXP menu.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1446 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-02 19:45:51 +00:00 |
|
Jens Ayton
|
959dc99d88
|
Added big fat deprecation warning for scriptActionOnTarget:. Added skanky code to avoid running world scripts more than once with certain player states (such as STATUS_EXITING_WITCHSPACE).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1445 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-02 18:56:24 +00:00 |
|
Jens Ayton
|
1a75b7f6bf
|
Fix for version number in GNUstep builds. Removed a minor redundancy in new JSConsole consoleMessage implementation.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1444 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-02 16:28:36 +00:00 |
|
Marc
|
f4bb06a43a
|
Bugfix - removed crash when loading save game with 'stale' oxp missiles (see http://aegidian.org/bb/viewtopic.php?p=47921&highlight=#47921)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1443 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-02 14:53:51 +00:00 |
|
Marc
|
889bdbbbdb
|
Bugfix for very long passenger names in the Carrier Market. Change to Console.consoleMessage: ConsoleMessage('message') is now shorthand for ConsoleMessage('command-result','message'). Added Autosave option, with associated translations strings. bugfixes ported to 1.70-maintenance.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1442 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-02 05:31:43 +00:00 |
|
Jens Ayton
|
674aa0d0e0
|
Most legacy script methods now show the name of the current script if an error occurs, but this only works for world scripts.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1441 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-01 23:22:03 +00:00 |
|
Jens Ayton
|
fda95ca90a
|
r1438 redux.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1440 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-01 22:05:11 +00:00 |
|
Jens Ayton
|
ddf50cf43e
|
Fixed Xcode project to stop changing Basic-debug.oxp/requires.plist to require version 1.70 when building release builds; fiddled with project to reduce number of places version number is specified.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1439 127b21dd-08f5-0310-b4b7-95ae10353056
|
2008-03-01 21:01:00 +00:00 |
|