Commit Graph

5705 Commits (master)

Author SHA1 Message Date
tsoj 31939ba721
Add update all option to OXP manager (#381)
Closes #341
2021-02-22 16:16:33 +01:00
AnotherCommander 74c532c761 Added tsoj to contributors list. 2021-02-20 19:12:29 +01:00
tsoj e00be336fb
Adding "setShipInfoForKey" (#380) plus useful information to README for compiling on Linux 2021-02-20 18:32:02 +01:00
AnotherCommander f0a01c7753 Windows and Linux builds: Physical and available system memory are now reported in the log header. 2021-02-07 21:12:55 +01:00
AnotherCommander 1074e37770 Implemented atmosphere desnity for planets. Range is from 0.0 to 1.0, default 0.75. The relevant properties are air_density for planetinfo.plist and airDensity for the JS planet entity. 2020-11-22 14:30:26 +01:00
Konstantinos Sykas e4d06c78a2
Add game paused message in Game Options when in flight. 2020-11-15 21:54:25 +02:00
Bertrand Coconnier d3f5d40d4b
Fixed an error reported by gcc on Fedora about format-security (#373)
This fixes something that is neither invalid nor a security vulnerability, Still, distros other than Fedora may decide to report it in the future as an error too. So we are getting ahead of them.
2020-10-27 07:59:08 +01:00
AnotherCommander 6b45ec2d2f Fixed exception where nil would be passed as an object for a weapon sound dictionary key when said weapon's extra info dictionary was not defined in equipment.plist. 2020-10-10 14:18:54 +02:00
KonstantinosSykas 19cc4f8adb Removed a color constant not being used
fixing a relevant compiler warning.
2020-10-02 12:25:59 +03:00
KonstantinosSykas c4df27a2ed Linux: Fix compiler warning 2020-09-01 15:50:50 +03:00
phkb 8194bd1012
Merge pull request #366 from dybal/weapon_info
Adds weaponInfo to EquipmentInfo script object
2020-09-01 17:56:59 +10:00
AnotherCommander 21bcc59a10 Bump master version to 1.91. 2020-08-30 14:28:12 +02:00
dybal bd4a0c4887 Adds weaponInfo to EquipmentInfo script obbject 2020-08-21 12:23:37 -03:00
AnotherCommander 682878fc9d Bump version number to 1.90. 2020-08-21 09:23:53 +02:00
AnotherCommander 17f6b28e89 Simplification of previous commit and hopefully fixing a Mac watning at the same time. 2020-08-19 14:00:43 +02:00
AnotherCommander d7149904c3 Safeguard against potential nil weapon identifiers when attempting to play the specialized custom weapon sounds. 2020-08-19 13:11:22 +02:00
phkb 662bf77ae8
Adding ability to use custom sounds for specific lasers (#342) 2020-08-18 08:26:49 +03:00
AnotherCommander 740134fd95 Fixed compiling of deployment targets. Thanks to dybal for the catch. 2020-08-15 22:11:29 +02:00
AnotherCommander f5cbf6109d Ensure no division by zero happens during conversion from RGB to HSB color space. 2020-08-15 21:58:56 +02:00
phkb 364b68d1e9
Increasing opacity of cursor for increased visibility (#359)
Especially on 4K displays
2020-08-07 08:22:45 +03:00
AnotherCommander bd0bf3f85a Planetary terminator threshold vector is now a user defined parameter. It can either be defined in planetinfo.plist using the terminator_threshold_vector key or by script using the Planet property terminatorThresholdVector. Default is the currently used value ([0.105, 0.18, 0.28]). Reorte has been made to have a blue terminator as a means of demonstrating the feature. 2020-08-06 16:30:15 +02:00
AnotherCommander d1ab638927 Fixed kg and g unit commodities not being removed when player ship was being replaced or when a new one was bought and excess kg and g quantities beyond station's capacity remained unsold during the cargo selling phase. 2020-07-27 20:23:20 +02:00
AnotherCommander 610929409b Fixed RGB to HSB conversion in OOColor class. 2020-07-24 19:47:02 +02:00
AnotherCommander 402e424769 Simplification in handling of system.info's air_color_mix_ratio key. 2020-07-24 19:45:34 +02:00
phkb 2b669d06e6
Changes shape of icon on basic compass when station is target (#356)
Makes it clearer what is being targeted. Code contributed by forum member Milo.
2020-07-24 10:15:55 +03:00
AnotherCommander 2d1bcb200f Atmosphere color parameters can now be also controlled from the JS Planet object. This enables script control over atmospheres of OXP added planets. The two new properties are airColor and airColorMixRatio. The system.info.airColor and .airColorMixRatio remain but control only the main system planet. 2020-07-23 20:47:37 +02:00
AnotherCommander 3021c8f3ca Amount of air color mix with atmosphere standard color is now fully settable from planetinfo.plist using the air_color_mix_ratio key. The atmosphere color mix ratio can be set by scripts too, using the read/write system.info.air_color_mix_ratio property. 2020-07-23 14:49:11 +02:00
AnotherCommander 58349ee0c1 Fixed randomInhabitantsDescription not being able to return the plural form and fixed a typo in its error message. 2020-07-22 22:52:09 +02:00
phkb 4e97ce79d0
Error report has incorrect name (#354)
Thanks to Milo for catching this one.
2020-07-22 19:37:42 +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 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 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 938d49eeca Custom planets now support normal maps, with specular on their alpha channel. 2020-04-17 13:44:18 +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
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