2009-01-31 12:51:48 +00:00
/* This file controls the visibility of various error messages and groups of error
messages, or “message classes”. It can be selectively overridden using a separate
logcontrol.plist file in your AddOns folder, or a dictionary called “logging-enable” in
Oolite’ s preferences.
2007-03-03 15:40:23 +00:00
2009-01-31 12:51:48 +00:00
Classes which are related, but not hierarchically, can be controlled using metaclasses,
whose names start with a $. See $error etc. below for examples.
2007-03-03 19:05:50 +00:00
2007-03-03 15:40:23 +00:00
Log output can be modified using the following preference keys:
logging-show-class
logging-show-function
logging-show-file-and-line
2007-07-08 22:47:30 +00:00
logging-echo-to-stderr
2007-03-03 15:40:23 +00:00
2007-07-08 22:47:30 +00:00
“logging-show-class” defaults to YES. The others default to NO.
2009-01-31 12:51:48 +00:00
“logging-echo-to-stderr” causes log information to be printed to the standard error
file in addition to the log file.
2007-03-03 15:40:23 +00:00
*/
2007-05-24 10:01:41 +00:00
{
/*** Special message classes ***/
_default = yes; // Fallback value for otherwise undefined classes. Must be yes or no.
// _override = yes; // Use to force display of all messages (or suppress all messages). Must be yes or no.
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
/*** Metaclasses ***/
2007-12-03 17:53:37 +00:00
$aiError = $scriptError;
2007-05-24 10:01:41 +00:00
$entityState = no;
2009-03-26 14:12:35 +00:00
$error = yes; // Most errors, ranging from minor to major. Should probably always be enabled.
2007-05-24 10:01:41 +00:00
$scriptDebugOn = no; // This metaclass is set by the debugOn and debugOff script actions.
2009-03-26 14:12:35 +00:00
$scriptError = $error;
2007-05-24 10:01:41 +00:00
$shaderDebugOn = no; // Enabled by 's' key while paused, disabled by 'n' while paused.
2009-03-26 14:12:35 +00:00
$shaderError = $error;
$troubleShootingDump = yes;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
/*** Common programming problems ***/
2007-06-09 10:38:16 +00:00
general.error = $error;
2007-05-24 10:01:41 +00:00
general.error.subclassResponsibility = inherit;
general.error.parameterError = inherit;
general.error.deprecatedMethod = inherit;
2007-06-09 10:38:16 +00:00
general.error.inconsistentState = inherit;
2009-09-25 13:25:19 +00:00
exception = yes;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
files.notFound = $error; // Failure to load a file.
files.notLoaded = $error; // A file should have been loaded at some earlier point, but wasn’ t.
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
/*** Old-style logging calls ***/
unclassified = inherit;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
/*** Module-specific message classes ***/
2008-03-02 18:56:24 +00:00
ai = yes; // AI messages are sent if a ship's reportAIMessages property is set, for instance through the JavaScript console.
2007-05-24 10:01:41 +00:00
ai.message.receive = inherit;
2008-08-29 20:44:06 +00:00
ai.takeAction = inherit;
2007-05-24 10:01:41 +00:00
ai.takeAction.noAction = inherit;
2008-12-31 15:45:49 +00:00
ai.takeAction.orphaned = $aiError;
2007-05-24 10:01:41 +00:00
ai.takeAction.debugMessage = inherit;
ai.takeAction.badSelector = inherit;
ai.pop = inherit;
2009-09-03 16:44:52 +00:00
ai.error = $aiError;
ai.error.recursion = inherit;
ai.error.stackOverflow = inherit;
ai.error.stackOverflow.dump = inherit;
2007-12-03 17:53:37 +00:00
ai.setTakeOffFromPlanet.noPlanet = $aiError;
ai.suggestEscort = inherit;
ai.suggestEscort.refused = inherit;
ai.rollD.invalidValue = $aiError;
ai.syntax.setCoordinates = $aiError;
2009-01-07 23:27:49 +00:00
ai.scanForNearestShipMatchingPredicate.compile.failed = $aiError;
2009-01-11 15:53:01 +00:00
ai.invalidFormat = $aiError;
ai.invalidFormat.state = inherit;
ai.invalidFormat.handler = inherit;
ai.invalidFormat.action = inherit;
ai.unpermittedMethod = $aiError;
ai.load = no;
2009-09-05 21:39:26 +00:00
ai.load.failed.unknownAI = $aiError;
2009-01-11 15:53:01 +00:00
ai.invalid.notAStation = $aiError; // Warning when station AI message is used on non-station.
2007-06-09 10:38:16 +00:00
2009-09-19 22:03:36 +00:00
asyncWorkManager.dispatchMethod = no;
2007-05-24 10:01:41 +00:00
beacon.list = $scriptDebugOn;
beacon.list.flightTraining = inherit;
2007-06-09 10:38:16 +00:00
2009-03-26 14:12:35 +00:00
character = $error;
2008-02-26 18:07:17 +00:00
character.load.unknownSystem = inherit;
2009-09-01 21:56:53 +00:00
$dataCacheStatus = no;
$dataCacheError = $error;
$dataCacheDebug = no;
dataCache.found = $dataCacheStatus;
2007-05-24 10:01:41 +00:00
dataCache.upToDate = $dataCacheStatus;
dataCache.notFound = $dataCacheError;
2009-09-05 12:10:11 +00:00
dataCache.rebuild = yes;
2007-05-24 10:01:41 +00:00
dataCache.rebuild.pathsChanged = inherit;
dataCache.rebuild.datesChanged = inherit;
2007-06-02 20:58:41 +00:00
dataCache.rebuild.explicitFlush = inherit;
2007-05-24 10:01:41 +00:00
dataCache.removedOld = $dataCacheStatus;
2009-09-01 21:56:53 +00:00
dataCache.willWrite = $dataCacheStatus;
2007-05-24 10:01:41 +00:00
dataCache.write.success = $dataCacheStatus;
dataCache.write.buildPath.failed = $dataCacheError;
dataCache.write.failed = $dataCacheError;
dataCache.write.serialize.failed = $dataCacheError;
dataCache.retrieve.success = $dataCacheDebug;
dataCache.retrieve.failed = $dataCacheDebug;
dataCache.set.success = $dataCacheDebug;
dataCache.set.failed = $dataCacheError;
dataCache.remove.success = $dataCacheDebug;
dataCache.clear.success = $dataCacheDebug;
dataCache.prune = $dataCacheDebug;
2007-06-09 10:38:16 +00:00
display.modes.noneFound = $error;
display.context.create.failed = $error;
2008-07-27 15:16:33 +00:00
display.mode.found = no;
display.mode.found.failed = $error;
display.mode.list = no;
display.mode.list.none = $error;
2009-03-26 14:12:35 +00:00
display.mode.list.native = yes;
2008-07-27 15:16:33 +00:00
display.mode.list.native.failed = $error;
2007-06-09 10:38:16 +00:00
display.mode.switch.failed = $error;
2008-07-27 15:16:33 +00:00
display.mode.unknown = $error;
display.initGL = no;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
$linkedListError = $error;
entity.behaviour.changed = $entityState;
2009-03-26 14:12:35 +00:00
entity.linkedList = $scriptDebugOn; // Management/verification of the lists used to track the relative position of entities.
2007-05-24 10:01:41 +00:00
entity.linkedList.add = inherit;
entity.linkedList.add.error = $linkedListError;
entity.linkedList.remove = inherit;
entity.linkedList.remove.error = $linkedListError;
2008-03-05 23:45:09 +00:00
entity.linkedList.verify = no; //$linkedListError; // Non-fatal errors that look scary.
entity.linkedList.verify.error = inherit;
2007-05-24 10:01:41 +00:00
entity.linkedList.verify.rebuild = inherit;
entity.linkedList.update.error = $linkedListError;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
equip.buy.mounted = no;
equip.buy.mounted.failed = $scriptError;
2007-06-09 10:38:16 +00:00
2007-07-29 14:17:30 +00:00
gui.reset = no;
2009-03-26 14:12:35 +00:00
input.keyMapping = no;
2007-05-24 10:01:41 +00:00
input.keyMapping.codeOutOfRange = inherit;
input.keyMapping.keyPress = no;
input.keyMapping.keyPress.keyDown = inherit;
input.keyMapping.keyPress.keyUp = inherit;
2007-06-09 10:38:16 +00:00
2009-03-26 14:12:35 +00:00
joystickHandler.init = yes;
2008-07-28 11:39:40 +00:00
2007-05-24 10:01:41 +00:00
mesh.load.error = $error;
mesh.load.error.fileNotFound = inherit;
mesh.load.error.tooManyVertices = inherit;
mesh.load.error.tooManyFaces = inherit;
2008-03-24 16:52:30 +00:00
mesh.load.octree.size = no;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
oxp.versionMismatch = $error;
2007-06-09 10:38:16 +00:00
2009-04-05 15:05:11 +00:00
player.ship = no;
player.ship.damage = no;
2007-05-24 10:01:41 +00:00
$plistError = $error;
2009-09-04 19:26:56 +00:00
plist.parse.failed = $plistError;
2007-05-24 10:01:41 +00:00
plist.wrongType = $plistError;
2007-06-09 10:38:16 +00:00
2007-11-19 18:34:28 +00:00
rendering.opengl.error = no; // Test for and display OpenGL errors
2007-05-24 10:01:41 +00:00
rendering.opengl.version = $troubleShootingDump; // Display renderer version information at startup
rendering.opengl.extensions = $troubleShootingDump; // List OpenGL extensions at startup
rendering.opengl.shader.support = $troubleShootingDump; // Messages about factors influencing availability of OpenGL shaders
2007-06-16 18:01:41 +00:00
rendering.opengl.stateDump = yes; // Dump of OpenGL state (debug tool, currently unused)
2007-05-24 10:01:41 +00:00
rendering.opengl.shader.uniform = $shaderDebugOn;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
resourceManager.foundFile = off; // Tells you where all assets (models, textures, sounds) are found. Very verbose!
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
save.failed = yes;
save.success = no;
2007-12-03 17:53:37 +00:00
quickSave.failed = yes;
load.failed = yes;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
setup.ship.badEntry.subentities = inherit;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
script.addShips.failed = $scriptError;
2009-03-26 14:12:35 +00:00
script.missionDescription = $scriptError;
2007-05-24 10:01:41 +00:00
script.missionDescription.noMissionText = inherit;
script.missionDescription.noMissionKey = inherit;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
script.debug = $scriptDebugOn;
script.debug.message = inherit; // debugMessage: script action
script.debug.onOff = inherit; // debugOn/debugOff script actions
script.debug.processSceneString.addScene = inherit;
script.debug.processSceneString.addModel = inherit;
2009-03-25 03:57:38 +00:00
script.debug.processSceneString.addMiniPlanet = inherit;
2007-05-24 10:01:41 +00:00
script.debug.processSceneString.addBillboard = inherit;
script.debug.setSunNovaIn = inherit;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
script.debug.note = inherit;
script.debug.note.awardCargo = inherit;
script.debug.note.removeAllCargo = inherit;
script.debug.note.useSpecialCargo = inherit;
script.debug.note.addShips = inherit;
script.debug.note.set = inherit;
script.debug.note.showShipyardModel = inherit;
script.debug.note.showShipModel = inherit;
script.debug.note.setFuelLeak = inherit;
script.debug.note.addPlanet = inherit;
script.debug.note.replaceVariablesInString = inherit;
script.debug.note.processSceneString = inherit;
script.debug.note.testCondition = no;
2007-06-09 10:38:16 +00:00
* All ships now have a JavaScript script attached, allowing JS scripts to
add behaviours to any ship.
* Legacy script_actions, setup_actions, launch_actions and death_actions
handled through default JavaScript script.
* In order to implement the above, JS Ship now has a runLegacyScriptActions
method. This is not to be exposed as an "official" method, though, since
we might want to change the mechanism -- for instance, to "compile"
legacy scripts into JS. Handling dynamically-generated legacy scripts in
that case would be a significant complication.
* Updates for Mac OS X 10.5 "Leopard".
- Errors on reading/writing plist will not cause a crash if building
against the Leopard SDK. (I have no intention of requiring Leopard any
time soon, but future-proofing is good.)
- OOWeakReference is now more efficient when running under Leopard, by
implementing the new "fast forwarding" mechanism.
- Threads now have names set under Leopard, which may provide debugging
advantages.
- Fixed some new build warnings for new version of apple-gcc.
- Updated type declarations to identify Oolite saved games as property
lists.
* Cleaned up PlayerEntityControls.m somewhat. Moved method declarations
into files, fixed indentation, broke up monster giant method of doom.
* Script-generated asteroids now behave like system populator-generated
asteroids (As Seen on BB[TM]).
* Minor optimizations and simplifications of legacy script engine.
* JS System.filteredEntities() now has sensible behaviour if predicate
throws an exception: the predicate is not called again, and null is
returned. The exception is reported and not rethrown.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1240 127b21dd-08f5-0310-b4b7-95ae10353056
2007-11-23 15:04:14 +00:00
script.debug.trace = off; // Trace messages are very verbose, printing at least one message per script action. They are not available at all in release versions.
script.debug.trace.scriptAction = inherit; // Messages for each legacy script action executed.
script.debug.trace.testCondition = inherit; // Messages for each legacy script condition evaluated.
script.debug.trace.testCondition.checkingVariable = inherit; // Messages for tests of mission/local variables in script conditions.
script.debug.trace.testCondition.testValues = inherit; // Messages for string and number comparisons.
script.debug.trace.testCondition.oneOf = inherit; // Messages for "oneof" tests.
2007-05-24 10:01:41 +00:00
script.debug.syntax = $scriptError; // Messages relating to script formatting
script.debug.syntax.badConditional = inherit;
* All ships now have a JavaScript script attached, allowing JS scripts to
add behaviours to any ship.
* Legacy script_actions, setup_actions, launch_actions and death_actions
handled through default JavaScript script.
* In order to implement the above, JS Ship now has a runLegacyScriptActions
method. This is not to be exposed as an "official" method, though, since
we might want to change the mechanism -- for instance, to "compile"
legacy scripts into JS. Handling dynamically-generated legacy scripts in
that case would be a significant complication.
* Updates for Mac OS X 10.5 "Leopard".
- Errors on reading/writing plist will not cause a crash if building
against the Leopard SDK. (I have no intention of requiring Leopard any
time soon, but future-proofing is good.)
- OOWeakReference is now more efficient when running under Leopard, by
implementing the new "fast forwarding" mechanism.
- Threads now have names set under Leopard, which may provide debugging
advantages.
- Fixed some new build warnings for new version of apple-gcc.
- Updated type declarations to identify Oolite saved games as property
lists.
* Cleaned up PlayerEntityControls.m somewhat. Moved method declarations
into files, fixed indentation, broke up monster giant method of doom.
* Script-generated asteroids now behave like system populator-generated
asteroids (As Seen on BB[TM]).
* Minor optimizations and simplifications of legacy script engine.
* JS System.filteredEntities() now has sensible behaviour if predicate
throws an exception: the predicate is not called again, and null is
returned. The exception is reported and not rethrown.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1240 127b21dd-08f5-0310-b4b7-95ae10353056
2007-11-23 15:04:14 +00:00
script.debug.syntax.badComparison = inherit;
2007-05-24 10:01:41 +00:00
script.debug.syntax.action = inherit;
script.debug.syntax.action.noneSpecified = inherit;
script.debug.syntax.action.badSelector = inherit;
* All ships now have a JavaScript script attached, allowing JS scripts to
add behaviours to any ship.
* Legacy script_actions, setup_actions, launch_actions and death_actions
handled through default JavaScript script.
* In order to implement the above, JS Ship now has a runLegacyScriptActions
method. This is not to be exposed as an "official" method, though, since
we might want to change the mechanism -- for instance, to "compile"
legacy scripts into JS. Handling dynamically-generated legacy scripts in
that case would be a significant complication.
* Updates for Mac OS X 10.5 "Leopard".
- Errors on reading/writing plist will not cause a crash if building
against the Leopard SDK. (I have no intention of requiring Leopard any
time soon, but future-proofing is good.)
- OOWeakReference is now more efficient when running under Leopard, by
implementing the new "fast forwarding" mechanism.
- Threads now have names set under Leopard, which may provide debugging
advantages.
- Fixed some new build warnings for new version of apple-gcc.
- Updated type declarations to identify Oolite saved games as property
lists.
* Cleaned up PlayerEntityControls.m somewhat. Moved method declarations
into files, fixed indentation, broke up monster giant method of doom.
* Script-generated asteroids now behave like system populator-generated
asteroids (As Seen on BB[TM]).
* Minor optimizations and simplifications of legacy script engine.
* JS System.filteredEntities() now has sensible behaviour if predicate
throws an exception: the predicate is not called again, and null is
returned. The exception is reported and not rethrown.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1240 127b21dd-08f5-0310-b4b7-95ae10353056
2007-11-23 15:04:14 +00:00
script.debug.syntax.action.badElement = inherit;
2007-05-24 10:01:41 +00:00
script.debug.syntax.scriptCondition.noneSpecified = inherit;
script.debug.syntax.setPlanetInfo = inherit;
script.debug.syntax.awardCargo = inherit;
script.debug.syntax.messageShipAIs = inherit;
script.debug.syntax.addShips = inherit;
script.debug.syntax.set = inherit;
script.debug.syntax.reset = inherit;
2007-12-03 17:53:37 +00:00
script.debug.syntax.subtract = inherit;
2007-06-09 10:38:16 +00:00
2007-07-07 15:44:50 +00:00
script.error = $scriptError;
script.error.removeAllCargo.notDocked = inherit;
2007-12-03 17:53:37 +00:00
script.error.addPlanet.keyNotFound = inherit;
script.error.addPlanet.noPosition = inherit;
2008-02-29 15:48:00 +00:00
script.error.exception = inherit;
2007-07-07 15:44:50 +00:00
2007-05-24 10:01:41 +00:00
script.javaScript.load.success = no;
script.javaScript.load.failed = $scriptError;
script.javaScript.init.success = no;
script.javaScript.init.error = $error; // Fatal start-up error
script.javaScript.call.badSelector = $scriptError;
script.javaScript.error = $scriptError;
script.javaScript.exception = $scriptError;
script.javaScript.warning = $scriptError;
script.javaScript.badParameter = $scriptError;
2008-04-30 19:13:02 +00:00
script.javaScript.context.create = no;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
script.load = no;
script.load.badName = $scriptError;
script.load.notFound = $scriptError;
script.load.parseOK = inherit;
script.load.unnamed = $scriptError;
script.load.exception = $error;
script.load.world.listAll = $troubleShootingDump; // List names and versions of all loaded world scripts at startup.
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
script.plist.run.badTarget = $error;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
script.trace = no;
script.trace.runWorld = inherit;
script.trace.plist.run = inherit;
script.trace.javaScript.call = inherit; // Prints selector and parameter string on Player.call()
2007-06-09 10:38:16 +00:00
2008-03-02 18:56:24 +00:00
script.deprecated.scriptActionOnTarget = $scriptError; // Warning not to use scriptActionOnTarget:
2009-01-16 01:24:01 +00:00
script.unpermittedMethod = $scriptError;
2007-06-09 10:38:16 +00:00
2009-03-26 14:12:35 +00:00
sdl = no;
2008-07-27 15:16:33 +00:00
sdl.init.failed = $error;
sdl.init.audio.failed = $error;
2007-05-24 10:01:41 +00:00
searchPaths.dumpAll = $troubleShootingDump;
2007-06-09 10:38:16 +00:00
2007-05-24 10:01:41 +00:00
$shaderDebug = $shaderDebugOn;
$shaderError = $error;
shader.load.noShader = $error;
shader.uniform = $shaderDebug;
shader.uniform.set = inherit; // Successfully set a uniform.
shader.uniform.unSet = inherit; // A uniform went unset or was cleared (either because there was no matching uniform in the shader, or the new uniform could not be set up).
shader.uniform.badDescription = inherit; // A uniform specified in shipdata.plist could not be set up, because the configuration could not be understood.
shader.uniform.bind.failed = inherit; // Problem setting up uniform bound to an object property.
2009-01-13 08:51:46 +00:00
shader.uniform.unpermittedMethod = $shaderError;
2009-09-05 11:37:34 +00:00
shader.uniform.unknownType = $shaderError;
2007-05-24 10:01:41 +00:00
shader.vessel.init = $shaderDebug;
shader.compile.vertex.failure = $shaderError;
shader.compile.fragment.failure = $shaderError;
shader.link.failure = $shaderError;
2007-06-09 10:38:16 +00:00
* 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
ship.noPrimaryRole = no;
2009-02-06 16:13:36 +00:00
ship.escort = no;
ship.escort.accept = inherit;
ship.escort.reject = inherit;
* 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
2009-09-04 12:06:47 +00:00
shipData.load.shipyard.unknown = yes; // Warning for when shipyard.plist entries do not have matching shipdata.plist entry.
2008-07-11 20:25:09 +00:00
shipData.load.begin = yes;
shipData.load.done = no;
2009-01-16 01:24:01 +00:00
shipData.load.error = $error;
shipData.load.warning = $error;
2009-02-11 17:37:20 +00:00
shipData.translateSubentity = no;
2008-05-08 19:48:22 +00:00
* 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
2008-12-13 10:21:31 +00:00
shipRegistry.selection.profile = no;
2008-03-03 22:43:18 +00:00
sky.setup = no;
2009-03-26 14:12:35 +00:00
$soundError = $error;
$soundDebug = no;
$soundDebugVerbose = $soundDebug;
sound.channel.cleanup.success = $soundDebugVerbose;
sound.channel.cleanup.failed = $soundError;
sound.channel.cleanup.failed.broken = inherit;
sound.channel.cleanup.failed.badState = inherit;
sound.channel.machPortError = $soundError;
2009-07-03 09:20:13 +00:00
sound.customSounds = $soundDebug;
sound.customSounds.recursion = $soundError; // Circular dependency in customsounds.plist, e.g. [foo] = [bar], [bar] = [foo].
2009-03-26 14:12:35 +00:00
sound.initialization = $soundError;
sound.initialization.error = inherit;
sound.load.success = $soundDebug;
sound.load.failed = $soundError;
sound.mixer.outOfChannels = $soundError;
sound.mixer.inspector.loadFailed = $soundError;
sound.mixer.replacingBrokenChannel = $soundDebug;
sound.mixer.failedToConnectChannel = $soundError;
sound.play.success = $soundDebugVerbose;
sound.play.failed = $soundError;
sound.play.failed.badReuse = inherit;
sound.play.failed.setupFailed = inherit;
sound.play.failed.auError = inherit;
sound.render.undexpectedNull = $soundError;
sound.streaming.refill = $soundDebugVerbose;
sound.streaming.loop = $soundDebug;
sound.streaming.underflow = $soundError;
sound.virtualringbuffer = $soundError;
sound.streaming.releaseContext = $soundDebug;
sound.invalidBeep = $soundError;
2008-03-11 19:49:46 +00:00
2007-05-24 10:01:41 +00:00
strings.conversion = $scriptError; // Conversion of text to values (vectors, quaternions etc)
strings.conversion.vector = inherit;
strings.conversion.quaternion = inherit;
strings.conversion.vectorAndQuaternion = inherit;
strings.conversion.randomSeed = inherit;
2007-06-09 10:38:16 +00:00
2008-03-11 08:25:42 +00:00
sun.nova = no; // Debug messages for nova
2007-05-24 10:01:41 +00:00
$textureDebug = no;
texture.load.noName = $error;
texture.dealloc = $textureDebug;
2009-03-26 14:12:35 +00:00
texture.planet.generate = $textureDebug;
2007-05-24 10:01:41 +00:00
texture.upload = $textureDebug;
2007-06-09 10:38:16 +00:00
2007-07-17 10:42:36 +00:00
textureCache = $textureDebug;
2007-05-24 10:01:41 +00:00
textureLoader.asyncLoad = $textureDebug;
textureLoader.asyncLoad.done = inherit;
textureLoader.asyncLoad.exception = $error;
textureLoader.block = $textureDebug;
textureLoader.block.done = inherit;
textureLoader.detachThreads.failed = $error;
textureLoader.queueTask.inconsistency = $error;
textureLoader.unknownType = $error;
2007-06-09 10:38:16 +00:00
2008-03-03 20:41:08 +00:00
universe.populate = no; // “Populating a system with…” message when generating a star system
2007-05-24 10:01:41 +00:00
universe.populate.witchspace = inherit;
2008-03-03 20:41:08 +00:00
universe.setup.badStation = $scriptError; // Message generated if the main station turns out not to be a station (for instance, this could happen if a non-station ship had the role coriolis).
2007-06-09 10:38:16 +00:00
2009-01-12 18:04:02 +00:00
verifyOXP.verbose = yes;
2007-07-18 23:53:51 +00:00
2007-05-24 10:01:41 +00:00
/*** Mac OS X/Cocoa-specific ***/
growl.error = $error;
growl.debug = no;
2007-06-09 10:38:16 +00:00
2009-03-26 14:12:35 +00:00
iTunesIntegration.failed = $error;
2007-05-24 10:01:41 +00:00
}