Commit Graph

656 Commits (diagonal_road_investigations)

Author SHA1 Message Date
Peter Nelson b2a1ec96f1 Change: Store station blocked/wires/pylons flags in map.
This stores three flags in unused map bits, and avoids having to look up
station graphics and custom station specs to determine blocked/wires/pylons
status.

This potentially affects rail pathfinding performance.

Savegame version is not bumped, as the flags can just be updated every
time.

(cherry picked from commit cb658e6cc6e1c114c1eaafaaa5b14849f04ca083)
9 months ago
Jonathan G Rennison be13d8d970 Update low level changes document 9 months ago
Jonathan G Rennison a0e3885acc Add airport tile variables to get airport type local ID and layout 10 months ago
Jonathan G Rennison 1183476182 Allow custom signal styles to disable aspect-limited mode
By setting style_lookahead_extra_aspects to 255
10 months ago
Jonathan G Rennison c6a6e7c60b Update low lavel changes document 11 months ago
Jonathan G Rennison 3b2e917ca4 Enable vehicle variable 61 for ships
Bump multi_part_ships feature version, add to documentation
12 months ago
Jonathan G Rennison bc00753996 NewGRF stations: Remove extended version of varuiable 68 1 year ago
Jonathan G Rennison 7119550aa7 Documentation: Adjust low level changes document 1 year ago
Jonathan G Rennison 69c118a2cb Documentation: Update info on road stop and object extended byte format 1 year ago
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
1 year ago
Jonathan G Rennison 1dbbbed9e5 NewGRF: Only extend value of road stops variable 68 if feature tested for 1 year ago
Jonathan G Rennison 5989edab8d Documentation: Fix table HTML in roadstops doc 1 year ago
Jonathan G Rennison cd9930542d GS: Add GSAsyncMode(bool) class to set async mode of script DoCommands
In asynchronous mode, don't wait for result of executed command,
just fire-and-forget, and return estimated cost/result
1 year ago
Jonathan G Rennison df6c35a48a Documentation: Add contents listing to script additions document 1 year ago
Jonathan G Rennison 64925aedf8 Add town variable for town tile X and Y coordinates 1 year ago
Jonathan G Rennison e02585f68e Add railtype and signals variables for signal vertical clearance 1 year ago
Jonathan G Rennison 3d1b0af8f6 Merge branch 'master' into jgrpp
# Conflicts:
#	src/newgrf_debug_gui.cpp
#	src/object_cmd.cpp
#	src/object_gui.cpp
1 year ago
Jonathan G Rennison 62053779b5 Road stops: Add flag to read draw mode from register 0x100 1 year ago
Jonathan G Rennison 177a00ac12 Documentation: Adjust road stops NML CSS 1 year ago
Jonathan G Rennison 706d8f17a3 Road stops: Add bit for whether stop is being drawn in the build window 1 year ago
Tyler Trahan e26d3de5fb
Doc: Add guide to releasing OpenTTD (#10563) 1 year ago
Jonathan G Rennison 2e7545f85f Road stops: Add flag to use custom graphics for disabled views in build window 1 year ago
Jonathan G Rennison 8cd7c9559f Multi-part ships: Require feature test to enable callback 16 1 year ago
Jonathan G Rennison 87e4258fe3 Allow selecting individual ship parts in refit window
Add callback to name ship parts in refit window
1 year ago
Jonathan G Rennison 211fdd62b2 Initial support for multi-part (pseudo-articulated) ships 1 year ago
Jonathan G Rennison 5718730d68 VarAction2: Add support for more varaction2 types
Add CB failure and deterministic relative types
1 year ago
Jonathan G Rennison 48d602962f Road stops: Add inferred one way road state to var 50/roadstop_misc_info 1 year ago
Jonathan G Rennison a3125499a1 Documentation: Fix minor errors in road stops document 1 year ago
Jonathan G Rennison a00eb94e2f Documentation: Add NewGRF town feature additions 1 year ago
Jonathan G Rennison 2181b99bdd Documentation: Add note about road stops feature name/ID mapping 1 year ago
dP b0542c8c49
Codechange: Don't store tree counter in the map array (#10018) 1 year ago
Jonathan G Rennison 4c1406a4b5 Add: NewGRF road stops 1 year ago
Jonathan G Rennison 5a877b49b4 Add railtype/signal variable to get signal side 1 year ago
Jonathan G Rennison f7d62a1767 Add road/tram type flag to disallow collisions with trains 1 year ago
Jonathan G Rennison 663a3969a0 Add road/tram type flag to disallow tunnels 1 year ago
Jonathan G Rennison 3497d0dcdb Add road/tram type properties to set road vehicle collision mode 1 year ago
Jonathan G Rennison c756b8de8e GRF: Add second success indicator mechanism for feature tests and ID mappings 1 year ago
Jonathan G Rennison 85de07dee1 Documentation: Clarify that more_objects_per_grf must be tested for to enable it 1 year ago
Jonathan G Rennison 53835cef8e Documentation: Add documentation for more objects per GRF 1 year ago
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
1 year ago
Jonathan G Rennison cfbd6406e1 Documentation: Fix NML documentation of variable nearby_tile_road_stop_id 1 year ago
Jonathan G Rennison 9951c0dbd5 Documentation: Update NewGRF road stop docs 1 year ago
Jonathan G Rennison 8999f9237b Documentation: Add link anchors and index for NewGRF NML additions 1 year ago
Jonathan G Rennison 8af4ac8a4c GRF: Add road stops variable for road info of nearby plain road tile
See: #464
1 year ago
Jonathan G Rennison d90c381d12 Documentation: Update low level changes document 2 years ago
Jonathan G Rennison 39277404a2 Add new landscape variable for ground density and snow presence 2 years ago
Jonathan G Rennison 0d4f196451 Documentation: Add missing text about new landscape variable 44
newlandscape_landscape_type
2 years ago
Jonathan G Rennison 12b20376b3 Add new landscape flag to enable drawing rocks covered by snow 2 years ago
Jonathan G Rennison 41fb98db09 Add NewGRF global flag to allow rocky tiles in tropic desert zones 2 years ago
Jonathan G Rennison 7cc953618a Documentation: Update low level changes document 2 years ago