Commit Graph

652 Commits (c79dd3656f68d5b653f2f16d35a8819c0fa12bff)

Author SHA1 Message Date
Jonathan G Rennison 9c255850a5 Add AI/GS method to get annual expense category value
See: #425
2 years ago
Jonathan G Rennison 496ec7f642 Documentation: Add NML road stops random_bits_tile variable 2 years ago
Jonathan G Rennison 4b9d5a437f Add GS methods to set inflation factors
See: #415
2 years ago
Jonathan G Rennison 81291c4ffc Add AI/GS methods to get inflation factors
See: #415
2 years ago
Jonathan G Rennison 50965bbce7 Add road stops flag to disable auto road connections
Bump road stops version
2 years ago
Jonathan G Rennison 9be7fef875 Documentation: Fix road stop one way state variable values 2 years ago
Jonathan G Rennison c851c7a797 Documentation: Remove incorrect note about new landscape variables 2 years ago
Jonathan G Rennison c19bd4473f Add signal style flag to require realistic braking 2 years ago
Jonathan G Rennison 78ae295dfe Add combined normal and shunt aspect signal style flag 2 years ago
Jonathan G Rennison a311f12615 Add signals_style_lookahead_single_signal_only signal style property 2 years ago
Jonathan G Rennison fcae909839 Add signal style flag for drawing on the opposite side 2 years ago
Jonathan G Rennison 191f710c40 Add custom signal style properties to set electric/semaphore enabled types 2 years ago
Jonathan G Rennison 175c5d4d50 Add signal style flag to limit lookahead extra aspect 2 years ago
Jonathan G Rennison bdd73a19a1 Add signal style flag for unconditional reserve through
Add map bits for unconditional reserve through
Adjust signal aspect/state handling
2 years ago
Jonathan G Rennison 7ae06124ae Add signal style flag for no aspect increase behaviour (banner repeater) 2 years ago
Jonathan G Rennison 6e4c4b35e7 Initial implementation of NewGRF custom signal styles 2 years ago
Jonathan G Rennison 41117a52d2 Signals: Add variable for signal context (track, tunnel, bridge, etc) 2 years ago
Jonathan G Rennison cf5eef515e Signals: Add GRF restriction info bit for may reverse 2 years ago
Jonathan G Rennison 7bb0de247d Add GRF feature: New Landscape
Custom graphics using actions 1/2/3.

