Rubidium
eaae0bb5e7
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
...
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
11 months ago
Jonathan G Rennison
8af0dc223c
Debug: Improve display of rail/road/tram type labels
...
Click to show individual compatible/powered types
11 months ago
Jonathan G Rennison
dadebfa759
Debug: Show engine cargo/refit values
1 year ago
Jonathan G Rennison
051cb29f7a
Debug: Show engine misc flags for all vehicle types
1 year ago
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
1 year ago
Jonathan G Rennison
bc00753996
NewGRF stations: Remove extended version of varuiable 68
1 year ago
Jonathan G Rennison
3d4133cadb
Debug: Fix debug window parent scope button with missing town
1 year ago
Jonathan G Rennison
e3bd8966fc
Debug: Allow setting parameters for extended vars in debug window
...
Reafctor handling of set parameters
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
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
1 year ago
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.
1 year ago
Peter Nelson
e6740046ee
Codechange: Use range-for iteration.
1 year ago
Jonathan G Rennison
f78fea4fbf
Debug: Add introduction info to railtype debug info
1 year ago
Jonathan G Rennison
64925aedf8
Add town variable for town tile X and Y coordinates
1 year ago
Jonathan G Rennison
9fd01d57cc
Rename town zone extended variable identifiers
1 year ago
Jonathan G Rennison
ac0c8c8cdd
Debug: Show local GRF IDs for engines, stations, houses, objects and road stops
1 year ago
Jonathan G Rennison
1d947201d3
Debug: Fix expand/collapse for extra engine flags
1 year ago
Jonathan G Rennison
1d05637d45
Add setting for rail depot maximum speed
1 year ago
Jonathan G Rennison
e02585f68e
Add railtype and signals variables for signal vertical clearance
1 year ago
Jonathan G Rennison
d30157a113
Debug: Show whether vehicle needs service in debug window
1 year ago
Jonathan G Rennison
5d5e005c5d
Debug: Log aircraft target airport and movement state name
1 year ago
Jonathan G Rennison
bd3df161e4
Debug: Show whether vehicle is in tile hash in debug info
1 year ago
Jonathan G Rennison
0ab54b2992
Debug: Fix aliasing of show/hide toggles for aircraft in debug window
1 year ago
Jonathan G Rennison
1dce4a0bef
Debug: Show reliability/breakdown values in vehicle debug window
1 year ago
Jonathan G Rennison
9c5f81790a
Debug: Split industry produced cargo info across multiple lines
1 year ago
Jonathan G Rennison
ae99f667b0
NewGRF: Add generic town callback to set town zone radii
1 year ago
Jonathan G Rennison
93c34775e4
NewGRF: Add town variables for uncapped house count, population and zone radii
...
Add feature name
1 year ago
Jonathan G Rennison
4c1406a4b5
Add: NewGRF road stops
1 year ago
Jonathan G Rennison
e0a42b5945
Debug: Add dumping of rail and road/tram sprite groups
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
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
Michael Lutz
5daaa45e4a
Add: [NewGRF] Second vehicle property for additional callback flags.
...
(cherry picked from commit 2d73076056
)
1 year ago
Jonathan G Rennison
1272bec13b
Road stops: Add height property for build window preview
1 year ago
Jonathan G Rennison
219e41b5d6
Debug: Enable inspecting non-GRF objects
1 year ago
Jonathan G Rennison
e8dca9f220
Debug: Add time since load/unload to station debug info
1 year ago
Michael Lutz
2d73076056
Add: [NewGRF] Second vehicle property for additional callback flags.
1 year ago
Jonathan G Rennison
f3645cf629
Debug: Dump all station sprite groups, not just current resolved one
1 year ago
Jonathan G Rennison
e816c2416a
Debug: Show more road vehicle engine fields in debug window
1 year ago
Jonathan G Rennison
96f790fc7d
Debug: Show rail station tile layouts in debug window
1 year ago
Jonathan G Rennison
0093ebe3a7
Debug: Add engine variant ID and extra flags to debug info
1 year ago
Jonathan G Rennison
5bea50c413
Debug: Add rail engine misc flags to debug info
1 year ago
Jonathan G Rennison
8af4ac8a4c
GRF: Add road stops variable for road info of nearby plain road tile
...
See: #464
2 years ago
Jonathan G Rennison
6b8f799a1c
Debug: Show engine base introduction date
2 years ago
Jonathan G Rennison
0a9d734ce8
Debug: List new landscape GRFs and their flags in the debug window
2 years ago
Jonathan G Rennison
39277404a2
Add new landscape variable for ground density and snow presence
2 years ago
Jonathan G Rennison
2430a5113e
Debug: Add GRF debug window support for new landscape rocks
2 years ago
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
2 years ago
Jonathan G Rennison
afd3004ea0
Debug: Avoid compiler warnings in debug window cargo class printing
2 years ago
Jonathan G Rennison
3d7e5d5369
Avoid unnecessary viewport redraws for unused tile loop house triggers
2 years ago
Jonathan G Rennison
b428c5b58a
Debug: Show train engine veh type and power in debug window
2 years ago
Jonathan G Rennison
0bf1c9bb9d
Merge tag '13.0-beta1' into jgrpp
2 years ago
Jonathan G Rennison
6ac311d71e
Debug: Show type of current order in vehicle debug info
2 years ago
Jonathan G Rennison
669b3f2e04
Debug: Add GRF inspect window support for cargoes
2 years ago
Jonathan G Rennison
a58d910a0b
Debug: Include cost multipliers in rail and road type debug info
2 years ago
Jonathan G Rennison
fc5e20719d
Fix #423 : Max TE/weight should not be shown for maglevs
2 years ago
Jonathan G Rennison
0400f06d9e
Debug: Show industry GRF local ID in debug window
2 years ago
Jonathan G Rennison
4e5e85e7aa
Debug: Allow inspecting industry specs before industry is built
...
Add debug box to industry chains window
2 years ago
Jonathan G Rennison
0a99440166
Debug: Always use head for vehicle debug window name in caption
2 years ago
Jonathan G Rennison
cbabbb6db6
Fix train braking behaviour when lookahead is aspect limited
...
When lookahead end is within the reservation end
2 years ago
Jonathan G Rennison
da57d75165
Debug: Print lookahead approach speeds for stations (using current order)
2 years ago
Jonathan G Rennison
c6ae82b611
Fix 9ff161e4
boosting lookahead braking stats but not actual brake forces
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
b5d0c1d493
Debug: Show signalled tunnel/bridge info in debug window
2 years ago
Jonathan G Rennison
175c5d4d50
Add signal style flag to limit lookahead extra aspect
2 years ago
Jonathan G Rennison
22caac6529
Add game setting to limit train lookahead to signal aspect
...
In realistic braking mode when multi-aspect signalling enabled by GRF
2 years ago
Jonathan G Rennison
6e4c4b35e7
Initial implementation of NewGRF custom signal styles
2 years ago
Jonathan G Rennison
4d04a757cc
Debug: Add new signals support to GRF debug window
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
7a61b5d820
VarAction2: Cache refit capacity callback results which depend only on cargo
2 years ago
Jonathan G Rennison
99ee4b13ce
Realistic braking: Cache train overall z position
...
Refresh cache at a variable rate depending on train length and
weight distribution
2 years ago
Jonathan G Rennison
564d7e5029
Debug: Allow clicking to highlight group in sprite group dump window
2 years ago
Jonathan G Rennison
42e20d3d99
Industry: Determine which tiles in industry layouts are not animated
...
Do not set these as animated tiles for new industries
2 years ago
Jonathan G Rennison
9a131a90ca
Debug: Fix crash when inspecting train with realistic braking disabled
...
When realistic braking is otherwise enabled
2 years ago
Jonathan G Rennison
74eaa77538
Debug: Add sprite dump button to industry/station tile debug windows
2 years ago
Jonathan G Rennison
381aa04660
Debug: Add sprite dump button to industry debug window
2 years ago
Jonathan G Rennison
502980ba61
Support railtype-dependant GRF train speed limits with realistic braking
...
See: #389
2 years ago
Jonathan G Rennison
cf3ea7b6af
Debug: Include x_offs/y_offs in vehicle debug window
2 years ago
Jonathan G Rennison
e5a421b65a
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/economy.cpp
# src/linkgraph/refresh.cpp
# src/order_cmd.cpp
# src/saveload/vehicle_sl.cpp
# src/station.cpp
# src/station_base.h
# src/timetable_cmd.cpp
# src/timetable_gui.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/vehicle_cmd.cpp
2 years ago
Jonathan G Rennison
2ce5a93527
Add road stop variables for one-way road info
2 years ago
Jonathan G Rennison
cb573a1523
Add road stop property to set cost multipliers
2 years ago
Jonathan G Rennison
650a359a16
Fix road stop road/tram type variables when not present and in GUI
2 years ago
Jonathan G Rennison
2cbbae16da
Add roadstop GRF properties to set bridge heights and disallowed pillars
2 years ago
Jonathan G Rennison
23c472d2a0
Add support for road stop animation, availability callback
...
Add animation, callback mask, general flags properties
Add animation frame variables
2 years ago
Jonathan G Rennison
3b8c73acad
Add/adjust NewGRF road stop variables
2 years ago
Jonathan G Rennison
66db1863f2
Debug: Add NewGRF inspector support for road stops
2 years ago
Jonathan G Rennison
1084bb8566
Initial support for NewGRF road stops (bus and lorry stops)
2 years ago
Jonathan G Rennison
2959221066
Debug: Add support for showing extended variables in object debug window
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
b4fc0b4dc5
Initial implementation of road waypoints
2 years ago
Jonathan G Rennison
eddc6ddcdb
Debug: Add sprite dumping to house inspect window
2 years ago
Jonathan G Rennison
2e7f8d2e1e
Add inclined foundation option to object edge foundation mode
...
Bump feature version
2 years ago
Jonathan G Rennison
8ffe519179
Debug: Fix title of waypoint inspector window
2 years ago
Jonathan G Rennison
7b0c083c11
Debug: Add vehicle cargo type, refit mask and age period to debug window
3 years ago
Jonathan G Rennison
15b0231821
Debug: Add object intro and end of life dates to debug window
3 years ago
Jonathan G Rennison
24fb390e9f
Add NewGRF object property for flood-resistance
...
Does not imply being able to be built on water
3 years ago