1
0
Fork 0
Commit Graph

29536 Commits (ced241ed87a26da4d681cbb0727441f5519b3294)
 

Author SHA1 Message Date
J0anJosep ced241ed87 Feature: Allow vehicle replacements even if new road or rail type is not compatible. 2024-07-09 21:07:51 +02:00
J0anJosep b5e04974be Change: Add additional rules for placing trains in depots according to railtypes. 2024-07-09 21:07:50 +02:00
J0anJosep 8d5eca7097 Change: Adapt some functions that located the depot with its tile. 2024-07-09 21:07:50 +02:00
J0anJosep 7017fcc676 Add: Adapt pathfinding in YAPF and NPF for depots. 2024-07-09 21:07:50 +02:00
J0anJosep 438d272cd1 Add: Allow removing company rail depots in an area. 2024-07-09 21:07:50 +02:00
J0anJosep 9f916f31c7 Feature: Allow building depots by drag and drop and joining them if they have the same transport type. 2024-07-09 21:07:50 +02:00
J0anJosep 914cc0fe96 Add: Add new viewport place methods for rectangles with one side with a fixed length. 2024-07-09 21:07:50 +02:00
J0anJosep c46660d929 Feature: Highlight tiles of a depot and adjacent depot tiles when building. 2024-07-09 21:07:50 +02:00
J0anJosep 791124f058 Feature: Add a window for joining depots. 2024-07-09 21:07:50 +02:00
J0anJosep c6e69c03c9 Add: Settings for controlling depot spread. 2024-07-09 21:07:50 +02:00
J0anJosep cec541ac2c Change: BuildDepotVehicleList through a DepotId instead of a TileIndex. 2024-07-09 21:07:50 +02:00
J0anJosep c405a59bbc Prepare: Add some members to depot struct. 2024-07-09 21:07:50 +02:00
J0anJosep 76039ae2c1 Codechange: Use bit alignment for detecting road, rail and water depots. 2024-07-09 21:07:50 +02:00
J0anJosep a3d9165eb9 Change: Change rail depot type value in order to align bits. 2024-07-09 21:07:50 +02:00
J0anJosep 3e9b7f19cb Codechange: Add and use GetWaterTileClass. 2024-07-09 21:07:50 +02:00
J0anJosep cf2a12dfc4 Change: Move some bits in water tiles for alignment purposes. 2024-07-09 21:07:50 +02:00
J0anJosep 98539782c4 Change: OrderBackups are indexed through DepotID instead of TileIndex. 2024-07-09 21:07:50 +02:00
J0anJosep 742f1de7b4 Change: Set DepotID related window numbers to WC_BUILD_VEHICLE windows. 2024-07-09 21:07:50 +02:00
J0anJosep d643e77800 Change: Refactor some code in build_vehicle_gui. 2024-07-09 21:07:50 +02:00
J0anJosep dc0bd387b6 Change: Set the DepotID as the window number of WC_VEHICLE_DEPOT windows instead of a TileIndex. 2024-07-09 21:07:50 +02:00
J0anJosep 9e7e84fd10 Change: Go to hangar orders store the DepotID instead of the StationID. 2024-07-09 21:07:50 +02:00
J0anJosep 719376c219 Change: Add a depot for each airport that has a hangar. 2024-07-09 21:07:50 +02:00
Peter Nelson b4bcb330c7
Codechange: Replace GetSavegameFormat's compression output pointer with std::pair return. (#12850)
This avoids using an unchecked pointer as an out-parameter.
2024-07-09 18:57:47 +01:00
Peter Nelson 100dd7b6d1
Codechange: Use find_if to get default writeable saveload format. (#12849)
* Codechange: Use find_if to get default writeable savegame format.

This removes the last of lastof, and so the lastof macro is removed.
2024-07-09 17:07:40 +01:00
Peter Nelson 56b0eac2e9
Codechange: Use std::span/std::string_view for strecpy. (#12848)
This avoids needing to manually pass the last character of the destination buffer, and allows use of standard library functions.
2024-07-09 00:05:42 +01:00
J0anJosep 86e32631d7 Doc: Amend landscape grid after #12572. 2024-07-08 21:15:07 +02:00
Peter Nelson aee04e7bc6
Codechange: Pass span to StrValid instead of first and last - 1. (#12846)
`std::span` is used instead of `std::string_view` as this is only used for fixed-length buffers.

This removes some callers of `lastof()`
2024-07-08 08:36:57 +01:00
translators 23bcd592a4 Update: Translations from eints
chinese (simplified): 27 changes by WenSimEHRP
italian: 9 changes by ciampix
esperanto: 7 changes by ciampix
2024-07-08 04:43:44 +00:00
Peter Nelson 6120165433
Fix #12839: Truncated help text dialog on Windows. (#12844)
Replace fixed-length buffer message conversion with std::string.
2024-07-07 18:05:53 +01:00
translators f59ab67672 Update: Translations from eints
english (us): 2 changes by 2TallTyler
dutch: 1 change by Afoklala
french: 2 changes by ottdfevr
2024-07-06 04:42:37 +00:00
translators 5395d5731e Update: Translations from eints
latvian: 3 changes by lexuslatvia
2024-07-05 04:43:57 +00:00
Peter Nelson 4976a0140e
Codefix: [UI] Incorrect initialisation order for rail/road toolbars. (#12843)
The toolbar state was set after the widget tree is created, during which toolbar state is needed.
2024-07-04 22:04:41 +01:00
Edmond Chui 2dc0a33eb7 Fix #12840, ff3be45: "Show industry names" blank panel not initialized properly 2024-07-04 22:51:06 +02:00
translators 794af62286 Update: Translations from eints
english (au): 1 change by krysclarke
swedish: 7 changes by joeax910
chinese (simplified): 2 changes by WenSimEHRP
korean: 1 change by telk5093
french: 2 changes by ottdfevr
2024-07-04 04:43:03 +00:00
translators cd4233bedc Update: Translations from eints
english (au): 1 change by krysclarke
chinese (simplified): 2 changes by WenSimEHRP
greek: 1 change by gh658804
russian: 2 changes by Ln-Wolf
finnish: 1 change by hpiirai
catalan: 2 changes by J0anJosep
portuguese: 1 change by azulcosta
portuguese (brazilian): 1 change by pasantoro
polish: 1 change by pAter-exe
2024-07-03 04:42:36 +00:00
Loïc Guilloux 8ef3a3d463
Codefix: "maybe uninitialized" warnings for linux generic release build (#12838) 2024-07-02 11:04:07 +02:00
translators b27527ec0c Update: Translations from eints
chinese (simplified): 4 changes by WenSimEHRP
catalan: 2 changes by J0anJosep
2024-07-02 04:42:53 +00:00
dP f98b90ac2e
Codechange: Use constants for tree growth stages and tile update frequency (#12833) 2024-07-01 15:39:25 -04:00
J0anJosep 1e0004bcd6 Codechange: Slightly simplify code in clear_cmd.cpp. 2024-07-01 17:54:56 +02:00
Rubidium 4e026e448c Feature: encrypt admin connection when using secure join 2024-07-01 17:16:55 +02:00
Rubidium d3e37a251f Doc: update main admin protocol documentation 2024-07-01 17:16:55 +02:00
Rubidium da6900f606 Change: disable the insecure admin login by default 2024-07-01 17:16:55 +02:00
Rubidium 3094b0ce1d Feature: admin support for password authentication without sending password
Using either password authenticated key exchange (PAKE) or authorized keys
2024-07-01 17:16:55 +02:00
Rubidium b03ae8ad75 Codechange: add Authenticate status to the AdminStatus enum 2024-07-01 17:16:55 +02:00
Joan Josep e7982e8082
Fix: typo in picker mode tooltip. (#12834) 2024-07-01 13:24:05 +00:00
Michal Charemza c4b1596c97
Add: [Console] schedule command to execute a script file next in-game month (#12761) 2024-07-01 11:33:42 +02:00
Koen Bussemaker a0845bba2c Codechange: Reduced size of water region by not storing tile area 2024-07-01 11:10:20 +02:00
translators 8c7cf3bc75 Update: Translations from eints
chinese (simplified): 1 change by WenSimEHRP
french: 5 changes by ottdfevr, 1 change by ben20471
2024-07-01 04:42:17 +00:00
steve-goldman f5f488e778
Change: improve when to stops following vehicle (#12808)
- Changing zoom no longer stops following vehicle
- Key scrolling while following a vehicle stops following
- Autoscrolling while following a vehicle stops following
- Main viewport can begin following a vehicle at any zoom
2024-07-01 01:13:47 +02:00
Jeremy Gao 9e14f989f9
Fix: Wrong punctuation in Simplified Chinese (#12717) 2024-06-30 22:54:02 +00:00