Currently only for rock tiles
2 years ago
Jonathan G Rennison a85492cb58 Documentation: Add section list to NewGRF additions doc 2 years ago
Jonathan G Rennison d7eff4b926 Documentation: Add note about action 3 signals cargo types 2 years ago
Jonathan G Rennison b6630acc24 Documentation: Fix explanation of road stops terrain type variable 2 years ago
Jonathan G Rennison ba52fbeb91 Signals: Add variable for restriction info, add bit for reserve through 2 years ago
Jonathan G Rennison cdbc758dba Documentation: Fix spelling error and redundant text 2 years ago
Jonathan G Rennison 13bb4fc47b Documentation: Update low level changes document 2 years ago
Jonathan G Rennison a54416afbc Add GRF variable to use extra station names even when default names remain 2 years ago
Jonathan G Rennison c4d90a150e Documentation: Fix typo in NML roadstops doc 2 years ago
Jonathan G Rennison 272c93486c Documentation: Fix name of RST_GENERAL_FLAG_DRIVE_THROUGH_ONLY 2 years ago
Jonathan G Rennison 8a9afd4621 Add road stops flag for drive-through stops only 2 years ago
Jonathan G Rennison ad0dc6dc87 Add road stops flag to disable drawing catenary 2 years ago
Jonathan G Rennison 156e53a519 Documentation: Reference road stops from main NewGRF pages 2 years ago
Jonathan G Rennison 95fb19490b Documentation: Add note about road stop parent scope 2 years ago
Jonathan G Rennison 13f93ee678 Documentation: Add syntax example for road stops NML 2 years ago
Jonathan G Rennison 998d92fa37 Documentation: Add NML road stop nearby_tile_is_drive_through variable 2 years ago
Jonathan G Rennison e24d7c88bc Add road stop flag to not show one-way road overlays 2 years ago
Jonathan G Rennison 2ce5a93527 Add road stop variables for one-way road info 2 years ago
Jonathan G Rennison d7bc18e5ac Documentation: Add NML road stops documentation 2 years ago
Jonathan G Rennison cb573a1523 Add road stop property to set cost multipliers 2 years ago
Jonathan G Rennison ff2640c0e3 Add more sub parts to road stop var 68 2 years ago
Jonathan G Rennison ad046bdf22 Add a waypoint ground draw flag to NewGRF road stops
Adjust overlay draw conditions
2 years ago
Jonathan G Rennison ede2ceb9b9 Documentation: Initial road stops NewGRF documentation 2 years ago
Jonathan G Rennison 1084bb8566 Initial support for NewGRF road stops (bus and lorry stops) 2 years ago
Jonathan G Rennison a3c003546b Implement extended NewGRF variable parameter support 2 years ago
Jonathan G Rennison 0db0c16f95 Documentation: Fix A2VM subchunk labels 2 years ago
Jonathan G Rennison bb6786ccec Documentation: Add NML documentation for global vars
Fix typo
2 years ago
Jonathan G Rennison 5fd2610f69 Documentation: Fix type/height columns in landscape grid 2 years ago
Jonathan G Rennison d4f11eca42 Add NewGRF object properties to set viewport map mode/smallmap tile type 2 years ago
Jonathan G Rennison a03453da49 Add properties to set lighthouse and transmitter generation amounts 2 years ago
Jonathan G Rennison eeef6c485a Initial implementation of NewGRF feature ID mapping 2 years ago
Jonathan G Rennison c3c55db02b Implement road ground types for road waypoints 2 years ago
Jonathan G Rennison 7ff885fc96 Add replacement sprites for road waypoint buildings
Add action 5 sprite replacement support
2 years ago
Jonathan G Rennison b4fc0b4dc5 Initial implementation of road waypoints 2 years ago
Jonathan G Rennison ace75f6864 Widen station type field in map array 2 years ago
Jonathan G Rennison 66a1275e4b Documentation: Fix feature name for object inclined edge foundations 2 years ago
Jonathan G Rennison 7f846aad04 Documentation: Update landscape docs for object foundation type 2 years ago
Jonathan G Rennison 22e72b1ecd Documentation: NFO/NML docs on object additions 2 years ago
Jonathan G Rennison 15955bc279 Documentation: Initial NFO docs on variable remapping 2 years ago
Jonathan G Rennison d69657846c Add Action 5 remappable type for misc GUI sprites 2 years ago
Jonathan G Rennison 579c71dd44 Script: Add ScriptRoad methods related to road types 2 years ago
Jonathan G Rennison bfe7bbebd8 Documentation: Add object properties to NewGRF additions docs 3 years ago
Jonathan G Rennison 06fa1ae332 Add object shore/flooding support, adjust handling of foundations
Add info to debug window
3 years ago
Jonathan G Rennison 924ffb013f Add NewGRF object property/flag to use land as object ground sprite
This handles variable ground densities, snow/desert, etc.
3 years ago
Jonathan G Rennison 74bfe4e6d2 Allow placing routing restrictions on tunnel/bridge entrance/exit signals
No reserve through support
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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.
3 years ago
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.
3 years ago
Jonathan G Rennison 16f2ef227b Store tunnel/bridge signal spacing on tile, adjust spacing to fit length 3 years ago
Jonathan G Rennison 67c1e0dd11 Documentation: Fix/rearrange tunnel/bridge landscape docs 3 years ago
Jonathan G Rennison b2ef6c0de8 Add implementation of multi-aspect signalling and GRF support
Requires realistic braking

