Commit Graph

59646 Commits

Author SHA1 Message Date
Jonathan G Rennison
434e127d84 Version: Committing version data for tag: jgrpp-0.63.1 2024-11-11 00:52:50 +00:00
Jonathan G Rennison
1b368c2263 Departures: Fix wrong times for source order with missing travel time
In scheduled dispatch mode
2024-11-11 00:12:36 +00:00
Jonathan G Rennison
4b939aef36 Window: Prefer iterating from front to find window by class/ID 2024-11-10 23:45:14 +00:00
Jonathan G Rennison
64dceb06d9 Departures: Add button to filter departures by calling point 2024-11-10 23:41:37 +00:00
Jonathan G Rennison
2f5887d0d0 Window: Use window token for SetObjectToPlaceWnd window identification 2024-11-10 22:01:41 +00:00
Jonathan G Rennison
e0715d277c Departures: Add button to clone departure window 2024-11-10 20:39:02 +00:00
Jonathan G Rennison
167d272c86 Documentation: Water non-flooding bit is no longer a patch feature 2024-11-10 19:29:01 +00:00
Jonathan G Rennison
3fe254167d Revert "Codechange: remove parameter which value can always be deduced"
This reverts commit dfb74e25f7.

See: https://github.com/OpenTTD/OpenTTD/issues/13070
2024-11-10 15:50:35 +00:00
Jonathan G Rennison
8e839a6f0f Scheduled dispatch: Fix slots being reused when using a non-zero max delay 2024-11-10 14:08:44 +00:00
Jonathan G Rennison
d2bb2f7b4d Update departure boards immediately when changing timetables when paused 2024-11-10 12:57:56 +00:00
Jonathan G Rennison
3c2fded726 Departures: Show both directions in scheduled departures mode
Where routes have a scheduled dispatch at only one end and continue
after the far terminus without a separate dispatch.
2024-11-09 22:30:42 +00:00
Jonathan G Rennison
c629eb6de3 Departures: Show both directions in scheduled arrival mode
Where routes have a scheduled dispatch at only one end and continue
after the far terminus without a separate dispatch.
Refactor handling of arrivals in schedule mode.
2024-11-09 21:39:57 +00:00
Jonathan G Rennison
491532776e Script: Avoid copy when loading from ScriptData 2024-11-08 23:35:22 +00:00
Jonathan G Rennison
54aff7d3c4 Use std::vector for road stop rebuild vehicle list 2024-11-08 23:26:08 +00:00
Jonathan G Rennison
5de9861d8e Use std::vector for town PSA storage 2024-11-08 23:25:46 +00:00
Jonathan G Rennison
998cfab41f Remove std::list default from MultiMap 2024-11-08 23:17:13 +00:00
Jonathan G Rennison
2724e9b45b Linkgraph: Use ring buffers for job schedule and job list 2024-11-08 23:15:46 +00:00
Jonathan G Rennison
51899af641 Saveload: Rename types/macros for reference vectors and ring buffers 2024-11-08 23:15:46 +00:00
Jonathan G Rennison
a49851d72c Use btree_map for programmable pre-signal program map 2024-11-08 22:18:12 +00:00
Jonathan G Rennison
6a38dbdd2f Use btree_set for signal dependency tracking
Ensure deterministic ordering of dependants
2024-11-08 20:27:15 +00:00
Jonathan G Rennison
6c1d8a5303 cpp-btree: Use moves instead of swaps where suitable
Avoid unnecessary move during insertion
2024-11-08 19:51:04 +00:00
Jonathan G Rennison
c20255584c cpp-btree: Remove requirement that key/value type is default-constructible 2024-11-08 19:01:53 +00:00
Jonathan G Rennison
c40f20e773 Fix misordered enum property definition in signal_type.h 2024-11-08 18:20:46 +00:00
Jonathan G Rennison
1fd40aba78 Merge branch 'master' into jgrpp
# Conflicts:
#	src/saveload/afterload.cpp
#	src/saveload/labelmaps_sl.cpp
#	src/saveload/saveload.h
#	src/settings_type.h
#	src/station_cmd.cpp
#	src/station_gui.cpp
#	src/water_cmd.cpp
2024-11-08 17:43:08 +00:00
Jonathan G Rennison
885085e46d Debug: Deduplicate functors for industry produced/accepted property readers 2024-11-07 17:47:57 +00:00
translators
c9bd21d579 Update: Translations from eints
chinese (traditional): 4 changes by KogentaSan
2024-11-07 04:45:57 +00:00
Peter Nelson
d54341318e
Fix: VF_LOADING_FINISHED and VF_STOP_LOADING flags tested on wrong vehicle part. (#13063)
These flags are only set on the front part of a vehicle as they apply to the whole consist.
2024-11-07 00:25:05 +00:00
pvillaverde
b0165aff81 🌐 Update galician translations 2024-11-06 22:52:46 +00:00
Jonathan G Rennison
9c8281e22d Adjust x-axis direction and label of industry production graph 2024-11-06 21:29:51 +00:00
Jonathan G Rennison
495a9ea4d8 Adjust colour and x-axis label of station cargo history graph 2024-11-06 21:04:39 +00:00
Jonathan G Rennison
905bf4654c Merge branch 'master' into jgrpp
# Conflicts:
#	CMakeLists.txt
#	src/economy.cpp
#	src/economy_base.h
#	src/graph_gui.cpp
#	src/graph_gui.h
#	src/industry.h
#	src/industry_gui.cpp
#	src/saveload/saveload.h
#	src/water.h
#	src/water_cmd.cpp
#	src/widgets/graph_widget.h
2024-11-06 20:39:54 +00:00
Charles Pigott
884b93c4c0
Add: Set application name for SDL2 (#13061) 2024-11-06 19:51:03 +00:00
Peter Nelson
465df3bab1 Change: Don't try to flood buoys or dock tiles.
This reduces the active flooding water tiles a little more.
2024-11-06 19:44:14 +00:00
Peter Nelson
8f9836793f Change: Store water tile flooding state in the map.
This allows water tiles which cannot flood any further to not even try to flood.

On a large map with lots of water tiles this can noticeably reduce game loop processing time.

Mostly ported from JGRPP.
2024-11-06 19:44:14 +00:00
Tyler Trahan
4cd46e54aa
Fix #12940: Use specific error when overbuilding station on signals (#12943) 2024-11-06 14:13:04 -05:00
Tyler Trahan
c3bb512bd9
Remove: Hidden setting for adjacent stations (#12862) 2024-11-06 14:11:07 -05:00
Joan Josep
5d7a7b2955
Codechange: Simplify IsCompanyBuildableVehicleType. (#12868) 2024-11-06 19:09:09 +00:00
Peter Nelson
3b6d3080f2 Add: Apply rail/road type conversion when NewGRFs are updated mid-game.
This will update the rail/road type of tiles on the map, taking account of tram state, if types are moved around.
2024-11-06 19:04:44 +00:00
Peter Nelson
8bb6572943 Add: Implement missing road type label conversion.
This was implemented for rail types but missed for road types.

This lets road type labels to be reordered, allowing for upgrades of NewGRF.
2024-11-06 19:04:44 +00:00
Peter Nelson
157d028915 Codechange: Simplify testing for railtype map conversion.
Build the list of railtype conversions at the same time as testing if conversion is needed.

This avoids having two similar loops which need to compare the same things.
2024-11-06 19:04:44 +00:00
Jonathan G Rennison
36c735ebfa
Codefix: Nullptr dereference in industry var 0xB4 when no cargoes accepted (#13060) 2024-11-06 18:53:48 +00:00
Jonathan G Rennison
59c399c795
Codefix: Documentation comment in IndustryDirectoryWindow (#13059) 2024-11-06 18:52:30 +00:00
Jonathan G Rennison
1ab348ae27 Fix string management when writing PNG screenshots 2024-11-06 17:54:50 +00:00
translators
29df467d27 Update: Translations from eints
swedish: 4 changes by joeax910
2024-11-06 04:47:50 +00:00
Jonathan G Rennison
b68c14b8fb Dynamically allocate industry accept/produce arrays, matching upstream 2024-11-06 02:12:37 +00:00
Jonathan G Rennison
2ec162f197 Debug: Allow use of a functor in NIProperty/NICallback variable read 2024-11-06 02:12:37 +00:00
fundawang
14fac2ad37
Fix: build with icu >= 76 where icu-i18n and icu-uc become separated (#13048) 2024-11-05 11:12:34 +00:00
translators
9da6cd4817 Update: Translations from eints
catalan: 4 changes by J0anJosep
2024-11-05 04:45:21 +00:00
Jonathan G Rennison
ba193d88be Merge branch 'master' into jgrpp
# Conflicts:
#	src/rail_gui.cpp
#	src/road_gui.cpp
2024-11-04 22:46:25 +00:00
translators
362db76e13 Update: Translations from eints
norwegian (nynorsk): 32 changes by Abaksle
2024-11-04 04:47:31 +00:00