4 Commits

Author SHA1 Message Date
Jens Ayton
084248f98f Tiny tweaks: renamed AI methods scanFor{Nearest|Random}Merchantmen to ...Merchantman (with compatibility aliases). Removed all Light 0 stuff from shaders. Belatedly bumped cache format version for changed dust shader.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3314 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-09 23:13:12 +00:00
Jens Ayton
19cbb04377 * Fixes to ship registry:
- is_template is no longer inherited, causing all derived ships to be
    silently deleted. 
  - Ships whose model can’t be found are now reported and deleted from the
    registry.
  - Ships used as subentities no longer require roles. 
  - Ships with invalid subentity definitions (not exactly eight tokens) are
    now reported and deleted from the registry. 
  - New is_external_dependency key suppresses errors for missing like_ship and
    subentity references. (A ship with is_external_dependency will still be
    deleted from the registry if it can’t be properly resolved, there just
    won't be a message about it.)
 * Added missing compatibility method player.spawnOne().
 * Default galactic_hyperspace_behaviour respelled to BEHAVIOUR_STANDARD.
 * Corrected warning text in setGalacticHyperspaceBehaviourTo:.
 * Added nil check in collision detection.


git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1853 127b21dd-08f5-0310-b4b7-95ae10353056
2008-11-13 09:47:15 +00:00
Jens Ayton
856409ed46 Added ability to explicitly bind shaders to subentity rather than root entity (backported to 1.70-m). Added support for hull heat glow to default shader (full shader mode only). Added Eric Walch's list of pre-existing roles to pirate-victim-roles.plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1265 127b21dd-08f5-0310-b4b7-95ae10353056
2007-12-05 14:32:56 +00:00
Jens Ayton
77df587d1a Split out remaining JS classes from OOJavaScriptEngine.* into new files. Added expandable pirate-victim recognition via pirate-victim-roles.plist. Added a number of AI methods for searching for entities by role and scan class.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1169 127b21dd-08f5-0310-b4b7-95ae10353056
2007-09-12 17:00:59 +00:00