See: #247
3 years ago
Jonathan G Rennison 9cce8c0622 DocumentationL Update NML additions 3 years ago
Jonathan G Rennison f1fde8c684 Enable recolouring of custom signal graphics (global and per-railtype) 3 years ago
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
3 years ago
frosch 93fd42b0c3
Doc: guidelines on english.txt or translation changes in PRs. (#9505) 3 years ago
Joan Josep b38712a302
Fix a18188a: "Meaningful" is misspelled in landscape grid documentation. (#9498) 3 years ago
Jonathan G Rennison b65b4d558e Documentation: Fix anchor tag for Action 0 - Global Settings 3 years ago
Jonathan G Rennison 3e7fdaf609 Documentation: Fix text for railtype_disable_realistic_braking 3 years ago
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.
3 years ago
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".
3 years ago
Patric Stout 29cceb59a5 Doc: explain in a bit more detail how we implemented STUN 3 years ago
Rubidium c71f06e59b Feature: parse the console settings the same way as config settings
Now you can use things like `set server_game_type public` instead of having to
guess the number, which would not be written into the configuration file nor
would it be shown when doing `set server_game_type`.
3 years ago
Patric Stout b6a116a247
Add: allow setting your server visibility to "invite-only" (#9434)
In this mode you do register to the Game Coordinator, but your
server will not show up in the public server listing. You can give
your friends the invite code of the server with which they can
join.
3 years ago
Loïc Guilloux 92cdfffbd1
Doc: explain the binary structure of scripts custom data (#9425) 3 years ago
Patric Stout 1d9912134d Doc: guidelines for network-compatible patch-packs that want to add fields to existing chunks 3 years ago
Patric Stout 9643a1b80a Doc: explain the binary structure of our (new) savegames 3 years ago
Jonathan G Rennison 743c9023c6 Doc: Add element IDs/link anchors to NewGRF additions 3 years ago
Jonathan G Rennison 253772e9af Merge branch 'master' into jgrpp
# Conflicts:
#	CMakeLists.txt
#	COMPILING.md
#	src/console.cpp
#	src/console_cmds.cpp
#	src/console_internal.h
#	src/rev.cpp.in
3 years ago
Andy d0e40ab314
Doc: provide a visual representation of the company colour ranges (#8546)
Co-authored-by: rubidium42 <rubidium42@users.noreply.github.com>
3 years ago
Jonathan G Rennison 6a62b94263 Add NewGRF railtype flag to disable realistic braking for vehs of that type
See: #242
3 years ago
Jonathan G Rennison 253d54ce05 Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/french.txt
#	src/network/network_udp.cpp
3 years ago
Rubidium 4fb1e34b1e Change: add some hints about the getaddrinfo warning to the troubleshooting part of the documentation 3 years ago
Jonathan G Rennison ea2a3b591d Documentation: Update low level changes 3 years ago
Jonathan G Rennison f595696e97 Add map bit to suppress water flooding checks
Set if all neighbour tiles are also water
This reduces the overhead of flood checks on large maps
3 years ago
Joan Josep b7a1750863 Doc: Add labels to landscape grid description. (#8452)
(cherry picked from commit a18188ae90)
3 years ago
Joan Josep a18188ae90
Doc: Add labels to landscape grid description. (#8452) 3 years ago
Jonathan G Rennison 7154f8859d Merge tag '1.11.0-beta1' into jgrpp
# Conflicts:
#	src/console_cmds.cpp
#	src/gfx_func.h
#	src/industry.h
#	src/lang/czech.txt
#	src/lang/estonian.txt
#	src/lang/german.txt
#	src/lang/indonesian.txt
#	src/lang/japanese.txt
#	src/lang/norwegian_bokmal.txt
#	src/lang/russian.txt
#	src/lang/slovak.txt
#	src/saveload/saveload.h
#	src/station_gui.cpp
#	src/town_gui.cpp
#	src/vehicle_gui.cpp
#	src/video/sdl2_v.cpp
#	src/waypoint_gui.cpp
3 years ago
Andy 3345d54ad9
Doc: add a png representation of the palette overlaid with indexes (decimal) (#8547) 3 years ago