13 Commits

Author SHA1 Message Date
Jens Ayton
8f14df9fb3 Applied Adam Sampson's patch to makefile for Linux. Look forward to reports of it working, or not.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1582 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-23 18:10:07 +00:00
Jens Ayton
c2a748ab52 Since flashers now apparently work for subentities, made switchLightsOn and switchLightsOff do so too. Remove player from role set for NPCs.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1579 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-23 00:03:41 +00:00
Jens Ayton
a09eb90389 Trimming down to four nebula textures, step 3 of 2 (syntax fix, updated Xcode project, updated contributors.txt).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1559 127b21dd-08f5-0310-b4b7-95ae10353056
2008-04-18 13:36:01 +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
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
d55403fd1b Externalized the (N/A) damaged equipment string. Inserted the load-previous-commander-(yes/no) keys in descriptions as a guide for people doing translation OXPs. Updated the contributors.txt file.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1395 127b21dd-08f5-0310-b4b7-95ae10353056
2008-02-20 07:16:01 +00:00
Jens Ayton
7ef7991d91 Fix for free Fer-de-Lance bug. Custom escort AIs now set to FLYING_ESCORT state if appropriate.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1354 127b21dd-08f5-0310-b4b7-95ae10353056
2008-02-09 15:01:27 +00:00
Jens Ayton
6894d2669e Fix for setting Entity.energy (submitted by Kaks on board).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1346 127b21dd-08f5-0310-b4b7-95ae10353056
2008-02-04 09:04:15 +00:00
Jens Ayton
3fbc24887d * All ships now have a JavaScript script attached, allowing JS scripts to
add behaviours to any ship.
* Legacy script_actions, setup_actions, launch_actions and death_actions
  handled through default JavaScript script.
* In order to implement the above, JS Ship now has a runLegacyScriptActions
  method. This is not to be exposed as an "official" method, though, since
  we might want to change the mechanism -- for instance, to "compile"
  legacy scripts into JS. Handling dynamically-generated legacy scripts in
  that case would be a significant complication.
* Updates for Mac OS X 10.5 "Leopard".
  - Errors on reading/writing plist will not cause a crash if building
    against the Leopard SDK. (I have no intention of requiring Leopard any
    time soon, but future-proofing is good.)
  - OOWeakReference is now more efficient when running under Leopard, by
    implementing the new "fast forwarding" mechanism.
  - Threads now have names set under Leopard, which may provide debugging
    advantages.
  - Fixed some new build warnings for new version of apple-gcc.
  - Updated type declarations to identify Oolite saved games as property
    lists.
* Cleaned up PlayerEntityControls.m somewhat. Moved method declarations
  into files, fixed indentation, broke up monster giant method of doom.
* Script-generated asteroids now behave like system populator-generated
  asteroids (As Seen on BB[TM]).
* Minor optimizations and simplifications of legacy script engine.
* JS System.filteredEntities() now has sensible behaviour if predicate
  throws an exception: the predicate is not called again, and null is
  returned. The exception is reported and not rethrown.


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1240 127b21dd-08f5-0310-b4b7-95ae10353056
2007-11-23 15:04:14 +00:00
Jens Ayton
3072399a41 Added conversion to/from arrays of numbers for JS vector and quaternion, including implicit conversion for vectorExpression/quaternionExpression parameters.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1219 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-16 17:31:13 +00:00
Jens Ayton
8dac1d08cd Split JS Planet into Planet and Sun in anticipation of splitting PlanetEntity in same way.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1214 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-15 13:20:27 +00:00
Jens Ayton
3781f83407 Added Eric Walch's suggested AI fixes (bug #12161). Added contributors.txt.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1213 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-13 19:24:06 +00:00