Commit Graph

7301 Commits (master)

Author SHA1 Message Date
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
AnotherCommander 51de231bf0 Ensuring that at least one row is selected at all times in the shipyard screen. 2019-04-12 21:41:58 +02:00
phkb 23c9cfd951 JS access to the shipyard of a station (#328) 2019-04-12 22:27:40 +03:00
AnotherCommander 835ae8fbf6
16 bits per color component as startup parameter (#326)
Requesting 16 bits per color component from OpenGL during initialization as an option. Seems to help a lot against color banding issues.

Startup is done normally at 8bpcc, as before. 16bpcc can be selected either by adding the key bpcc = <value> to .GNUstepDefaults or by passing the -bpcc16 command line parameter. If both exist, the command line parameter takes precedence.
2019-04-12 17:57:09 +03:00
phkb 6d46f2966f Keyboard controls to cycle and select MFD's in reverse (#327) 2019-04-09 17:52:36 +03:00
AnotherCommander 9f3c9f28ac Docks scripted to not accept player docking now result in autopilot docking rejection also in the case of fast autodock. 2019-04-07 19:33:24 +02:00
AnotherCommander c2d9f798d0 Mac: Center mouse on right button down rather than up, to make behaviour similar to the Win/Linux builds. 2019-04-03 14:00:15 +02:00
AnotherCommander 343e44ec51 Attempting to make right mouse button on Mac center pitch and roll, in the same way that we have for Windows and Linux. 2019-03-23 23:46:08 +01:00
AnotherCommander 601128c035 Atmosphere shader: auto-calculate cosThreshold based on atmosphere radius. 2019-03-09 20:45:07 +01:00
AnotherCommander f02f09b91a Minor adjustments to atmosphere shader. 2019-03-08 23:05:21 +01:00
AnotherCommander 3981bfaf47 Oopsie, sorted out some comments. 2019-03-07 20:55:58 +01:00
AnotherCommander cdaf689263 Fixed black stripe at dark part of atmosphere circumference. Also, gamma corrected atmopshere. 2019-03-07 20:51:10 +01:00
KonstantinosSykas 0e2ea8896a Linux: Fixes building on 32-bit systems
where %EBX is used (for the GOT pointer) and gets overwritten when it is inlined.
2019-02-17 23:33:39 +02:00
AnotherCommander c61c451d12 Identification of CPU type now happens also on Linux. 2019-02-17 19:27:21 +01:00
AnotherCommander f68a5de48e Pressing Ctrl while handling the external camera view will now slow rotation and zoom speeds down. Allows for more precise external camera control. 2019-02-10 16:26:23 +01:00
AnotherCommander 65f9d706d5 Lave has now got its rain forests. 2019-01-25 14:07:52 +01:00
AnotherCommander eb9ccb0383 Added more haze to default atmosphere for improved looks and feel of scale. 2019-01-25 11:35:29 +01:00
AnotherCommander f1431f4d9f Merge branch 'master' of github.com:OoliteProject/oolite 2019-01-19 17:45:57 +01:00
AnotherCommander 35e398ed00 Added a thickness component for the 'inner' atmosphere opacity. It is based on the 1.86 atmosphere shader and the contribution of the new and old components is 0.5 for each. 2019-01-19 17:44:46 +01:00
Clint Moyer a4c351c52c Change FAQ reference from PLAYING.TXT to controller wiki (#320)
The FAQ in the documentation was referencing a non-existent file
PLAYING.TXT to provide controller information specific to the
Oolite project. This file is not present in the repository and
so we can instead link to the Wiki.

Closes #319
2019-01-16 22:17:57 +02:00
AnotherCommander fedab0e680 Fixed 32-bit Windows build. 2019-01-14 19:11:20 +01:00
AnotherCommander f0a7d5e633 Windows port: CPU type and clock speed are now reported at the log header. 2019-01-11 15:05:58 +01:00
AnotherCommander 3dbfc6b472 The quest for pretty atmospheres continues. Further tweaks to the atmosphere shader, hopefully we got it this time round. 2019-01-06 19:00:33 +01:00
AnotherCommander 56dd34a059 Added some more density to the atmospheres and slightly simplified shader in doing so. 2019-01-04 14:26:27 +01:00
AnotherCommander 7c78819f7e
Fixed native exception when a dictionary was passed to OOIsNumberLiteral by OOJSSystemInfo.
Closes #317.
2019-01-02 10:48:26 +02:00
AnotherCommander 32c8b485db Added docking clearance joystick button control to stickmapper. 2019-01-01 20:07:33 +01:00
AnotherCommander 036c0ee1d9 Added joystick button support for docking computer (standard and fast) and next compass target. 2018-12-31 18:24:04 +01:00
AnotherCommander 94df64619b Happy New Year! 2018-12-31 12:43:04 +01:00
AnotherCommander 595ec561f3 Atmosphere rim now fits well all planet sizes. 2018-12-28 17:37:40 +01:00
AnotherCommander a47df4e2d6 Refactor of atmosphere shader. Reverted change of atmo thickness with distance (did not work out as well as I was hoping to), readjusted critical angle for defining the atmo outer layer and slightly changed the rendering algorithm. 2018-12-27 08:20:47 +01:00
AnotherCommander 6edf9d1e2f Fixed dust color not getting mixed with 50 percent white, as intended, when sun color was set manually. 2018-12-21 16:29:16 +01:00
AnotherCommander 4214d58d63 Atmosphere fresnel exponent is now dependent on distance from the planet and clamped between 5.0 and 8.0. Atmnosphere appears thicker when close. 2018-12-18 21:23:03 +01:00
AnotherCommander 8a9500453f Added some debug data to sound channel code, trying to figure out why sound seems to occasionally stop on some Macs. 2018-12-18 19:27:54 +01:00
AnotherCommander 971323b760 Fine tuning the mix of blue in the atmosphere a bit. 2018-12-17 13:06:04 +01:00
AnotherCommander 18bcfe5135 Atmosphere is now more biased towards blue color. Also, outer atmosphere fade out returned to the richer 1.86 levels. 2018-12-16 19:11:24 +01:00
AnotherCommander 79fd124592 Fixed effectRemoved event not triggering when hyperspacing. Closes #316. 2018-12-12 15:41:42 +01:00
AnotherCommander 4949db96fa Increased default ambient light level to 0.1. 2018-12-06 15:40:58 +01:00
AnotherCommander c7e0da3f7e Added cbr to contributors' list for his Material Suite Test number 17 contribution. 2018-12-06 15:01:54 +01:00
AnotherCommander 6789265af4 Set ambient light as the last thing before gamma correction in the planet shader. This way we can still change ambient light level without side effects. Moved ambient light setting further down also in the atmo shader. 2018-11-20 23:09:27 +01:00
AnotherCommander 67aa8e98de Put reddish planet terminator setting at end of planet and atmo shaders, I think it looks better this way. 2018-11-20 22:19:17 +01:00
AnotherCommander 5cbf9c85e8 Resubmitting fix for fail-to-buy multiple mount lasers, this time properly (I hope). Apologies for the previous mess. 2018-11-18 10:53:34 +01:00