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
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
b6630acc24
Documentation: Fix explanation of road stops terrain type variable
2022-06-13 01:36:06 +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
cdbc758dba
Documentation: Fix spelling error and redundant text
2022-06-06 00:18:08 +01:00
Jonathan G Rennison
13bb4fc47b
Documentation: Update low level changes document
2022-06-05 15:54:22 +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
c4d90a150e
Documentation: Fix typo in NML roadstops doc
2022-04-18 20:06:21 +01:00
Jonathan G Rennison
272c93486c
Documentation: Fix name of RST_GENERAL_FLAG_DRIVE_THROUGH_ONLY
2022-04-16 10:06:13 +01:00
Jonathan G Rennison
8a9afd4621
Add road stops flag for drive-through stops only
2022-04-15 17:46:42 +01:00
Jonathan G Rennison
ad0dc6dc87
Add road stops flag to disable drawing catenary
2022-04-15 11:47:57 +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
95fb19490b
Documentation: Add note about road stop parent scope
2022-02-25 20:41:17 +00:00
Jonathan G Rennison
13f93ee678
Documentation: Add syntax example for road stops NML
2022-02-25 20:35:25 +00:00
Jonathan G Rennison
998d92fa37
Documentation: Add NML road stop nearby_tile_is_drive_through variable
2022-02-25 15:46:01 +00:00
Jonathan G Rennison
e24d7c88bc
Add road stop flag to not show one-way road overlays
2022-02-25 12:42:32 +00:00
Jonathan G Rennison
2ce5a93527
Add road stop variables for one-way road info
2022-02-25 14:41:07 +00:00
Jonathan G Rennison
d7bc18e5ac
Documentation: Add NML road stops documentation
2022-02-24 23:59:10 +00:00
Jonathan G Rennison
cb573a1523
Add road stop property to set cost multipliers
2022-02-24 21:13:46 +00:00
Jonathan G Rennison
ff2640c0e3
Add more sub parts to road stop var 68
2022-02-24 20:36:41 +00:00
Jonathan G Rennison
ad046bdf22
Add a waypoint ground draw flag to NewGRF road stops
...
Adjust overlay draw conditions
2022-02-24 18:20:09 +00:00
Jonathan G Rennison
ede2ceb9b9
Documentation: Initial road stops NewGRF documentation
2022-02-17 02:34:30 +00:00
Jonathan G Rennison
1084bb8566
Initial support for NewGRF road stops (bus and lorry stops)
2022-02-14 00:31:14 +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
5fd2610f69
Documentation: Fix type/height columns in landscape grid
2022-02-09 20:43:27 +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
c3c55db02b
Implement road ground types for road waypoints
2022-01-26 22:15:17 +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
b4fc0b4dc5
Initial implementation of road waypoints
2022-01-26 21:46:36 +00:00
Jonathan G Rennison
ace75f6864
Widen station type field in map array
2022-01-26 21:46:35 +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
7f846aad04
Documentation: Update landscape docs for object foundation type
2022-01-26 00:32:24 +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
579c71dd44
Script: Add ScriptRoad methods related to road types
2022-01-09 23:49:11 +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
06fa1ae332
Add object shore/flooding support, adjust handling of foundations
...
Add info to debug window
2021-12-05 21:46:09 +00:00
Jonathan G Rennison
924ffb013f
Add NewGRF object property/flag to use land as object ground sprite
...
This handles variable ground densities, snow/desert, etc.
2021-12-05 11:54:13 +00:00
Jonathan G Rennison
74bfe4e6d2
Allow placing routing restrictions on tunnel/bridge entrance/exit signals
...
No reserve through support
2021-11-13 22:28:14 +00:00
Jonathan G Rennison
3ef1a0943b
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/lang/chuvash.txt
# src/lang/czech.txt
# src/lang/english_AU.txt
# src/lang/english_US.txt
# src/lang/german.txt
# src/lang/japanese.txt
# src/lang/korean.txt
# src/lang/latvian.txt
# src/lang/russian.txt
# src/tree_gui.cpp
# src/vehicle.cpp
2021-11-02 21:11:11 +00:00
Jonathan G Rennison
324e90e5ac
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/lang/arabic_egypt.txt
# src/lang/english.txt
# src/lang/greek.txt
# src/network/core/tcp_connect.cpp
# src/network/network_client.cpp
# src/network/network_client.h
# src/pathfinder/npf/npf.cpp
# src/pathfinder/yapf/yapf_ship.cpp
# src/rail_gui.cpp
# src/settings_table.cpp
# src/settings_type.h
# src/station_cmd.cpp
# src/table/settings/gui_settings.ini
# src/town_cmd.cpp
# src/widgets/rail_widget.h
2021-11-02 19:23:24 +00:00
Jonathan G Rennison
9e1bb3eea7
Merge tag '12.0-beta2' into jgrpp-beta
...
# Conflicts:
# docs/landscape_grid.html
# src/lang/simplified_chinese.txt
# src/network/network_server.cpp
# src/station_cmd.cpp
2021-11-02 18:02:37 +00:00
Jonathan G Rennison
faf32200cf
Merge tag '12.0-beta1' into jgrpp-beta
...
# Conflicts:
# CMakeLists.txt
# bin/ai/CMakeLists.txt
# bin/game/CMakeLists.txt
# src/build_vehicle_gui.cpp
# src/console_cmds.cpp
# src/core/overflowsafe_type.hpp
# src/fios.cpp
# src/lang/english.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/polish.txt
# src/network/core/game_info.cpp
# src/network/core/game_info.h
# src/network/core/tcp_game.cpp
# src/network/core/tcp_game.h
# src/network/network.cpp
# src/network/network_client.cpp
# src/network/network_client.h
# src/network/network_coordinator.cpp
# src/network/network_gui.cpp
# src/network/network_server.cpp
# src/network/network_server.h
# src/newgrf_engine.cpp
# src/openttd.cpp
# src/rev.cpp.in
# src/settings_type.h
# src/train.h
# src/train_cmd.cpp
2021-11-02 17:51:38 +00:00
Jonathan G Rennison
f764fcfb1f
Merge branch 'master' into jgrpp-beta
...
# Conflicts:
# src/console_cmds.cpp
# src/debug.cpp
# src/lang/vietnamese.txt
# src/network/core/address.cpp
# src/network/core/address.h
# src/network/core/config.h
# src/network/core/os_abstraction.cpp
# src/network/core/os_abstraction.h
# src/network/core/tcp_listen.h
# src/network/core/udp.cpp
# src/network/core/udp.h
# src/network/network.cpp
# src/network/network_client.cpp
# src/network/network_gamelist.cpp
# src/network/network_server.cpp
# src/network/network_udp.cpp
# src/newgrf.cpp
# src/openttd.cpp
# src/saveload/saveload.h
# src/settings.cpp
# src/settings_table.cpp
# src/settings_type.h
# src/table/settings/network_settings.ini
2021-11-02 00:51:54 +00:00
Patric Stout
928e6a04e2
Doc: update multiplayer documentation with latest changes ( #9552 )
...
Although several places were fixed during the PR making the change,
not all made it in this document.
While at it, removed all kinds of Markdown warnings by an excessive
usage of spacebar in this document.
2021-09-12 22:26:04 +02: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
16f2ef227b
Store tunnel/bridge signal spacing on tile, adjust spacing to fit length
2021-08-29 02:11:58 +01:00
Jonathan G Rennison
67c1e0dd11
Documentation: Fix/rearrange tunnel/bridge landscape docs
2021-08-29 02:02:50 +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
9cce8c0622
DocumentationL Update NML additions
2021-08-23 02:26:07 +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
frosch
93fd42b0c3
Doc: guidelines on english.txt or translation changes in PRs. ( #9505 )
2021-08-22 14:27:48 +02:00
Joan Josep
b38712a302
Fix a18188a
: "Meaningful" is misspelled in landscape grid documentation. ( #9498 )
2021-08-18 13:15:01 +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
Patric Stout
fa1e27994d
Feature: allow the use of TURN to connect client and server together
...
TURN is a last resort, used only if all other methods failed.
TURN is a relay approach to connect client and server together, where
openttd.org (by default) is the middleman.
It is very unlikely either the client or server cannot connect to
the STUN server, as they are both already connected to the Game
Coordinator. But in the odd case it does fail, estabilishing the
connection fails without any further possibility to recover.
2021-07-20 19:57:23 +02: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
Patric Stout
29cceb59a5
Doc: explain in a bit more detail how we implemented STUN
2021-07-16 19:50:29 +02:00