Commit Graph

74 Commits

Author SHA1 Message Date
Jonathan G Rennison
ca23e31986 Add railtype variable for adjacent crossing information 2023-11-26 17:29:27 +00:00
Jonathan G Rennison
39247b0120 Road stops: Add tile slope to varact2 variable 0x42 2023-10-15 22:27:28 +01:00
Jonathan G Rennison
a0e3885acc Add airport tile variables to get airport type local ID and layout 2023-08-26 15:01:10 +01:00
Jonathan G Rennison
1183476182 Allow custom signal styles to disable aspect-limited mode
By setting style_lookahead_extra_aspects to 255
2023-08-14 23:56:21 +01:00
Jonathan G Rennison
3b2e917ca4 Enable vehicle variable 61 for ships
Bump multi_part_ships feature version, add to documentation
2023-06-26 00:18:11 +01:00
Jonathan G Rennison
7084b97a5d Add NewGRF extension feature for more stations per GRF 2023-06-11 00:10:26 +01:00
Jonathan G Rennison
bc00753996 NewGRF stations: Remove extended version of varuiable 68 2023-06-06 21:35:39 +01:00
Jonathan G Rennison
36fadb5424 Merge branch 'master' into jgrpp
# Conflicts:
#	src/base_station_base.h
#	src/newgrf.cpp
#	src/newgrf_class.h
#	src/newgrf_class_func.h
#	src/newgrf_commons.cpp
#	src/newgrf_commons.h
#	src/newgrf_roadstop.cpp
#	src/newgrf_roadstop.h
#	src/newgrf_station.cpp
#	src/saveload/newgrf_sl.cpp
#	src/saveload/saveload.h
#	src/saveload/station_sl.cpp
2023-06-03 11:07:01 +01:00
Jonathan G Rennison
f7964cb3aa Add function to get name of extended variable ID
Add table for internal variable IDs which aren't mappable externally
2023-06-01 20:36:00 +01:00
Jonathan G Rennison
bdb9a72aa4 NewGRF: Add/extend station variables for station info of nearby tiles
In preparation for support of more than 255 stations per GRF
2023-06-01 18:51:51 +01:00
Jonathan G Rennison
1dbbbed9e5 NewGRF: Only extend value of road stops variable 68 if feature tested for 2023-06-01 18:14:23 +01:00
Jonathan G Rennison
64925aedf8 Add town variable for town tile X and Y coordinates 2023-04-13 21:19:53 +01:00
Jonathan G Rennison
9fd01d57cc Rename town zone extended variable identifiers 2023-04-13 20:53:11 +01:00
Jonathan G Rennison
e02585f68e Add railtype and signals variables for signal vertical clearance 2023-04-04 20:29:22 +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
8cd7c9559f Multi-part ships: Require feature test to enable callback 16 2023-03-15 22:36:27 +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
ae99f667b0 NewGRF: Add generic town callback to set town zone radii 2023-03-11 22:23:40 +00:00
Jonathan G Rennison
93c34775e4 NewGRF: Add town variables for uncapped house count, population and zone radii
Add feature name
2023-03-11 22:23:40 +00:00
Jonathan G Rennison
5acf18fb37 NewGRF: Allow mapping a feature ID to the town scope 2023-03-11 22:23:40 +00:00
Jonathan G Rennison
de17e0aa4d NewGRF: Add extension for more Action2 set IDs 2023-03-05 14:40:06 +00:00
Jonathan G Rennison
2ffb245b33 GRF: Add property mapping ID extension mechanism
Bump property_mapping feature version to 3
2023-02-19 23:13:23 +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
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
64699d94c9 GRF: Only use extended bytes for object IDs if feature is tested for 2023-02-12 22:18:23 +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
c0c9c66f7b GRF: Initial support for > 255 objects per GRF 2023-02-11 16:22:25 +00:00
Jonathan G Rennison
1272bec13b Road stops: Add height property for build window preview 2023-02-05 17:40:14 +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
39277404a2 Add new landscape variable for ground density and snow presence 2022-12-12 23:19:44 +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
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
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
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
Jonathan G Rennison
7bb0de247d Add GRF feature: New Landscape
Custom graphics using actions 1/2/3.

Currently only for rock tiles
2022-06-13 17:13:48 +01:00
Jonathan G Rennison
ba52fbeb91 Signals: Add variable for restriction info, add bit for reserve through 2022-06-12 09:00:31 +01:00