4938 Commits

Author SHA1 Message Date
cim
76dfaf36c4 ship.broadcastDistressMessage() and ship event this.shipNowFacingDestination 2013-07-04 12:51:12 +01:00
cim
6fb60e7996 New shipscript event (issue #35)
shipAIFrustrated(context) matches AI "FRUSTRATED"
2013-07-04 12:32:31 +01:00
cim
db4158a483 More JS equivalents for AI commands and messages
methods
ship.requestHelpFromGroup() <= groupAttackTarget
ship.markTargetForFines()
ship.perform...(): Attack, Collect, Escort, FaceDestination, Flee, FlyToRangeFromDestination, Hold, Idle, Intercept, LandOnPlanet, Mining, ScriptedAI, ScriptedAttackAI, Stop, Tumble

and event
this.helpRequestReceived(ally,enemy) <= GROUP_ATTACK_TARGET
2013-07-04 12:11:11 +01:00
cim
321249c2e5 Fix under-retention (related to 5636606) 2013-07-04 12:09:22 +01:00
cim
e444ba7f52 Reorganise shipdata.plist to make future interactions with shipsets easier. (Closes #37) 2013-07-04 09:25:09 +01:00
cim
c948a16360 Fix death sequence broken in 848e59ce 2013-07-03 20:17:49 +01:00
cim
d04eba66de Make system.populatorSettings work, cleanup and document 2013-07-03 18:30:57 +01:00
cim
6d12aa177e Make navigation buoys rotate again 2013-07-03 17:43:49 +01:00
cim
2b224685f3 Nova system population
Changes default populator for system, for easiest compatibility with old save games, OXPs with novas, etc.
2013-07-03 17:11:47 +01:00
cim
242002cf1a Add system repopulator
Runs every 20 seconds to keep number of ships in system up
2013-07-03 15:48:25 +01:00
cim
4205ba932c Finish populator named locations (issue #36) 2013-07-03 12:26:08 +01:00
cim
814ef88f2b Re-enable frustum culling, fix display of planet atmosphere and flashers 2013-07-03 11:01:36 +01:00
cim
56761878a3 Fix collision detection at HP ranges 2013-07-03 09:59:06 +01:00
cim
7816555457 Make Javascript vector conversion high-precision where necessary 2013-07-03 09:50:25 +01:00
cim
e18f8afe10 Fix exhaust plume display.
Display and game engine seems spatially stable out to 10^14 units from the origin (~0.01 LY, or thereabouts) which should be enough for any sensible purposes.
2013-07-02 22:13:05 +01:00
cim
cfb54e2b68 Fix space dust, particles, demo ships 2013-07-02 21:51:38 +01:00
cim
e25d36e46c Start adjusting camera setup to make use of high-precision space
Several more entity types still need to set up cameraRelativePosition on init.
Space dust doesn't work yet.
2013-07-02 20:41:54 +01:00
cim
631126494c Upgrade world-space coordinate vectors to double-precision (issue #22)
Introduces several bugs, probably.
2013-07-02 18:43:59 +01:00
cim
7f0377c562 Add last named location that doesn't need high-precision space 2013-07-01 18:30:51 +01:00
cim
217c618a09 Make sure new populator runs on all branches, replicate (ish) old populator behaviour. 2013-07-01 18:15:57 +01:00
cim
2d38eec59e Fix typo making a random seed function non-deterministic 2013-07-01 17:31:37 +01:00
cim
68cbeed17b Start system populator framework.
Adds buoys, nothing else
2013-07-01 13:46:13 +01:00
cim
701a750822 Static method Ship.roles() lists all valid roles, including [ roles. Issue #26 2013-06-30 16:41:51 +01:00
cim
2aa670f4f6 wormholeSuggested(hole) shipscript event (equivalent to "ENTER WORMHOLE") 2013-06-30 16:11:12 +01:00
cim
102e603877 ship.enterWormhole() can now be called without arguments for the most common case - entering player's wormhole 2013-06-30 16:07:16 +01:00
cim
8ec8b65965 More AI capabilities to JS
ship.throwSpark()
ship.enterWormhole(hole) - only when player in witchspace
2013-06-30 15:20:02 +01:00
Jens Ayton
c7665a48a1 Fix RouteElement leaks
Also fixes style issues.
Probably fixes the disabled cache, but I haven't tested.
2013-06-30 15:17:15 +02:00
Jens Ayton
1384d96764 Static analyzer care and feeding 2013-06-30 14:41:53 +02:00
Jens Ayton
4b3886abb3 Fix some memory issues 2013-06-30 14:41:53 +02:00
Jens Ayton
563660674a Fix several leaks of weakRefs 2013-06-30 14:41:52 +02:00
cim
2c7d52986d Merge branch 'master' of github.com:OoliteProject/oolite 2013-06-30 13:21:49 +01:00
cim
d196f8f45b More ship properties 2013-06-30 13:21:03 +01:00
cim
fc4df9009b New ship properties and static method (issue #26)
ship.extraCargo
Ship.keys()
player.ship.viewPosition*
2013-06-30 13:19:57 +01:00
Jens Ayton
598415a23c Add OOWormholeEntity to Xcode project 2013-06-30 12:01:57 +02:00
cim
bc97187a11 Add read-only representation for wormholes (issue #34)
wormhole.arrivalTime
wormhole.expiryTime
wormhole.destination
wormhole.origin
entity.isWormhole
2013-06-30 10:22:15 +01:00
cim
1c793e906a Fix compiler warning 2013-06-29 20:07:04 +01:00
cim
0ff36ce8fd Fix a couple of errors in new events 2013-06-29 19:08:42 +01:00
cim
c571511854 More AI equivalents in JS
ship.offerToEscort(mother)
station.launchEscort()
escortRejected event
2013-06-29 19:08:42 +01:00
cim
48673f1e9f More JS functions to match AI
ship.becomeCascadeExplosion()
ship.broadcastCascadeImminent()
2013-06-29 19:08:42 +01:00
cim
27068c86b5 New script methods
station.abortAllDockings()
station.abortDockingForShip(ship)
2013-06-29 19:08:42 +01:00
cim
2603cbed9f Some new scripting events
ship.cargoDumpedNearby(cargo,dumper)
ship.defenseTargetDestroyed(target)
ship.shipAchievedDesiredRange
ship.stationWithdrewDockingClearance
station.stationDockingQueuesAreEmpty
station.stationReceivedDockingRequest(ship)
ship.shipWitchspaceBlocked(blocker)
2013-06-29 19:08:42 +01:00
cim
d6c507476b Merge branch 'remove-strict-mode'
Replace strict mode with OXPs toggle (issue #29)
2013-06-29 19:07:43 +01:00
cim
b702e280e9 Remove strict_mode settings from equipment.plist
(Comment out rather than strict_mode_only out energy bomb; this doesn't affect the Energy Bomb OXP at all)
2013-06-29 10:43:45 +01:00
cim
848e59ce19 Remove Strict Mode
Replace strict mode control with OXP enable/disable control
Display OXP setting on new game ship parade to make it clearer to users why their OXPs aren't loading
Adjust descriptions
Remove all gameplay differences other than OXP loading in strict mode
2013-06-29 10:21:35 +01:00
cim
52f953f7b0 Add missing headers 2013-06-22 16:59:52 +01:00
cim
42967920d8 Merge branch 'maintenance/1.77'
Various bugfixes
2013-06-17 20:40:59 +01:00
cim
d762c7a39f Update CHANGELOG 2013-06-17 20:35:12 +01:00
cim
8c8a83ecae Correct scaling of flashers in visual effects (issue #27 part 2) 2013-06-17 20:18:55 +01:00
cim
8ec8c46e3a Equipment conditions should be checked against new ship, not original ship, in player.replaceShip (issue #25, part 2) 2013-06-17 18:52:53 +01:00
cim
9d50805b7a Fix conflict between "pilot" and "unpiloted" keys in shipdata.plist leading to inconsistent crew state (issue #24) 2013-06-17 18:31:36 +01:00