Commit Graph

635 Commits

Author SHA1 Message Date
Jonathan G Rennison
177a00ac12 Documentation: Adjust road stops NML CSS 2023-04-02 13:02:49 +01:00
Jonathan G Rennison
706d8f17a3 Road stops: Add bit for whether stop is being drawn in the build window 2023-04-02 12:34:01 +01:00
Jonathan G Rennison
2e7545f85f Road stops: Add flag to use custom graphics for disabled views in build window 2023-03-19 11:01:17 +00:00
Jonathan G Rennison
8cd7c9559f Multi-part ships: Require feature test to enable callback 16 2023-03-15 22:36:27 +00:00
Jonathan G Rennison
87e4258fe3 Allow selecting individual ship parts in refit window
Add callback to name ship parts in refit window
2023-03-15 19:44:26 +00:00
Jonathan G Rennison
211fdd62b2 Initial support for multi-part (pseudo-articulated) ships 2023-03-15 19:44:26 +00:00
Jonathan G Rennison
5718730d68 VarAction2: Add support for more varaction2 types
Add CB failure and deterministic relative types
2023-03-15 19:44:26 +00:00
Jonathan G Rennison
48d602962f Road stops: Add inferred one way road state to var 50/roadstop_misc_info 2023-03-15 19:44:26 +00:00
Jonathan G Rennison
a3125499a1 Documentation: Fix minor errors in road stops document 2023-03-15 19:44:26 +00:00
Jonathan G Rennison
a00eb94e2f Documentation: Add NewGRF town feature additions 2023-03-11 23:43:26 +00:00
Jonathan G Rennison
2181b99bdd Documentation: Add note about road stops feature name/ID mapping 2023-03-11 22:23:40 +00:00
Jonathan G Rennison
5a877b49b4 Add railtype/signal variable to get signal side 2023-02-19 20:22:40 +00:00
Jonathan G Rennison
f7d62a1767 Add road/tram type flag to disallow collisions with trains 2023-02-19 18:05:11 +00:00
Jonathan G Rennison
663a3969a0 Add road/tram type flag to disallow tunnels 2023-02-19 15:21:35 +00:00
Jonathan G Rennison
3497d0dcdb Add road/tram type properties to set road vehicle collision mode 2023-02-19 14:30:21 +00:00
Jonathan G Rennison
c756b8de8e GRF: Add second success indicator mechanism for feature tests and ID mappings 2023-02-13 20:05:30 +00:00
Jonathan G Rennison
85de07dee1 Documentation: Clarify that more_objects_per_grf must be tested for to enable it 2023-02-12 22:33:17 +00:00
Jonathan G Rennison
53835cef8e Documentation: Add documentation for more objects per GRF 2023-02-12 20:35:18 +00:00
Jonathan G Rennison
dceafaf2db GRF: Initial support for > 255 road stop specs per GRF
Add new variable for road stop info of nearby tiles
Bump roadstops version
2023-02-12 20:35:18 +00:00
Jonathan G Rennison
cfbd6406e1 Documentation: Fix NML documentation of variable nearby_tile_road_stop_id 2023-02-12 19:32:37 +00:00
Jonathan G Rennison
9951c0dbd5 Documentation: Update NewGRF road stop docs 2023-02-05 18:06:57 +00:00
Jonathan G Rennison
8999f9237b Documentation: Add link anchors and index for NewGRF NML additions 2023-02-03 17:06:03 +00:00
Jonathan G Rennison
8af4ac8a4c GRF: Add road stops variable for road info of nearby plain road tile
See: #464
2022-12-24 18:54:28 +00:00
Jonathan G Rennison
d90c381d12 Documentation: Update low level changes document 2022-12-20 23:43:31 +00:00
Jonathan G Rennison
39277404a2 Add new landscape variable for ground density and snow presence 2022-12-12 23:19:44 +00:00
Jonathan G Rennison
0d4f196451 Documentation: Add missing text about new landscape variable 44
newlandscape_landscape_type
2022-12-12 23:10:52 +00:00
Jonathan G Rennison
12b20376b3 Add new landscape flag to enable drawing rocks covered by snow 2022-12-12 23:06:07 +00:00
Jonathan G Rennison
41fb98db09 Add NewGRF global flag to allow rocky tiles in tropic desert zones 2022-12-12 22:12:20 +00:00
Jonathan G Rennison
7cc953618a Documentation: Update low level changes document 2022-11-24 23:17:04 +00:00
Jonathan G Rennison
8020f6d481 Add road stop flags to only show in the road or tram build menus 2022-11-13 16:36:55 +00:00
Jonathan G Rennison
8090bbf713 Documentation: Fix error in roadstop_draw_mode bit table 2022-11-06 15:20:00 +00:00
Jonathan G Rennison
12eb23f0ab Clear old tree counter in map array on load of old savegames
See: https://github.com/OpenTTD/OpenTTD/pull/10018
2022-10-01 23:05:07 +01:00
dP
30bc490292 Codechange: Don't store tree counter in the map array
(cherry picked from commit 6c3f351d5a4b0d19a1a265f04f44c70c24c19cd2)

