Jonathan G Rennison
02549c5224
Merge branch 'master' into jgrpp
...
# Conflicts:
# cmake/CompileFlags.cmake
# src/cargomonitor.cpp
# src/core/CMakeLists.txt
# src/economy.cpp
# src/landscape.cpp
# src/linkgraph/flowmapper.cpp
# src/linkgraph/linkgraph_gui.cpp
# src/linkgraph/linkgraphschedule.cpp
# src/misc_gui.cpp
# src/newgrf_generic.cpp
# src/newgrf_storage.cpp
# src/rail_gui.cpp
# src/saveload/afterload.cpp
# src/saveload/station_sl.cpp
# src/script/script_gui.cpp
# src/station_cmd.cpp
# src/station_gui.cpp
# src/string_func.h
# src/terraform_cmd.cpp
2023-06-08 00:01:38 +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
3d4133cadb
Debug: Fix debug window parent scope button with missing town
2023-06-02 22:18:40 +01:00
Jonathan G Rennison
e3bd8966fc
Debug: Allow setting parameters for extended vars in debug window
...
Reafctor handling of set parameters
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
02fe4af934
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release-windows.yml
# src/company_base.h
# src/company_cmd.cpp
# src/company_gui.cpp
# src/console_cmds.cpp
# src/economy.cpp
# src/economy_cmd.h
# src/fios.h
# src/goal.cpp
# src/group_gui.cpp
# src/network/core/config.h
# src/network/network_admin.cpp
# src/newgrf_config.cpp
# src/os/windows/win32.cpp
# src/saveload/afterload.cpp
# src/saveload/company_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload_error.hpp
# src/settings_gui.cpp
# src/ship_cmd.cpp
# src/stdafx.h
# src/story.cpp
# src/story_base.h
# src/string.cpp
# src/table/settings/economy_settings.ini
# src/tests/CMakeLists.txt
# src/tests/math_func.cpp
2023-05-30 00:49:24 +01:00
PeterN
584faaf064
Change: Reorganise industry accept/produce arrays. ( #10853 )
...
Use a array of struct for each cargo instead of an array for each statistic.
This makes iterating for acceptance and production much simpler.
pct_transported is now calculated when needed.
2023-05-25 21:25:46 +01:00
Peter Nelson
e6740046ee
Codechange: Use range-for iteration.
2023-05-11 07:58:55 +01:00
Jonathan G Rennison
f78fea4fbf
Debug: Add introduction info to railtype debug info
2023-05-04 17:04:28 +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
ac0c8c8cdd
Debug: Show local GRF IDs for engines, stations, houses, objects and road stops
2023-04-13 20:48:59 +01:00
Jonathan G Rennison
1d947201d3
Debug: Fix expand/collapse for extra engine flags
2023-04-13 19:59:28 +01:00
Jonathan G Rennison
1d05637d45
Add setting for rail depot maximum speed
2023-04-06 01:30:14 +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
d30157a113
Debug: Show whether vehicle needs service in debug window
2023-03-24 11:44:58 +00:00
Jonathan G Rennison
5d5e005c5d
Debug: Log aircraft target airport and movement state name
2023-03-22 21:15:46 +00:00
Jonathan G Rennison
bd3df161e4
Debug: Show whether vehicle is in tile hash in debug info
2023-03-22 19:38:53 +00:00
Jonathan G Rennison
0ab54b2992
Debug: Fix aliasing of show/hide toggles for aircraft in debug window
2023-03-22 19:38:53 +00:00
Jonathan G Rennison
1dce4a0bef
Debug: Show reliability/breakdown values in vehicle debug window
2023-03-15 19:44:26 +00:00
Jonathan G Rennison
9c5f81790a
Debug: Split industry produced cargo info across multiple lines
2023-03-12 13:35:37 +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
4c1406a4b5
Add: NewGRF road stops
2023-02-26 21:28:30 +01:00
Jonathan G Rennison
e0a42b5945
Debug: Add dumping of rail and road/tram sprite groups
2023-02-25 16:16:49 +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
f7d62a1767
Add road/tram type flag to disallow collisions with trains
2023-02-19 18:05:11 +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
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
Michael Lutz
5daaa45e4a
Add: [NewGRF] Second vehicle property for additional callback flags.
...
(cherry picked from commit 2d73076056 )
2023-02-05 22:40:03 +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
219e41b5d6
Debug: Enable inspecting non-GRF objects
2023-02-04 11:00:00 +00:00
Jonathan G Rennison
e8dca9f220
Debug: Add time since load/unload to station debug info
2023-02-02 18:48:46 +00:00
Michael Lutz
2d73076056
Add: [NewGRF] Second vehicle property for additional callback flags.
2023-01-30 22:00:56 +01:00
Jonathan G Rennison
f3645cf629
Debug: Dump all station sprite groups, not just current resolved one
2023-01-29 14:14:17 +00:00
Jonathan G Rennison
e816c2416a
Debug: Show more road vehicle engine fields in debug window
2023-01-07 00:22:39 +00:00
Jonathan G Rennison
96f790fc7d
Debug: Show rail station tile layouts in debug window
2023-01-03 03:55:51 +00:00
Jonathan G Rennison
0093ebe3a7
Debug: Add engine variant ID and extra flags to debug info
2022-12-28 02:17:48 +00:00
Jonathan G Rennison
5bea50c413
Debug: Add rail engine misc flags to debug info
2022-12-27 02:11:41 +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
6b8f799a1c
Debug: Show engine base introduction date
2022-12-24 17:42:14 +00:00
Jonathan G Rennison
0a9d734ce8
Debug: List new landscape GRFs and their flags in the debug window
2022-12-12 23:25:44 +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
2430a5113e
Debug: Add GRF debug window support for new landscape rocks
2022-12-12 19:15:19 +00:00
Jonathan G Rennison
5c2d5782a4
Fixes incorrect link graph edge travel times with non-unity day length
...
Change vehicle last_loading_tick to be relative to _scaled_tick_counter
2022-12-11 00:27:18 +00:00
Jonathan G Rennison
afd3004ea0
Debug: Avoid compiler warnings in debug window cargo class printing
2022-11-29 17:58:51 +00:00
Jonathan G Rennison
3d7e5d5369
Avoid unnecessary viewport redraws for unused tile loop house triggers
2022-11-24 02:38:10 +00:00
Jonathan G Rennison
b428c5b58a
Debug: Show train engine veh type and power in debug window
2022-11-06 22:27:25 +00:00