3603 Commits

Author SHA1 Message Date
Jens Ayton
8be644228d Fixed potential random crash after installing more than 16 frame callbacks at once.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4221 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-04 12:04:25 +00:00
Marc
a42e42cde9 Last 'thargon' > 'EQ_THARGON' udate?
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4220 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-03 11:21:45 +00:00
Eric Walch
687f4be4d0 _ Corrected the missile_launch_position for thargoids and added an error message for other oxp ships with similar wrong positions, while ignoring the faulty positions.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4219 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-03 11:19:49 +00:00
Marc
c1930937d9 Fixed another uninitialized value! :)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4218 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-03 09:42:55 +00:00
Jens Ayton
ced5292dd7 Fixed uninitialized value warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4217 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-03 07:25:17 +00:00
Jens Ayton
fa28e05d98 Fix for BGS-A1.0 timer crasher.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4216 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-02 22:44:45 +00:00
Jens Ayton
a11ef65cd3 Reduced redundant memory management in OOPriorityQueue.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4215 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-02 22:38:56 +00:00
Jens Ayton
7ba3cce23a Turned EquipmentInfo.toString() into EquipmentInfo.prototype.toString() (fallout from the prototype chain fixage).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4214 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-02 14:46:54 +00:00
Marc
424580621e Thargons backward compatibility: all 'thargon' only ships/missiles are now updated to 'EQ_THARGON', with a warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4213 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-02 12:02:23 +00:00
getafix
0c126dc0d3 Fixed Linux packaging (autopackage) breakage following PLAYING.TXT removal (r4209).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4212 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-02 10:16:17 +00:00
Marc
40184ebb0c Duplicate strings part II: restored the previous translation strings. Distance and estimated travel time strings can now be overridden globally, or assume separate values depending on which chart is displayed! :)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4211 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-02 09:53:03 +00:00
Jens Ayton
150dd2b9a5 JavaScript console and global object are now rebuilt when resetting the game, to make it impossible to smuggle information across sections. There seem to be minor JS-related leaks as a result. Be on the lookout for exciting new crashers! As an arguably unfortunate side-effect, the console currently doesn't work when resetting into strict mode.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4210 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-01 21:12:38 +00:00
Marc
62fb7e8aa0 Removed duplicate strings in descriptions.plist (change in translation string name)
Some txt updates (porting & readme_linux in particular might well need to be further updated)

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4208 127b21dd-08f5-0310-b4b7-95ae10353056
2011-02-01 20:15:52 +00:00
Jens Ayton
4ade099cec Reduced laser memory usage by a factor of 850.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4207 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-31 22:26:06 +00:00
Jens Ayton
6347c98045 Removed pointless dependency.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4206 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-31 21:02:58 +00:00
Jens Ayton
ec8d9eb6f4 Deleted pointless declaration.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4205 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-31 21:01:39 +00:00
Jens Ayton
a07e74113e Save half a meg per planet (and atmosphere) instance by hard-coding base geometry instead of subclassing OOSelfDrawingEntity.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4204 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-31 20:59:44 +00:00
Jens Ayton
8245bce0ba Blanked currently-unused OOPlanetData files (see bug #5254).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4203 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-31 07:37:51 +00:00
getafix
535c6b90c1 Removed OO_NEW_JS definition from GNUmakefile for Linux builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4202 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 19:33:35 +00:00
getafix
3dda3bce94 Fixed PlayerEntity.m Linux build warnings.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4201 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 19:19:15 +00:00
Nikos Barkas
62579128ca Removal of old JavaScript from the Windows port.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4200 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 18:58:14 +00:00
getafix
747fb4ae53 Fixed OOStringParsing.m Linux build warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4199 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 18:37:05 +00:00
getafix
773b6ef889 Fixed OODebugTCPConsoleClient.m Linux build warning.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4198 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 17:55:45 +00:00
Jens Ayton
5e4d3e5695 Purged OO_NEW_JS. Now would be a good time for comprehensive test builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4197 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 17:27:40 +00:00
Jens Ayton
c997498109 Found the random combination of documentation and source code comments that makes it clear that DOUBLE_TO_JSVAL is invalid when value may be an integer, and switched everything to JS_NewNumberValue() (which is like JS_NewDoubleValue() only different, since JS_NewDoubleValue() was also invalid for potentially-integer values).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4196 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 16:30:06 +00:00
Jens Ayton
177ffb9baf Took a detour to improve printing of values in error messages and debug things.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4195 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 15:33:06 +00:00
Jens Ayton
69444e6943 Oldjs removal: various thin wrappers and stuff.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4194 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 14:49:46 +00:00
Jens Ayton
45de8ac142 Oldjs removal: started on replacing JS_NewDoubleValue() with DOUBLE_TO_JSVAL(), ended up reforming accessor error handling. Lots more to come.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4193 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 14:33:39 +00:00
getafix
05087b9427 Fixed MOZ_TRACE_JSCALLS warning on Linux builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4192 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 13:04:28 +00:00
getafix
ecc939e70d Updated Linux ports (i.e. 32bit & 64bit) to build with JavaScript engine 4.0b10.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4190 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-30 12:23:39 +00:00
Jens Ayton
e45e247a69 Beacon code memory management fix.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4189 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 22:18:51 +00:00
Eric Walch
75fd718d9d - Corrected a C&P error
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4188 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 21:51:05 +00:00
Jens Ayton
11df41547a [Mac] Hopefully fixed horrible-loud-noise bug (bug #17214), and definitely fixed quieter popping noises at the end of sounds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4187 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 21:40:03 +00:00
Jens Ayton
bce687613f Disabled TAF in deployment builds (and also shader debug hotkey, and extra info on FPSometer).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4184 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 20:45:17 +00:00
Jens Ayton
10dce944f1 Removed some dead code.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4183 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 19:21:34 +00:00
Jens Ayton
0c57476192 Moar less UniversalIDs.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4182 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 18:51:26 +00:00
getafix
4ae2559403 Detach Linux <make clean> from deps/Cross-platform-deps/SpiderMonkey too.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4181 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 18:32:29 +00:00
Jens Ayton
9eacaec79b Switched from UniversalIDs to WeakRefs in beacon list.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4180 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 18:21:20 +00:00
getafix
16077685a5 Detach Linux builds from using /deps/Cross-platform-deps/SpiderMonkey source.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4179 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 18:17:47 +00:00
Eric Walch
42eb084069 - Fixed escort position for police ships.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4178 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 17:50:27 +00:00
Jens Ayton
2fd63cfc12 Fixed JS ship properties that weren't updated properly in r4169.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4177 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 17:17:48 +00:00
Jens Ayton
24a6856f44 Beacon icons are now rendered using OOPolygonSprite (bug #17828).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4176 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 17:01:55 +00:00
Jens Ayton
fcb033d3ef Added Entity.prototype.dumpState() method when using debug console. [Mac] Debug.OXP is once again build by Build All target. Don't know what happened there.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4175 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 15:18:51 +00:00
Jens Ayton
436dfe5ebe [Mac] Fixed link error in TestRelease builds.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4174 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 13:31:46 +00:00
Jens Ayton
114a7b7d9f Player debris (and ejection doppelgänger) now inherit player temperature. (Bug #17391)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4173 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 13:07:01 +00:00
Jens Ayton
afd4e2c301 [Mac] Fixed overzealous download script fix redux. Also, disabled environment variable spew when building Ogg and Vorbis.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4172 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 12:40:00 +00:00
Jens Ayton
a278738d02 Fixed overzealous download script fix.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4171 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 12:26:05 +00:00
Jens Ayton
e59ffc2aff Switch to FireFox 4 beta 10 version of SpiderMonkey for Mac OS X.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4170 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 11:55:19 +00:00
Jens Ayton
c1bb239102 Added macros for common combinations of JS property flags, and added JSPROP_SHARED to all callback-based properties.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4169 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-29 10:48:50 +00:00
Jens Ayton
7a5e76669c Updated to latest Clang Static Analyzer (checker-254), and fixed all issues but one (which appears to be a bona fide Clang bug). Most of the fixes had to do with incorrect init methods.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4168 127b21dd-08f5-0310-b4b7-95ae10353056
2011-01-28 14:54:14 +00:00