Nikos Barkas
39f1fd30fb
Bypass two harmless, log cluttering OpenGL error reports, at the same time gaining on performance, by setting rendering.opengl.error to no in logcontrol.plist.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1235 127b21dd-08f5-0310-b4b7-95ae10353056
2007-11-17 21:34:05 +00:00
Nikos Barkas
c060874ded
Added an alternative installer script, with the same functionality as the previous, but more modern looking. Most likely, this will be the script that will be used to create the upcoming version's Windows installer.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1234 127b21dd-08f5-0310-b4b7-95ae10353056
2007-11-13 15:16:51 +00:00
Nikos Barkas
6d4e87b511
Improved the looks of the Windows installer and tweaked it a bit to read the version of Oolite from the environment.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1233 127b21dd-08f5-0310-b4b7-95ae10353056
2007-11-11 11:24:27 +00:00
Nikos Barkas
f7789096f3
Attempt to resolve a problem with sticky messages on certain systems, by reverting to the 1.69.1 method of handling message fade times. Updated the Oolite_Readme.txt documents to reflect the current project status.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1232 127b21dd-08f5-0310-b4b7-95ae10353056
2007-11-06 17:22:24 +00:00
Jens Ayton
44fd79dc64
Cache synthesized material dictionaries. Added sendScriptMessage: AI method.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1231 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-23 07:36:58 +00:00
Nikos Barkas
413c4a143a
User preferences are now saved when Oolite under GNUstep exits.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1230 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-23 06:55:25 +00:00
Nikos Barkas
de62146790
Gave SDL builds their exit option back ;-). Tidied up a little the menu handling. Enabled mouse double clicking under GNUstep.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1229 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-22 15:03:22 +00:00
Jens Ayton
9d9128bcb1
* Got Game Options submenu working under OS X.
...
* Save reduced detail, wireframe and shader settings in preferences.
* Implemented variable shader complexity support.
Added default shader, used for all otherwise-unshaded ships with full shaders on, and for smooth ships or ships with effect maps specified in material dictionary with simple shaders.
* All ships now drawn with slight specular highlight by default (shininess = 10, intensity = 0.2) except in reduced detail mode.
* (JS) Made Ship.shipDescription read-write (except for the player).
* (JS) Added global function ExpandDescription(string : String), to perform substitutions like %H, [commander_name] and so forth.
* (JS) Added global function RandomName(), intended to be like %R substitution. In so doing, I discovered that %R is broken, but left it as-is so it will generate the same name for existing descriptions. Added %X to do the same thing, but without the bugs. RandomName() is different from either in that it doesn't use the "predictable" PRNG, so it will provide a new name each time. To use the "predictable" variant in JavaScript, use ExpandDescription("%X").
* Ships that hyperspace out are no longer replenished in interstellar space.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1228 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-22 12:18:18 +00:00
Nikos Barkas
dbc9243757
Some more (hopefully last ones) mini-corrections for the options menus.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1227 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-21 18:05:55 +00:00
Nikos Barkas
0107fcf8e0
Prettified a bit the Options menus, at the same time making them more compliant with task's #003782 spec.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1226 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-21 16:39:49 +00:00
Nikos Barkas
e7c9b3ddc5
Split game options out of menu screen, as per Berlios task #003782 .
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1225 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-21 15:16:56 +00:00
Nikos Barkas
1fffdcbfc1
Wireframe mode has been removed from the debug options and is now a proper game option.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1224 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-19 22:16:26 +00:00
Nikos Barkas
b9b091e880
When in wireframe mode, render also the planets as wireframes.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1223 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-19 19:45:42 +00:00
Nikos Barkas
440776cd50
Enabled wireframe graphics debug option. Pause the game and press 'w' to activate.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1222 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-19 14:29:26 +00:00
Jens Ayton
500010c2c3
JS: return null for undefined mission variables, rather than undefined, because null is easier to deal with. Added player.trumbleCount property.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1221 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-19 10:09:51 +00:00
Jens Ayton
0b678c996c
Made JS Vector/Quaternion array integration more lax about types, specifically because numbers in OpenStep-format property lists are actually strings and will be bridged to JS as such.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1220 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-16 17:54:44 +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
Nikos Barkas
a6f75a6d48
Added estimated travel time display for currently selected destination within 7LY of the player, on local and galactic charts.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1218 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-16 10:55:10 +00:00
Jens Ayton
b994a309cf
Fix wot make debug console work.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1217 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-15 14:30:15 +00:00
Jens Ayton
359ebaf43b
Oops, I did it again.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1216 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-15 14:26:07 +00:00
Jens Ayton
60f34500d7
Added JS Entity.isSun attribute. Fixed a JS GC root management bug (again).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1215 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-15 13:54: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
Jens Ayton
2d3e8e3a50
Checked in missing files.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1212 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-13 16:55:53 +00:00
Jens Ayton
6a8c7976dd
Added scriptInfo dictionary to ships, and global JS objects worldScripts and worldScriptNames. Fiddled with messages on both sides of debug console. Fiddled with flags on JavaScript classes, hopefully for the better.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1211 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-13 15:10:16 +00:00
Nikos Barkas
49944f8f55
Retain the _inStream and _outStream objects on initialization, as they are created autoreleased.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1210 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-13 09:05:50 +00:00
Jens Ayton
18d59be255
Fix to dockingAI.plist submitted by Eric Walch.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1209 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-10 21:59:36 +00:00
Jens Ayton
b7d92d09a2
Rearranged socket set-up in debug console client to work under GNUstep.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1208 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-10 21:54:11 +00:00
Jens Ayton
c69733ac93
Changed to using a pool of JavaScript contexts instead of a single one, so that JS -> ObjC -> JS call chains work. I'm not sure I fully trust this, but it appears to work. Need to think up some serious stress tests.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1207 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-09 18:02:18 +00:00
Jens Ayton
71f1dd2ac9
Added debug logging for debug TCP protocol (activated by OO_EXCLUDE_DEBUG_SUPPORT macro).
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1206 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-08 20:50:04 +00:00
Jens Ayton
3d322bac29
Fix (hopefully) for debugger not closing connection cleanly on quit under GNUstep.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1205 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-08 20:10:23 +00:00
Jens Ayton
afc5162e67
JS tweaks.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1203 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-08 15:17:47 +00:00
Jens Ayton
5d577d220e
Allow console-host to be host name as well as IP address.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1202 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-08 13:59:55 +00:00
Nikos Barkas
992c731fd1
Updated GNUmakefile with newly added files. Eliminated an [interface] may not respond to [method] warning.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1201 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-08 13:23:56 +00:00
Jens Ayton
d675db1622
JS entity-searching functions now return results sorted by proximity to reference entity, if specified. Cleaned up implementation, too.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1200 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-08 12:06:39 +00:00
Jens Ayton
1ac6a05eed
Made OODebugTCPConsoleProtocol.h use the appropriate string type when included from OOTCPStreamDecoder.c, and also made it possible to supply an arbitrary string type macro for other uses.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1199 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-08 10:36:43 +00:00
Jens Ayton
160cd8b94d
Implemented JS class Planet. Added JS System attributes mainPlanet, sun, planets and allShips, and methods shipsWithPrimaryRole(), shipsWithRole(), entitiesWithScanClass() and filteredEntities() (the latter disabled due to an architectural flaw -- we need more than one JSContext). In support of this, added/exposed generic predicate-based entity counters and getters to Universe.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1198 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-07 21:41:18 +00:00
Nikos Barkas
f6e4fc2d18
Made the new Oolite debug console code compilable under Windows, hopefully without breaking anything. Updated gnustep-base.dll to version 1.13.0, as the previous one did not have support for NSStream objects. Fixed a couple of problems with the updated GNUmakefile.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1197 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-07 17:39:30 +00:00
Jens Ayton
fa09a8ca8d
Minor fiddling.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1195 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-06 17:11:19 +00:00
Jens Ayton
acb3dc9e92
Fixed -[Universe unMagicMainStation], and thus the blowUpMainStation script method. Made becomeExplosion, becomeLargeExplosion: and becomeEnergyBlast do nothing for the main station, to avoid a potential JavaScript-induced crash.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1194 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-06 14:48:00 +00:00
Jens Ayton
9994475a5a
Fixed Mac debug console. Added auto-generated stripped-down debug.oxp to trigger TCP console support.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1192 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-06 13:25:59 +00:00
Jens Ayton
8904c39401
Oolite should now build with external debug console support on all platforms. Mac debug OXP is broken.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1191 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-06 11:03:01 +00:00
Nikos Barkas
93c8fcc8bd
Eliminated a very annonying 'parameter has incomplete type' warning on GNUstep builds.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1190 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-05 15:37:26 +00:00
Jens Ayton
9c2f6c8ea4
Implemented portableish TCP-based JavaScript debug console. Some rearranging needed for it to be actually usable (I'll get on it tomorrow). Cleaned up Trumbles script.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1189 127b21dd-08f5-0310-b4b7-95ae10353056
2007-10-03 22:54:57 +00:00
Jens Ayton
ed757081ba
Added missing file. Removed some commented out junk code. Fixed invalid XML comment.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1188 127b21dd-08f5-0310-b4b7-95ae10353056
2007-09-30 10:21:49 +00:00
Jens Ayton
3c16a7cdaf
Added clearMissionScreen scripting method (legacy and JS). Scripting tweaks. Ported trumble mission to JavaScript. Attempted to address JS Ship.escorts bug but couldn't reproduce it.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1187 127b21dd-08f5-0310-b4b7-95ae10353056
2007-09-29 12:27:31 +00:00
Jens Ayton
ff941ad9ff
More explicit message about the need to set JS_C_STRINGS_ARE_UTF8. Explicitly set scanClass of 'barrel' to CLASS_CARGO for scripted creation.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1186 127b21dd-08f5-0310-b4b7-95ae10353056
2007-09-29 09:08:31 +00:00
Nikos Barkas
53a0d0c1c0
Made awardFuel and setFuelLeak act on the appropriate script target entity rather than always on the player.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1185 127b21dd-08f5-0310-b4b7-95ae10353056
2007-09-27 06:03:34 +00:00
Jens Ayton
8b098b3b76
Implemented Player.commsMessage() and player.consoleMessage() JS methods. Mucked about with key_dump_target_state -- now debug/test build only.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1183 127b21dd-08f5-0310-b4b7-95ae10353056
2007-09-23 14:32:40 +00:00
Jens Ayton
ce2080f402
Implemented quaternion_rotate_vector properly.
...
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1182 127b21dd-08f5-0310-b4b7-95ae10353056
2007-09-23 10:44:34 +00:00