2775 Commits

Author SHA1 Message Date
Darren Salt
5f76bbccb3 Fix up GeForce 5xxx matching for correctness (in case of 5-digit numbers).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3401 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-23 22:30:26 +00:00
Darren Salt
54f1e8c304 Oops. Missing backslash.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3400 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-23 22:29:02 +00:00
Darren Salt
5bd3ce8aba Fix up Intel 8xx/9xx matching.
Remove a duplicate \d; require a word break before matching an 8 or a 9.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3399 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-23 22:11:39 +00:00
Darren Salt
64907426fd Tighten Radeon R300 matching to exclude R4xx while still including RS4xx and RC4xx.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3398 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-23 22:08:14 +00:00
Jens Ayton
9258c94c9e Made a note of the fact that -[OOMesh calculateVertexTangents] makes no sense whatsoever.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3397 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-22 15:50:26 +00:00
Nikos Barkas
f2c21e455d Lasers are shown at the end of the equipment list again, like they have always had.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3396 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-22 15:45:37 +00:00
Jens Ayton
b2c11bf6f2 Fixed nasty, nasty uninitialized variable in r3391.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3395 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-22 15:00:15 +00:00
Jens Ayton
e548b72068 Use correct face area calculation when generating tangents for model with explicit normals but implicit tangents. Keep broken calculcation for normal-smoothing for bugwards-compatibility with existing models.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3394 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-22 14:49:18 +00:00
Darren Salt
e0edf2e740 Extend Radeon R3xx detection.
* Match R400 series, RC410, RS480; AIUI, same shader capabilities as R3xx.
* No point in matching on "Tungsten", which is only relevant for Intel hw.
* Disable line/point anti-aliasing when using Mesa (done in software).
* Handle classic Mesa and Gallium3D separately for clarity (for now) and
  for future divergence wrt anti-aliasing.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3393 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-21 22:36:34 +00:00
