Commit Graph

7301 Commits (master)

Author SHA1 Message Date
phkb 4e97ce79d0
Error report has incorrect name (#354)
Thanks to Milo for catching this one.
2020-07-22 19:37:42 +02:00
AnotherCommander 8d0184346d Forgot to add the Lave atmo color change in previous commit. 2020-07-22 18:22:14 +02:00
AnotherCommander 02218d7461 Atmosphere color is now fully settable from planetinfo.plist using the air_color key. This affects also the atmosphere scatter color in the atmo shader. Lave atmosphere color set to blue to demonstrate this. Atmo color can be set by scripts too, using the read/write system.info.air_color property. Also, reduced lightsource radiance in the planet shader to bring it more inline with the atmo one. 2020-07-22 18:21:07 +02:00
AnotherCommander d63fbbcdca Merge branch 'master' of github.com:OoliteProject/oolite 2020-07-21 18:24:17 +02:00
AnotherCommander 251821f537 Fixed air_color key in planetinfo.plist getting completely ignored. Skies with color other than blue are now possible. A hard coded default color is used if the key is not defined. 2020-07-21 18:23:18 +02:00
phkb 8e2edf4e4c
Provides an override mechanism for the amount of time a rescue in an escape pod takes. (#353) 2020-07-20 10:04:35 +03:00
AnotherCommander ba63810fa7 Fixed an oopsie from the previous commit. 2020-07-18 14:22:50 +02:00
AnotherCommander 4f19c982fe Cloaked ships do mass lock the player now. 2020-07-18 13:49:20 +02:00
AnotherCommander 94d89fdd55 The number of turrets on a ship, if they exist, is now shown on the Ship Library screen. 2020-07-16 13:07:40 +02:00
AnotherCommander 4b32de3a9f Temporarily increased sun light source luminance and enabled Oren-Nayar diffuse rendering for testing. 2020-07-12 12:49:39 +02:00
AnotherCommander 07e2ddb81c Entities designated as excepted for collision with the player will now not limit the torus speed variability. Thanks to Milo for this contribution. 2020-07-11 11:30:57 +02:00
AnotherCommander 91ad8830fa Changed JSRunTime_size_mib key to jsruntime-size-mib for consistency with most other keys in .GNUstepDefaults. 2020-07-02 21:36:17 +02:00
AnotherCommander 978ed69565
Update OOJavaScriptEngine.m 2020-07-02 13:33:24 +03:00
AnotherCommander d323cd3cb7
Fixed Mac warning from previous commit. 2020-07-02 11:39:14 +03:00
AnotherCommander c7a7f0f563
The Javascript runtime size can now be adjusted.
Use the key 'JSRunTime_size_mb' in .GNUstepDefaults. The value of this key is the requested size of the JS runtime in megabytes. If the key is missing, then the default value of 32MB is used. This might be useful in the case of a lot of script-heavy (i.e. memory consuming) OXPs running.
2020-07-02 11:23:39 +03:00
phkb 92778b72f2
Fix for the thargoidStrikes populator setting (#351) 2020-06-30 08:52:39 +03:00
phkb 66291517c1
Missiles in ship missiles array do not have a primary role (#352)
equipmentKey should be used instead
2020-06-30 08:52:11 +03:00
phkb a2a677073f
Added activeMissile property (#350)
To allow scripts to know which of the missiles is currently selected
2020-06-29 08:21:30 +03:00
phkb e17f0ae7c4
Added 'IsSunlit' to entity (#349)
Allowing scripts to determine if entity is in shadow or not
2020-06-22 08:41:49 +03:00
AnotherCommander 837d5cd1ed Fixed scoopOverride causing scoop sound to play once when set to false. 2020-06-21 21:07:06 +02:00
AnotherCommander 8f392152fc Fixed a bogus ship AI warning about jumping further than allowed. 2020-06-20 09:26:03 +02:00
AnotherCommander 5f68e4ced0 Fixed a typo in the atmosphere shader and removed a comment that is not valid anymore from the shader material header. 2020-06-14 16:09:33 +02:00
AnotherCommander be09bf8e74 Corrected an error on the Oren-Nayar implementation in the planet and ship shaders. 2020-06-11 13:07:46 +02:00
AnotherCommander 74b180735a Introduced Oren-Nayar as a possible diffuse BRDF alternative. We are still defaulting to lambertian diffuse, though. To use Oren-Nayar, set the OODIFFUSE_ORENNAYAR macro in the default planet and ship shaders to 1. 2020-06-07 22:59:18 +02:00
AnotherCommander 104f9c045d Introduced light source radiance and exposure multipliers in the planet, atmosphere and ship shaders. This allows some more control over the intensity of the light source and the overall amount of light in the scene. Default values for all mutlipliers are set to 1.0. 2020-05-17 22:19:23 +02:00
AnotherCommander 1fcfbb89f7 Ensure that the alpha channel of our pixels is clamped within 0.0 to 1.0 in the default shader. It seems that some drivers fail at that, so we do it for them. 2020-05-10 00:05:32 +02:00
AnotherCommander 9049ab9a54 Added one forgotten feature and fixed a typo in CHANGELOG.TXT. 2020-05-06 12:47:02 +02:00
AnotherCommander 3c5029fe52 Updated CHANGELOG.TXT 2020-05-06 09:12:42 +02:00
cheese1 04d9b9b36f
Fixed typo in README.md (#346)
Thanks @cheese1
2020-05-03 19:31:55 +02:00
AnotherCommander 3b91106d0b Illumination mapping of the dark side of custom planets is now supported on the diffuse map's alpha channel. If the alpha channel is used in the diffuse map, low values correspond to high illumination. 2020-04-29 16:17:50 +02:00
AnotherCommander 938d49eeca Custom planets now support normal maps, with specular on their alpha channel. 2020-04-17 13:44:18 +02:00
AnotherCommander 6cf1826e1f
Atmosphere haze intensity returned to its previous value. 2020-04-14 14:55:35 +02:00
AnotherCommander d33a8c231e Fixed planet shader, which had the planet diffuse lighting broken big time by the last commit. Also, in the default shader, specular color was multiplied twice in the total light calculation. Fixed incorrect handling of light source color on both shaders. 2020-04-12 17:17:58 +02:00
AnotherCommander 3d202eec67 Some improvements on the specular part of the planet shader. 2020-04-10 19:35:30 +02:00
AnotherCommander c72d619027 Filmic tonemapping should touch only the rgb channels, not the alpha. Thanks to smcameron for the catch. 2020-04-07 08:34:08 +02:00
AnotherCommander 6b5ec6acfe Fixed case where an empty cargopod would be generated for specific quantities of precious metals and gemstones. 2020-03-29 10:04:29 +02:00
AnotherCommander bc9636e451
One more update to the atmosphere shader.
Visual improvement: at the very edge of the atmosphere, use more bias color.
2020-01-10 10:20:00 +01:00
phkb 49ee05b273
Merge pull request #344 from OoliteProject/new_nav_beacon
Adding new nav beacon model+textures
2019-12-29 10:50:15 +11:00
phkb 6f8130e4a3 Adding gloss value to shipdata 2019-12-19 19:59:22 +11:00
phkb d63762de70 Updated doc and removed normal map file from xproj 2019-12-19 08:02:39 +11:00
phkb 653fb5b2d8 Removing normal binary file 2019-12-18 06:43:43 +11:00
phkb 2ffd143c54 Removing normal map 2019-12-18 06:42:14 +11:00
phkb 54531bf80e Adding resources for new nav beacon 2019-12-16 14:51:22 +11:00
phkb d0acaabfee Adding new nav beacon model and textures 2019-12-16 14:36:40 +11:00
AnotherCommander 4636ee2281 A few improvements on the atmosphere shader. 2019-11-21 12:50:27 +01:00
phkb 58412d1d2c
Merge pull request #339 from phkb/equipment_overrides
Adding support for equipment-overrides.plist
2019-07-02 14:01:21 +10:00
KonstantinosSykas e9b4d740ed Linux: Fix compiler warning 2019-06-09 23:42:53 +03:00
KonstantinosSykas 504f28b649 Linux deps version bump
Distinct libjs include folder per architecture.
2019-06-09 14:37:02 +03:00
KonstantinosSykas d27428d52a Linux deps version bump
Static link to libjs by default
2019-06-09 13:17:15 +03:00
phkb 5e6f32c320 Adding support for equipment-overrides.plist 2019-05-26 14:47:14 +10:00