5280 Commits

Author SHA1 Message Date
cim
d53ce29e91 Allow multisampling-based antialiasing in SDL mode
Graphically very expensive, likely to need a dedicated graphics card rather than a built-in one, so hidden setting "anti-aliasing" in GNUStepDefaults needed to enable it. It looks much nicer, though.

Presumably there's a way to do the same thing in Cocoa, but I've no way to test that.
2013-08-24 10:49:30 +01:00
cim
6e801538e4 Shorten missile engine plume 2013-08-24 09:46:39 +01:00
cim
330ddb0d04 Fix bug when firing on ships docking with station 2013-08-23 21:18:23 +01:00
cim
9ec115c0f7 Adjust combat target acquisition for escorts, fix bug in ECM assistance 2013-08-23 20:01:38 +01:00
cim
805ca6a238 Adjustments to pirate demand size and threat assessment calculation 2013-08-22 18:38:01 +01:00
cim
de4c3ed3f4 Also update player proxy 2013-08-21 18:24:48 +01:00
cim
835410934e Add tradeInFactor as a shader uniform for the player ship 2013-08-21 18:13:56 +01:00
cim
e552f55dc1 Saving: fix a couple of bugs in allowsSaving 2013-08-20 20:01:00 +01:00
cim
e54a4c2ee2 Allow player to save at any deterministically-added station, not just main.
(Saves market for station saved at as well as main. Probably should save market for all deterministic stations)
2013-08-20 19:43:59 +01:00
cim
2fb4822833 Fix bug in acquireCombatTarget
-DDEBUG_LASER_TYPES compile-time option to allow easier visual inspection of the "autoWeapons" changes
2013-08-19 21:05:56 +01:00
cim
3dc9ef82cc conditionInCombat is called on just about every AI reconsideration; optimise it 2013-08-18 19:15:09 +01:00
cim
637043cd2c Slightly optimise conditionLosingCombat, and fix bug in witchspace flee 2013-08-18 16:36:57 +01:00
cim
f8e88a56b5 Fix bug in friendly/hostile/trading station selection 2013-08-17 20:41:36 +01:00
cim
078c901e98 Cache system.stations values rather than searching all entities every time 2013-08-17 18:29:39 +01:00
cim
8fd2a655e4 Prefix internal cache names with oolite_ 2013-08-17 15:19:25 +01:00
cim
6393b99fca Allow fleeing to witchspace in certain situations 2013-08-17 14:39:16 +01:00
cim
ada2aa8a2d Serious efficiency fixes to last few commits
ship.findNearestStation()
2013-08-17 13:26:37 +01:00
cim
13b7c1afff Add station.allegiance (allegiance shipdata) property
Adjust AIs to avoid hostile stations
Adjust pirate AI to not rob the same target twice in a row
2013-08-16 21:44:27 +01:00
cim
ba71ac58b2 Adjust pirate interceptor AI to assist nearby pirates in trouble 2013-08-16 18:00:46 +01:00
cim
c190ceea44 For consistency, auto_weapons should apply to populator-awarded equipment 2013-08-15 21:59:51 +01:00
cim
894d3d683b Add auto_weapons (ship.autoWeapons) parameter to shipdata.
If set (default 0), then populator has discretion to change ship weapons and other items to fit the ship's role. So far just does fore and aft lasers.
2013-08-15 21:53:17 +01:00
cim
1015ec32a4 Tune minimum aim circle back for low-accuracy AIs 2013-08-14 21:30:03 +01:00
cim
ce2d77557d Make sure pirate escorts have a bounty, fix initial pirate cargo 2013-08-14 21:10:29 +01:00
cim
9d7fe2fa46 Fix combat aiming (mostly bugs with respect to unintended behaviour)
- lower limit on aim circle is now useful
 - missed shots count correctly increments for non-subent weapons

And adjust:
 - greater precision on combat turns for accuracy >= 0 AIs, especially after repeated misses
 - base aim circle is *wider* than before to compensate for general accuracy increase
2013-08-14 20:54:02 +01:00
cim
02d6dd2dca Use correct message class for populator debug logs 2013-08-13 21:18:44 +01:00
cim
6f37e2fe16 Fix crash bug when second parameter to expandDescription is 'null' 2013-08-12 21:32:58 +01:00
cim
be71e0775a Fix high accuracy targeting on fleeing targets 2013-08-12 21:32:46 +01:00
cim
a777d9662f Adjust closing speed especially against fleeing targets
(After 10 Viper Interceptors failed to destroy a fleeing Adder...)
2013-08-12 20:25:48 +01:00
cim
b829eef4a2 Police witchpoint patrols AI adjustments 2013-08-12 18:45:09 +01:00
cim
2ad55255f1 System repopulation 2013-08-11 22:56:53 +01:00
cim
03f7fb174b Adjust populator functions to allow easy launching from station or planet
Fix pirate lurk calculations, tune a few other AI behaviours
2013-08-11 20:51:46 +01:00
cim
2da8ada948 Adjust populator functions for bounty hunters 2013-08-11 13:01:31 +01:00
cim
75d5748bce Bounty hunter leader AI 2013-08-10 08:34:33 +01:00
cim
9edbe45d63 Add pirate interceptor AI, fix some bugs in pirate freighter AI 2013-08-09 18:00:18 +01:00
cim
b00b1bb550 First go at pirateFreighter/Fighter AIs
Fix bug with launching ships with escorts, tidy up functions
New: ship.notifyGroupOfWormhole()
Introduce AI template blocks to compact AI writing even further.
2013-08-09 13:09:54 +01:00
cim
bcc93120d7 Add smugglers to pirate targets, give m/h hunters a pack 2013-08-08 16:21:21 +01:00
cim
14d4bb555a Adjust AIs
traderAI for courier and smuggler variants
bountyHunterAI to limit patrol length
2013-08-08 16:00:20 +01:00
cim
7a42c59c90 ship.homeSystem , ship.destinationSystem 2013-08-08 16:00:06 +01:00
cim
4018ab2b73 Tune populator numbers a little more 2013-08-08 12:53:49 +01:00
cim
dc094a9d05 Fix test for player hostility 2013-08-08 11:47:03 +01:00
cim
965e6d4b62 Add "escort_roles" shipdata key for more detailed escort config 2013-08-08 11:20:41 +01:00
cim
fb8ff90cc2 Fix combat detection 2013-08-07 22:45:54 +01:00
cim
3a03c81957 Fix combat detection 2013-08-07 22:45:31 +01:00
cim
6508a52e08 Position ships for pirate freighter remote, correct role name 2013-08-07 22:19:05 +01:00
Jens Ayton
1ea1cc18bf Merge branch 'svn-integration' into maintenance/1.77 2013-08-07 23:02:42 +02:00
Nikos Barkas
a7c030541f Reverted the oops of the previous commit and applied correct fix to subentities rotational_velocity issue as per cim's suggestion.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5689 127b21dd-08f5-0310-b4b7-95ae10353056
2013-08-07 23:01:56 +02:00
Nikos Barkas
8a73443f82 Re-applied rotation to subentities, which was taken away on r5639, Not applying rotation effectively disables the rotational_velocity shipdata attribute.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5688 127b21dd-08f5-0310-b4b7-95ae10353056
2013-08-07 23:01:55 +02:00
cim
98ef76beef Fix regression in rotational_velocity key for subentities 2013-08-07 21:11:52 +01:00
cim
6df52bf49e Fix regression in rotational_velocity key for subentities 2013-08-07 21:10:53 +01:00
cim
ab0e7db465 Add new roles to shipdata 2013-08-07 21:08:09 +01:00