Jens Ayton
58fa60d9df Made gpu-settings.plist regexps more general, and added ATI R300 family.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3392 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-21 20:27:06 +00:00
Jens Ayton
8f66eb050b Refactored default material set-up for comprehensibility and graceful degradation. (Bug #17175)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3391 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-21 15:52:59 +00:00
Jens Ayton
dd205c915b Fixed a shader error when using normal map but no specular lighting at all. Odd thing to do, but valid.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3390 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-21 15:01:48 +00:00
Jens Ayton
852bcd9b4a Added check for GL_MAX_TEXTURE_IMAGE_UNITS_ARB, and exposed GL_MAX_TEXTURE_IMAGE_UNITS_ARB and GL_MAX_TEXTURE_UNITS_ARB to JS (pertains to bug #17175)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3389 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-21 12:35:57 +00:00
Jens Ayton
c34d78f428 Introduced specular_modulate_color and emission_modulate_color as per bug #17175, and renamed illumination_color to illumination_modulate_color to match (but not diffuse_color or ambient_color, as these can still be either overall colours or modulating colours depending on whether there's a diffuse map).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3388 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-20 19:41:49 +00:00
Jens Ayton
f74836f3b5 An OXP can now cause the debug console object to be created even if the debug OXP is not loaded (basically a special case for the material test suite).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3387 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-20 19:03:43 +00:00
Jens Ayton
ef28620dca More explicit handling of support for systems without texture combiners.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3386 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-20 16:50:10 +00:00
Nikos Barkas
a7a18ecbcc Fixed texture combiners crash on systems with OpenGL version less than 1.3.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3385 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-20 14:03:07 +00:00
Eric Walch
6bd4f90ccd Fixed an addShip() positioning bug introduced with 3375
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3384 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-19 21:24:49 +00:00
Jens Ayton
f0c0738233 Relaxed requirements for JS ship.hasEquipment()/canAwardEquipment(): they now return false instead of throwing an exception when passed a non-existent equipment key, unless it ends with _DAMAGED.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3383 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-19 20:43:14 +00:00
Nikos Barkas
0842e943ee - Fixed crash in SDL builds, where unpausing the game after a hyperspace jump would segfault when GUI backgrounds were installed.
- Added to the source tree the source files that have to be changed for building the libespeak.dll v1.43.03 for Oolite Windows.
- Updated documentation on external libraries source code changes to include libespeak.dll and instructions for building it.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3380 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-19 16:50:41 +00:00
Darren Salt
801be96415 Correctly quote command-line arguments.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3379 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-19 16:30:30 +00:00
getafix
659714282e deb packages: Updated oolite wrapper script to support command line arguments.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3378 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-19 10:06:32 +00:00
Nikos Barkas
70409b30e8 Unbreakage.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3377 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-19 06:11:58 +00:00
Marc
ae0d0a449b - Corona tweaks, including a fix for Bug #17172 (sun corona was too random)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3376 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-19 03:54:28 +00:00
Jens Ayton
74d35d7299 -[OOCharacter basicSetUp] now restores both of the random seeds it clobbers. This fixes positioning of spawned ships. (Bug #17173)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3375 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 23:25:53 +00:00
Nikos Barkas
2d158ebac9 Fixed crash when attempting to load a savegame with an OXP ship not in AddOns at the time of load.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3374 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 22:19:25 +00:00
Jens Ayton
7c090fae60 Turned off OOCombinedEmissionMapGenerator debug dumps. Look at all the pretty pictures!
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3373 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 21:05:29 +00:00
Jens Ayton
a7d4e9d548 Fixed leak of demo2 screen ships (bug #17168).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3372 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 19:54:08 +00:00
Jens Ayton
74c2795425 Removed "in a future version" messages from legacy script whitelist. All non-whitelisted methods are now rejected. (Previously, non-whitelisted action methods were allowed, but non-whitelisted query methods were dropped, with two conflicting log messages.)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3371 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 19:34:40 +00:00
Jens Ayton
3df2a3e3dd Implemented HUD dial whitelisting.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3370 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 19:26:26 +00:00
Jens Ayton
62456b09f6 The following JS ship methods now take either an EquipmentInfo or a valid equipment identifier (not including _DAMAGED identifiers), described as equipmentInfoExpressions: awardEquipment(), canAwardEquipment(), equipmentStatus(), hasEquipment(), removeEquipment(), setEquipmentStatus().
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3369 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 18:39:33 +00:00
Jens Ayton
9b7b467cc1 Added a backdrop to material test suite, so that black cubes actually show up. Also found a way to break HUD drawing code, and fixed it.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3368 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 18:12:40 +00:00
Jens Ayton
ec16b0742b Fixed full-screen startup problem introduced in r3325, and fixed the horrible voodoo code causing it.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3367 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 16:40:34 +00:00
Jens Ayton
5f84c63462 Fixed some scaling and conversion bugs in OOCombinedEmissionMapGenerator. Mac DebugOXP New Ship menu item now works like :spawn macro.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3366 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-18 16:28:05 +00:00
Nikos Barkas
0fd65d4924 Fixed crash when attempting to draw the torus drive lines on a system without shader support. Eliminated missing newline warning. Added missing initialization to OOBadOpenGLExtensionUsed for glValidateProgramARB.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3364 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-17 19:34:17 +00:00
Jens Ayton
a82027061c Fixed check for shift key on startup.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3363 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-16 21:04:30 +00:00
Jens Ayton
4fd327af6b Replaced OOPixMap.components with saner OOPixMap.format.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3362 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-16 13:17:38 +00:00
Marc
15fcc13c8a - added new resource files to mac build
- brought most copyright notices up to date.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3361 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 23:50:35 +00:00
Marc
9813c80369 * changes to docking effects:
- rock hermits have a docking tunnel consistent with their docking slot.
- when in strict mode, use ring.dat for all docking (as per oolite 1.65 - 1.73).
- renamed the new docking 'rings' as oolite-tunnel.dat and oolite-rocktunnel.dat.

* fix: stopped ship.exitSystem() from generating a clone of itself after leaving the system.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3360 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 23:07:02 +00:00
Jens Ayton
4c77abefb4 Returning to the roots of today's hilarity: multi-texture materials now use OOTextureLoader instead of OOTexture directly, and are compatible with OOTEXTURE_RELOADABLE, which is now reenabled. Also, bumped material test suite version number for yesterday's changes.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3358 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 21:15:47 +00:00
Jens Ayton
cce846c42d Rolled back half-baked changes included by accident. Man, I wish we used a modern VCS.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3357 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 19:40:58 +00:00
Jens Ayton
517468e912 planettool: fixed crash in 32-bit builds when rendering to Mercator or Gall-Peters.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3356 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 19:33:36 +00:00
Jens Ayton
9e6dd6923b Deleted debug code. Stupid Xcode, not saving when I think it should.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3355 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 19:32:39 +00:00
Jens Ayton
32562a2bde Cleaned up texture-related options checking, and worked around an incompatibility with OpenGL 1.1.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3354 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 19:10:52 +00:00
Jens Ayton
636d470f6b Fixed bug where non-cube-map textures were treated as cube maps in situations where cube maps were permitted - in practice, planet textures.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3353 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 18:25:34 +00:00
Jens Ayton
3ad68067ee Moar OpenGL error checking.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3352 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 13:41:16 +00:00
Jens Ayton
06f8014443 Fixed silly GNUstep complaints about class methods using locals with the same name as instance variables.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3351 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 11:36:35 +00:00
Jens Ayton
31de92f8ed Fixed premature/double frees of texture data.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3350 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 10:38:25 +00:00
Jens Ayton
6ae1daa4a9 JavaScript PlayerShip now has properties again.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3349 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-15 10:28:30 +00:00
Jens Ayton
ea630ce73f Mucking about with texture system in preparation for fixing incompatibility between OOMultiTextureMaterial and OOTEXTURE_RELOADABLE.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3348 127b21dd-08f5-0310-b4b7-95ae10353056
2010-05-14 23:17:11 +00:00