7241 Commits

Author SHA1 Message Date
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
phkb
915c78d2d6 Limiting star and nebula textures by galaxy (#337) 2019-05-25 15:16:15 +03:00
phkb
62e00fbb36 Adding playerWillBuyNewShip and playerWillReplaceShip world events (#336)
Replacing a ship is now considered a different event to buying one.
2019-05-01 11:19:45 +03:00
phkb
71dc42c3f5 Adding EquipmentInfo.calculatedPrice property, adding 'paid' param to playerBoughtEquipment event (#335) 2019-04-30 13:44:26 +03:00
AnotherCommander
cb2c771872
Main menu revamp: Replacing key menu item with Game Options. Game Options items that are controlled by savegames are greyed out when viewed from the intro screen. Some code refactoring. (#334) 2019-04-28 12:06:17 +03:00
AnotherCommander
bedfe96415 Ugh <facepalm>, fixing Mac build by using correct MIN macro instead of min. 2019-04-25 11:07:59 +02:00
AnotherCommander
67a907ce65 Oopsie - Forgot square bracket in previous commit :-\ 2019-04-25 10:54:03 +02:00
AnotherCommander
f9cc39e9cb Making sure that GUI selectable rows do not exceed maximum row count in Status screen. Should take care of #333. 2019-04-25 10:47:53 +02:00
phkb
8cad99b852 Fixed bug where station.shipyard generated shipyard when hasShipyard was false (#332) 2019-04-19 12:09:13 +03:00
phkb
5f8a8ff80b addShipToShipyard looks for and adds lasers from extras array (#330) 2019-04-18 15:15:06 +03:00
phkb
a6c507ad46 More code protection and better use of consts (#329) 2019-04-16 08:03:48 +03:00