204 Commits

Author SHA1 Message Date
Jens Ayton
34aa44d687 Mac-only sound fixes: hopefully fixed streaming sound stop crash -- the conditions for it don't seem to manifest on my single-processor system. Removed last instances of Objective-C method calls in real-time sound rendering thread \(mmm, crunchy IMP caching\). Added force_streaming_sound preference for debugging purposes. Fixed buffer size calculation and tweaked threshold for using streaming sound -- sounds larger than 1 MB \(uncompressed\) will now be streamed, rather than 16 MB for stereo and 8 MB for mono.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@843 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-10 16:08:37 +00:00
Jens Ayton
e03b0918fb Cache is now rebuilt if search paths or modification dates have changed.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@842 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-09 18:41:57 +00:00
Jens Ayton
dfb2cafe63 Added high-level documentation of OOCache. Disabled cache integrity checking (OOCACHE_PERFORM_INTEGRITY_CHECKS macro). Avoid re-writing unmodified cache.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@841 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-09 17:07:46 +00:00
Jens Ayton
ec55398a9d Broke cache out into separate OOCacheManager class. Moved cache (under OS X) to ~/Library/Caches/org.aegidian.oolite/Data Cache.plist. Use binary plist format (on OS X) for cache. Detect byte sex mismatch in cache handling.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@831 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-06 23:50:32 +00:00
Jens Ayton
abe53df44f Yaw control working on OS X; disabled in strict mode.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@830 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-06 18:40:34 +00:00
Jens Ayton
ece83a5097 Made Advanced Navigational Array available_to_all.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@829 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-06 16:39:58 +00:00
Jens Ayton
b97023eb63 Added more spiff to spiffy log system (code was expecting config file to be in the wrong place). OOLoggified GLSL setup. Re-rejiggered Xcode project -- now puts stuff in the right folders _and_ notices when files change.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@826 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-06 02:05:45 +00:00
Jens Ayton
0214517dd8 Found a version number and copyright string I'd forgotten to update.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@821 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-05 14:44:56 +00:00
Jens Ayton
46508e662b More OOLogification.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@819 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-05 14:34:26 +00:00
Jens Ayton
89a8501491 Added Advanced Navigational Array code by another_commander. Stopped saving textured planet flag in save files as it's experimental and, er, in need of further performance optimization. (Should be saved in preferences rather than game files anyway.)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@818 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-05 13:19:11 +00:00
Jens Ayton
631971078a Converted much of PlayerEntityScripting to OOLog(). Replaced DEBUG_SCRIPT with flexible OOLogging metaclass goodness. Added OOLogIndentIf()/OOLogOutdentIf(). Fixed some bugs in OOLogging.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@817 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-04 19:01:58 +00:00
Jens Ayton
c0019d4048 Fixed up Xcode build process to build and embed Spotlight metadata importer. Also did the copyright notice dance in metadata importer source. Cleaned up group paths in Xcode project. Unbroke deployment build. Wished I had more computers to run distributed builds on.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@815 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-04 14:05:05 +00:00
Jens Ayton
f8c5158df1 More OOLog stuff. Reduced use of ObjC message calls in sound pseudo-RT thread (could potentially cause lockups, apparently) -- should look into C implementation of VirtualRingBuffer.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@814 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-04 13:30:09 +00:00
Jens Ayton
768b1c75ab Added oolog command line tool to manipulate OOLogging settings. Moved bits of OOCASound over to OOLog. Hijacked NSLog to call OOLog(@"unclassified", foo) instead.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@813 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-04 12:35:25 +00:00
Jens Ayton
ba718f3b70 Import OOLogging from OOCocoa.h. Rearranged logcontrol.plist. Changed to camelCase for both message classes and metaclasses. Added ability to override an explicit logcontrol.plist setting with 'inherit'.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@812 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-04 11:22:06 +00:00
Jens Ayton
1c6dfae3e2 Sexed up OOLogging with metaclass system and locking.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@811 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-03 19:05:50 +00:00
Jens Ayton
bb28b341c1 Moved more messages over to OOLogging, moved most log message classes into the relevant files rather than OOLogging.h to reduce recompiling.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@810 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-03 16:07:19 +00:00
Jens Ayton
73e9925e1f Converted a number of verbose log messages to use OOLog. Changed default of logging-show-class to YES.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@809 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-03 15:40:23 +00:00
Jens Ayton
f3d32ecfa4 Added OOLog(), a replacement for NSLog().
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@804 127b21dd-08f5-0310-b4b7-95ae10353056
2007-03-02 21:20:18 +00:00
dajt
17761e7797 Added yaw control.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@773 127b21dd-08f5-0310-b4b7-95ae10353056
2007-01-21 10:26:30 +00:00
Giles Williams
91320d4db4 tweaks to planet textures - planet-shader removed
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@739 127b21dd-08f5-0310-b4b7-95ae10353056
2006-08-21 19:02:44 +00:00
Giles Williams
9d7c7cf11f more work on planet textures and shaders
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@734 127b21dd-08f5-0310-b4b7-95ae10353056
2006-08-18 23:42:55 +00:00
Giles Williams
fea49faba7 fix clash between Nova and Trumbles
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@731 127b21dd-08f5-0310-b4b7-95ae10353056
2006-08-18 08:57:20 +00:00
Giles Williams
c555de8a1e fixed escape pod flashers
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@725 127b21dd-08f5-0310-b4b7-95ae10353056
2006-08-12 08:04:50 +00:00
Giles Williams
e1edd7c6a6 WIP on new-style brains (instincts+AI)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@669 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-24 16:09:04 +00:00
Giles Williams
8f700ab576 bump version number
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@666 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-18 17:13:04 +00:00
Giles Williams
5242fcafab fixed external view numbering
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@665 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-18 17:11:54 +00:00
Giles Williams
c21dd5fccd accept a string as a keyconfig.plist value - setting the required key to the first character in the string
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@647 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-09 19:12:21 +00:00
Giles Williams
b680d2a359 adding wreckage to further prettify explosions
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@642 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-07 10:55:28 +00:00
Giles Williams
53b06c8332 max speed through ring now recommended 225
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@634 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-05 13:21:20 +00:00
Giles Williams
dc0c91e70f custom views for each player ship
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@632 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-05 13:08:29 +00:00
Giles Williams
15b53343eb improvements to AI piloting and navigation, added FTR navigation
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@629 127b21dd-08f5-0310-b4b7-95ae10353056
2006-07-01 16:36:35 +00:00
Giles Williams
f306c999c3 introducing unpiloted entities (missiles, etc. that HAVE NO CREW and therefore do not communicate!)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@623 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-28 16:06:49 +00:00
Giles Williams
a22aa6b30b update thargon scanner range
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@614 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-25 11:05:41 +00:00
Giles Williams
8166f12559 include key_custom_view
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@613 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-25 11:04:30 +00:00
Giles Williams
ea0c50f8c1 use standard utility AIs (gotoWaypointAI, receiveDockingAI) as subroutines to simplify AIs
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@610 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-23 16:10:55 +00:00
Giles Williams
e0a5d349c6 new AIs (effectively AI subroutines)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@607 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-23 13:01:12 +00:00
Giles Williams
15834f0b46 fixup docking routines again and add two new utility AIs (part of large vessel adaptations
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@606 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-23 12:16:14 +00:00
Giles Williams
715de84b12 improvements to docking subroutines
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@605 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-23 10:19:27 +00:00
Giles Williams
aded61b305 changes avoiding enter key repeat problems in mission choices
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@590 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-19 09:31:48 +00:00
Giles Williams
8f35abf10b replace percent symbol with text
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@589 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-17 08:43:50 +00:00
Giles Williams
98d24ad127 cloaking device portable between ships
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@588 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-17 08:43:10 +00:00
Giles Williams
ce9cd4611b better handling of when cargo contracts are short of a barrel or two
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@567 127b21dd-08f5-0310-b4b7-95ae10353056
2006-06-10 21:44:05 +00:00
Giles Williams
a410209c79 adding a character to the constrictor hunt mission
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@547 127b21dd-08f5-0310-b4b7-95ae10353056
2006-05-10 18:19:13 +00:00
Giles Williams
37cc36c68c renaming crewroles.pist to characters.plist
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@543 127b21dd-08f5-0310-b4b7-95ae10353056
2006-05-10 13:44:49 +00:00
Giles Williams
d66a1b4762 clearing for re-use
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@542 127b21dd-08f5-0310-b4b7-95ae10353056
2006-05-10 13:38:46 +00:00
Giles Williams
848e522d34 can rescue and capture NPCs in escape pods
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@533 127b21dd-08f5-0310-b4b7-95ae10353056
2006-05-09 19:53:21 +00:00
Giles Williams
18b122fe3c fix showing planets on f7 screen
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@527 127b21dd-08f5-0310-b4b7-95ae10353056
2006-05-05 22:53:21 +00:00
Giles Williams
468c176a8b amendments to delivery report and setting PLAYER_MAX_FUEL in place more sternly
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@515 127b21dd-08f5-0310-b4b7-95ae10353056
2006-05-02 12:11:20 +00:00
Giles Williams
274d214868 added last few custom sounds replacements for 'boop'
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@500 127b21dd-08f5-0310-b4b7-95ae10353056
2006-04-28 09:42:17 +00:00