1598 Commits

Author SHA1 Message Date
Jens Ayton
614341a04d Implemented dropMessages: and debugDumpPendingMessages AI commands. Added experimental dealyedReactToAttackAI, and used it in planetPatrolAI.plist (which was previously ignoring missiles).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2022 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-31 14:16:53 +00:00
Jens Ayton
204bb2248d Made logging-echo-to-stderr preference work on all platforms; updated header comment in logcontrol.plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2021 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-31 12:51:48 +00:00
Jens Ayton
ec5f7901df Added use-texture-lod-bias preference to work around glitch on ATi systems.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2020 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-31 01:56:18 +00:00
Nikos Barkas
c29d757b29 Fixed an apparent copy/paste error of the previous commit.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2019 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-30 14:01:39 +00:00
Jens Ayton
2a6175402c Added delay parameter to playerStartedJumpCountdown event.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2018 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-30 13:56:05 +00:00
Nikos Barkas
40b74059c2 Scripted asteroids with any primary role now create boulders when destroyed, as long as they contain the role asteroid in their roleset. Scripted boulders with any primary role create splinters when destroyed, as long as they have the role boulder in their roleset.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2016 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-29 17:31:22 +00:00
Jens Ayton
8275ac7cc0 Removed now-pointless logging-show-app-name option.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2015 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-27 21:43:34 +00:00
Jens Ayton
a078fd7812 Oh yeah, r2013 requires a cache flush.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2014 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-25 20:16:53 +00:00
Jens Ayton
475398f489 Full sript whitelisting support. Some script actions and conditions could do with pre-sanitizing.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2013 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-25 20:15:42 +00:00
Jens Ayton
10a6c34355 Removed 1280 bytes of unused junk from ParticleEntity.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2012 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-25 18:14:54 +00:00
cmdrjames
bd5baee02e findEntitiesMatchingPredicate orders by distance from player. for dockEntities we need to get the closest station to the entity, not from the player.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2011 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-25 14:09:54 +00:00
Jens Ayton
f99efad2ea Fixed typo that was causing anisotropic texure filtering to be permanently disabled. Renamed hidden tweak parameter for anisotropic filtering from texture-anisotropy-bias to texture-anisotropy-scale, and changed default value from 1.0 to 0.5.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2010 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-24 12:16:00 +00:00
Nikos Barkas
e4adae07fd Removed debug flag code for procedurally textured planets (not required anymore). Added the ALLOW_PROCEDURAL_PLANETS macro to the SDL builds makefile.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2009 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-22 07:20:25 +00:00
Nikos Barkas
66d376cb90 Fixed a small possible issue with initialization of doProcedurallyTexturedPlanets.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2008 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-21 19:30:34 +00:00
Nikos Barkas
2961b0e723 Read and write the procedurally textured planets option from/to the preferences file, like all other game options.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2007 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-21 18:42:57 +00:00
Nikos Barkas
819c878a0c Made procedurally textured planets a game option. Requires definition of the ALLOW_PROCEDURAL_PLANETS macro. Procedurally textured planets as a debug flag remains by defining the ALLOW_PROCEDURAL_PLANETS_AS_DEBUG_FLAG.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2006 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-21 18:22:43 +00:00
Nikos Barkas
f17187aaf7 Remove unnecessary and probably buggy assignment to nil AI in -launchDefenseShip.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2005 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-19 09:05:11 +00:00
Nikos Barkas
a592352262 Reverted a no-optimization of the previous commit.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2002 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-16 19:14:17 +00:00
Nikos Barkas
39c54d0d88 Some optimizations, especially regarding procedural textures generation for planets.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2001 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-16 17:23:09 +00:00
Jens Ayton
f932b28dc7 Fixed severe Jens-being-an-idiot bug in r1998.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1999 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-16 09:55:28 +00:00
Jens Ayton
164fd3f2e9 Implemented whitelisting for legacy script conditions, and accidentally optimized evaluation while at it. Conditions for world scripts are currently sanitized (i.e. whitelisted, aliases resolved, syntax checked and partially tokenized) on the fly; this will be cached once sanitizing is implemented for actions. Deleted unused class OOLegacyEventHandlerScript.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1998 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-16 01:24:01 +00:00
Jens Ayton
7e258819b9 Implemented shader uniform binding whitelisting.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1997 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-13 08:51:46 +00:00
Jens Ayton
3997e2c835 Merged -[ShipEntity nearestPlanet] and -[ShipEntity nearestLargeBody]. Cleanup. Added uniform bindings to whitelist.plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1996 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-12 19:47:11 +00:00
Jens Ayton
7c2ab9b595 It's a good idea to save everything before checking in.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1995 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-12 18:32:43 +00:00
Jens Ayton
46c7fef016 Whitelist fixes based on forum suggestions.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1994 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-12 18:19:27 +00:00
Jens Ayton
b02f108735 Implemented AI validation OXP verifier stage. Removed invalid and unused shuttleAI.plist.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1993 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-12 18:04:02 +00:00
Jens Ayton
3b1db9072d Work towards securing legacy scripts, AIs and shader uniform bindings by whitelisting methods. Game will now print an error message if non-whitelisted methods are used in AIs; in 1.74, this will be changed to dropping non-whitelisted commands from AI actions. My intention is to have similiar mechanisms in place for scripts and uniform bindings by 1.73 release.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1991 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-11 15:53:01 +00:00
cmdrjames
f9c45d3323 Fix for: [ Bug #14011 ] Carriers should have groupID set.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1990 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-11 15:20:01 +00:00
Nikos Barkas
b2e61962a7 Fixed defense police ships launching with wrong AI (bug #015037). Changed NPCShipLaunchedFromStation handler name to stationLaunchedShip.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1986 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-11 14:07:34 +00:00
Nikos Barkas
ca6972e025 Fixed a bug where role probability sets were getting corrupted during creation of mutable copies of themselves, under certain conditions. Fixes the particularly annoying bug of the missing buoys.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1983 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-09 07:10:47 +00:00
Nikos Barkas
cab167d520 Added the station script event handler NPCShipLaunchedFromStation. Changed the primary role of pirate ships launched from stations to defense_ship. Both as per Eric's recommendations.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1982 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-08 13:08:03 +00:00
cmdrjames
fea4c08750 q-mines are now more selective in what they cascade
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1981 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-08 00:07:07 +00:00
Jens Ayton
09e44b5f9c Missing files.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1979 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-07 23:51:58 +00:00
Jens Ayton
14e48aad0e Removed unused port_radius attributes.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1978 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-07 23:49:45 +00:00
Jens Ayton
c434cb64f1 Implemented AI method scanForNearestShipMatchingPredicate:.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1977 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-07 23:27:49 +00:00
Nikos Barkas
7ff394ceaf Slightly improved language for the processor count log header message on the SDL builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1975 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-06 17:26:28 +00:00
Jens Ayton
32f0e10996 Rearranged ship registry verification stages so _overrides are applied early and subentities are tagged before bad entries (which may own subentities) start being culled.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1974 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-06 16:10:44 +00:00
Jens Ayton
81fc966691 Slightly better error messages when addShips*: fail.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1973 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-05 20:44:22 +00:00
Jens Ayton
8f0900ea10 Fixed uninitialized variable warning from r1955/1966.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1972 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-05 17:03:41 +00:00
Nikos Barkas
4fccd38034 Upgraded libpng on Windows to version 1.2.34 in an attempt to deal with the corrupt textures issue on multiple loading threads. Enabled use of all available processors for texture loading threads.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1966 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-04 15:45:01 +00:00
Jens Ayton
0319297410 Fix for AI restart in policeInterceptAI as per http://aegidian.org/bb/viewtopic.php?p=65011#65011 .
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1964 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-04 00:45:24 +00:00
Nikos Barkas
3b25f17ff7 Fixed some problems in the equip ship screen (not redrawing screen upon equipment buy and description for fuel shown for all items).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1961 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-03 17:40:10 +00:00
Jens Ayton
5456372c05 Cleanup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1960 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-03 14:19:44 +00:00
Jens Ayton
8270380c53 Tiny tweaks.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1959 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-03 00:07:05 +00:00
cmdrjames
b85e28c1a6 Add docked shipyard tech level condition functionality:
<key>conditions</key>
<array>
<string>dockedTechLevel_number lessthan 11</string>
</array> 

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1958 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-02 22:17:01 +00:00
Jens Ayton
a1470f5b9c Pegged texture loading thread count to 4 in hopes of seeing texture corruption issues.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1957 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-02 01:20:49 +00:00
cmdrjames
e8b0593101 take the swich/case default back out so that the compiler tells us if we miss a case
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1956 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-01 22:11:46 +00:00
cmdrjames
5260ef0ed6 Mostly cosmetic changes while looking into bug list. Code is now slightly easier to read, and a couple of very slight improvements, such as adding defaults to a switch/case
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1955 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-01 21:31:11 +00:00
Nikos Barkas
c910d93bc9 Fixed a syntax error in the Cloaking Device mission script.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1952 127b21dd-08f5-0310-b4b7-95ae10353056
2009-01-01 17:20:54 +00:00
Jens Ayton
ced2067f48 Bad flasher definitions, and bad subentity definitions for frangible ships, no longer stop a ship from loading. Fixes to suppress spuripous warnings from clang static analyzer.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1945 127b21dd-08f5-0310-b4b7-95ae10353056
2008-12-31 15:45:49 +00:00