Commit Graph

54 Commits

Author SHA1 Message Date
Jonathan G Rennison
cf5eef515e Signals: Add GRF restriction info bit for may reverse 2022-06-15 17:49:54 +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
a85492cb58 Documentation: Add section list to NewGRF additions doc 2022-06-13 02:28:42 +01:00
Jonathan G Rennison
d7eff4b926 Documentation: Add note about action 3 signals cargo types 2022-06-13 01:40:09 +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
Jonathan G Rennison
a54416afbc Add GRF variable to use extra station names even when default names remain 2022-04-18 20:06:21 +01:00
Jonathan G Rennison
156e53a519 Documentation: Reference road stops from main NewGRF pages 2022-02-25 23:23:15 +00:00
Jonathan G Rennison
ede2ceb9b9 Documentation: Initial road stops NewGRF documentation 2022-02-17 02:34:30 +00:00
Jonathan G Rennison
a3c003546b Implement extended NewGRF variable parameter support 2022-02-13 22:57:30 +00:00
Jonathan G Rennison
0db0c16f95 Documentation: Fix A2VM subchunk labels 2022-02-13 22:56:09 +00:00
Jonathan G Rennison
bb6786ccec Documentation: Add NML documentation for global vars
Fix typo
2022-02-11 01:05:47 +00:00
Jonathan G Rennison
d4f11eca42 Add NewGRF object properties to set viewport map mode/smallmap tile type 2022-02-07 01:16:45 +00:00
Jonathan G Rennison
a03453da49 Add properties to set lighthouse and transmitter generation amounts 2022-01-28 23:35:31 +00:00
Jonathan G Rennison
eeef6c485a Initial implementation of NewGRF feature ID mapping 2022-01-28 22:39:46 +00:00
Jonathan G Rennison
7ff885fc96 Add replacement sprites for road waypoint buildings
Add action 5 sprite replacement support
2022-01-26 21:46:36 +00:00
Jonathan G Rennison
66a1275e4b Documentation: Fix feature name for object inclined edge foundations 2022-01-26 02:01:50 +00:00
Jonathan G Rennison
22e72b1ecd Documentation: NFO/NML docs on object additions 2022-01-24 02:30:29 +00:00
Jonathan G Rennison
15955bc279 Documentation: Initial NFO docs on variable remapping 2022-01-24 02:01:09 +00:00
Jonathan G Rennison
d69657846c Add Action 5 remappable type for misc GUI sprites 2022-01-21 23:53:03 +00:00
Jonathan G Rennison
bfe7bbebd8 Documentation: Add object properties to NewGRF additions docs 2021-12-08 02:45:56 +00:00
Jonathan G Rennison
5d351a14d2 Add new signal type: no-entry signal
This is only passable in one direction, but does not have a signal
or show an aspect in the opposite direction

Add a setting for whether this is shown in the signal UI.
Off by default.
2021-09-04 11:39:54 +01:00
Jonathan G Rennison
b2ef6c0de8 Add implementation of multi-aspect signalling and GRF support
Requires realistic braking

See: #247
2021-08-28 12:54:18 +01:00
Jonathan G Rennison
f1fde8c684 Enable recolouring of custom signal graphics (global and per-railtype) 2021-08-22 15:01:26 +01:00
Jonathan G Rennison
322a046f49 NewGRF: Allow using Action 2/3 for custom signal sprites
This is mostly the same format as the railtype custom signal mechanism
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
b65b4d558e Documentation: Fix anchor tag for Action 0 - Global Settings 2021-08-04 21:30:27 +01:00
Jonathan G Rennison
3e7fdaf609 Documentation: Fix text for railtype_disable_realistic_braking 2021-08-04 19:37:57 +01:00
Jonathan G Rennison
4174fe727c Add NewGRF feature: Extra station name strings
These are used when all the default names have been used up,
instead of "Town Station #NNN".
2021-07-17 20:54:10 +01:00
Jonathan G Rennison
743c9023c6 Doc: Add element IDs/link anchors to NewGRF additions 2021-05-02 15:28:26 +01:00
Jonathan G Rennison
6a62b94263 Add NewGRF railtype flag to disable realistic braking for vehs of that type
See: #242
2021-04-15 20:56:45 +01:00
Jonathan G Rennison
98f889f0ab Documentation: Add NML documentation for non-standard NewGRF features 2020-10-19 19:45:08 +01:00
Jonathan G Rennison
946442ab6b GRF: Add extra road/tram type flag: towns cannot modify tiles 2020-10-16 22:41:26 +01:00
Jonathan G Rennison
75a964acb0 GRF: Add extra road/tram type flag: not available to AI/GS 2020-10-16 22:12:10 +01:00
Jonathan G Rennison
14adcbac80 Add NewGRF bridge property to prevent town or AI/GS building bridge type 2020-10-14 20:38:34 +01:00
Jonathan G Rennison
b6f583a799 GRF: Add railtype custom signal sprite restricted flag, and control flag 2020-09-26 11:53:44 +01:00
Jonathan G Rennison
d32672a325 GRF: Allow railtype custom signal sprites for programmable pre-signals 2020-09-26 11:26:33 +01:00
Jonathan G Rennison
8ed212f044 Documentation: NewGRF: Fix grammar issue 2020-04-05 11:09:37 +01:00
Jonathan G Rennison
030e8bf762 Rename programmable signals to programmable pre-signals
This is to make it less unclear what they actually are and do
2019-12-05 18:13:35 +00:00
Jonathan G Rennison
f3fb05fad4 Documentation: Fix typo in newgrf-additions 2019-04-01 03:16:04 +01:00
Jonathan G Rennison
a26db59349 Add Action 5 support for programmable signals graphics 2018-11-28 02:53:51 +00:00
Jonathan G Rennison
5b0cca4b57 Merge branch 'newgrf-property-mapping' into jgrpp
# Conflicts:
#	docs/newgrf-additions.html
#	src/newgrf.cpp
2018-11-28 02:41:52 +00:00
Jonathan G Rennison
7f87e3d61c Add an action 5 type ID remapping mechanism 2018-11-27 04:06:21 +00:00
Jonathan G Rennison
254bc4a710 Documentation: Fix typo in action 0 remapping description 2018-11-22 19:12:57 +00:00
Jonathan G Rennison
cef13b79c6 Documentation: Fill in documentation for bridge menu icons and station min bridge height 2018-11-19 19:51:35 +00:00
Jonathan G Rennison
8b37e5aac2 Implement custom bridge pillar flag support
Add bridge NewGRF property to set bridge pillars
Add station NewGRF property to disallow bridge pillars

Set values for default bridges and stations
2018-11-17 19:49:05 +00:00
Jonathan G Rennison
d264d71d04 Documentation: Fix typo in action 0 remapping description 2018-11-19 19:29:52 +00:00
Jonathan G Rennison
d320f77c44 Documentation: Fix NewGRF additions CSS 2018-11-19 19:17:39 +00:00
Jonathan G Rennison
2c88645bac Merge branch 'newgrf-property-mapping' into jgrpp 2018-11-11 23:51:30 +00:00
Jonathan G Rennison
04536952ee Fix Action 0 mapped property length handling
Fix case when Num-info != 1
2018-11-11 23:50:09 +00:00
Jonathan G Rennison
ceae4516ca Add remappable properties for station min bridge height and bridge menu icon 2018-11-11 11:28:10 +00:00
Jonathan G Rennison
06c458cb19 Merge branch 'newgrf-property-mapping' into jgrpp
# Conflicts:
#	docs/newgrf-additions.html
#	src/newgrf.cpp
2018-11-11 11:27:41 +00:00