See: https://github.com/OpenTTD/OpenTTD/pull/10018
2022-10-01 23:05:07 +01:00
Jonathan G Rennison
9c255850a5 Add AI/GS method to get annual expense category value
See: #425
2022-09-16 21:26:25 +01:00
Jonathan G Rennison
496ec7f642 Documentation: Add NML road stops random_bits_tile variable 2022-09-05 23:20:49 +01:00
Jonathan G Rennison
4b9d5a437f Add GS methods to set inflation factors
See: #415
2022-09-05 21:07:06 +01:00
Jonathan G Rennison
81291c4ffc Add AI/GS methods to get inflation factors
See: #415
2022-09-05 21:07:06 +01:00
Jonathan G Rennison
50965bbce7 Add road stops flag to disable auto road connections
Bump road stops version
2022-08-28 23:53:26 +01:00
Jonathan G Rennison
9be7fef875 Documentation: Fix road stop one way state variable values 2022-07-14 17:38:13 +01:00
Jonathan G Rennison
c851c7a797 Documentation: Remove incorrect note about new landscape variables 2022-07-03 22:15:49 +01:00
Jonathan G Rennison
c19bd4473f Add signal style flag to require realistic braking 2022-06-30 21:20:43 +01:00
Jonathan G Rennison
78ae295dfe Add combined normal and shunt aspect signal style flag 2022-06-27 18:51:26 +01:00
Jonathan G Rennison
a311f12615 Add signals_style_lookahead_single_signal_only signal style property 2022-06-25 01:29:08 +01:00
Jonathan G Rennison
fcae909839 Add signal style flag for drawing on the opposite side 2022-06-22 23:45:44 +01:00
Jonathan G Rennison
191f710c40 Add custom signal style properties to set electric/semaphore enabled types 2022-06-19 17:43:46 +01:00
Jonathan G Rennison
175c5d4d50 Add signal style flag to limit lookahead extra aspect 2022-06-19 12:46:56 +01:00
Jonathan G Rennison
bdd73a19a1 Add signal style flag for unconditional reserve through
Add map bits for unconditional reserve through
Adjust signal aspect/state handling
2022-06-19 04:15:27 +01:00
Jonathan G Rennison
7ae06124ae Add signal style flag for no aspect increase behaviour (banner repeater) 2022-06-19 02:08:38 +01:00
Jonathan G Rennison
6e4c4b35e7 Initial implementation of NewGRF custom signal styles 2022-06-19 02:08:38 +01:00
Jonathan G Rennison
41117a52d2 Signals: Add variable for signal context (track, tunnel, bridge, etc) 2022-06-15 19:03:13 +01:00