Commit Graph

55257 Commits

Author SHA1 Message Date
Jonathan G Rennison
2677c60f11 Don't show different version warning in save window when no file selected 2023-05-21 12:26:55 +01:00
Jonathan G Rennison
3cbd1a5a76 Add conditional order test for whether slot is empty/not empty 2023-05-21 12:03:22 +01:00
Jonathan G Rennison
0a17b7b11b Version: Committing version data for tag: jgrpp-0.53.3 2023-05-20 00:52:14 +01:00
Jonathan G Rennison
7cad92988f Avoid unnecessary scroll bar resets in refit window
When vehicle consist is changed
2023-05-20 00:11:37 +01:00
Jonathan G Rennison
d3eb7242ea Fix removal of order backups when upgrading airports 2023-05-19 01:51:51 +01:00
Jonathan G Rennison
4ca0b43975 Fix train z pos after reversing at wrong-way signalled bridge wormhole
Could cause train disconnection or wrong wagon spacing
2023-05-18 01:18:50 +01:00
Jonathan G Rennison
29495b4e3d Tracerestrict: Fix default state of copy/share button planes 2023-05-16 23:13:55 +01:00
Jonathan G Rennison
731f2fb46e Tracerestrict: Add button to share program onto other signals 2023-05-16 21:10:54 +01:00
Jonathan G Rennison
9f89f1fb42 Tracerestrict: Do not change copy button selection plane when active 2023-05-16 19:53:24 +01:00
Jonathan G Rennison
cd0cc13724 Suppress calls to AdjustGUIZoom during startup phase
See: #518
2023-05-15 20:16:10 +01:00
Jonathan G Rennison
9e1066049f Reduce strength of station rating source station penalty on truncation 2023-05-15 19:38:02 +01:00
Jonathan G Rennison
90abfff45c Fix adjacent level crossings left barred after removing middle of crossing
See: #517
2023-05-14 22:31:29 +01:00
Jonathan G Rennison
f06160b882 Script: Remove command delay for non-network GS when game paused due to GS 2023-05-14 18:56:09 +01:00
Jonathan G Rennison
7bc6c4b59c Script: Boost gamescript op limit when game is paused due to game script 2023-05-14 18:04:42 +01:00
Jonathan G Rennison
1b6d1086d0 Script: Add ScriptInstance field for script type 2023-05-14 17:54:42 +01:00
Jonathan G Rennison
4ed0c23644 Add text to warning dialog when overwriting a non-extended version save 2023-05-14 12:47:17 +01:00
Jonathan G Rennison
b26d91770f Allow using ShowQuery with std::string texts 2023-05-14 12:46:07 +01:00
Jonathan G Rennison
b8f2d96250 Fix showing overwriting different save file warning when file name changed 2023-05-14 10:52:50 +01:00
Jonathan G Rennison
3573571229 Allow changing tree placement algorithm setting in game 2023-05-14 09:58:44 +01:00
Jonathan G Rennison
1bee438aff Re-add vertical spacer in slots window right panel
See: #515
2023-05-13 17:07:33 +01:00
Jonathan G Rennison
d5c651dc0b Fix width of left panel in slots window when using UI scaling
See: #515
2023-05-13 12:24:31 +01:00
Jonathan G Rennison
a6ba3de7e9 Fix slots window not being horizontally resizable
See: #515
2023-05-13 12:18:23 +01:00
Jonathan G Rennison
c4fc71339a Update orders window when renaming/removing dispatch schedule 2023-05-13 11:55:17 +01:00
Jonathan G Rennison
2abdd27d02 Fix crash when selecting conditional orders in order window 2023-05-13 11:33:41 +01:00
Henry Wilson
3a03a12a9c Feature: Show the number of industries already built in the Fund New Industry window. 2023-05-12 20:48:11 +02:00
translators
a934a584a5 Update: Translations from eints
italian: 4 changes by Rivarossi
catalan: 4 changes by J0anJosep
dutch: 9 changes by Afoklala
2023-05-12 18:39:51 +00:00
PeterN
da7f431812 Cleanup: widget pos_x/y are already int. (#10809)
Remove old casts left over from when pos_x/y were unsigned.
2023-05-12 18:02:51 +01:00
Jonathan G Rennison
1d29116df9 Version: Committing version data for tag: jgrpp-0.53.2 2023-05-11 23:32:09 +01:00
Jonathan G Rennison
e74e08bf47 Fix manual tree planting in artic climate in perfect tree placement mode 2023-05-11 22:49:17 +01:00
PeterN
7e3646cf46 Codechange: Remove redundant char buffer. (#10808) 2023-05-11 21:36:11 +00:00
translators
ca31976da0 Update: Translations from eints
english (au): 4 changes by krysclarke
english (us): 4 changes by 2TallTyler
russian: 4 changes by Ln-Wolf
portuguese: 4 changes by azulcosta
polish: 8 changes by pAter-exe
2023-05-11 18:42:00 +00:00
Loïc Guilloux
7e74232e56 Change: [Actions] Use -fuse-ld=lld and Ninja for MinGW (#10785)
And some miscellaneous things while touching the file
2023-05-11 18:07:29 +00:00
PeterN
61516627ad Add: NewGRF string code "9A 21" to display force from textstack. (#10782) 2023-05-11 08:06:46 +01:00
Peter Nelson
59811ec780 Codechange: Use find_if when finding things. 2023-05-11 07:58:55 +01:00
Peter Nelson
e6740046ee Codechange: Use range-for iteration. 2023-05-11 07:58:55 +01:00
Peter Nelson
cef3a2570d Codechange: Use standard iterator-erase-loop pattern. 2023-05-11 07:58:55 +01:00
Peter Nelson
a8c0d16371 Cleanup: Use std::advance instead of for-loop. 2023-05-11 07:58:55 +01:00
Peter Nelson
68782f951b Cleanup: Vector supports random access. 2023-05-11 07:58:55 +01:00
Rubidium
6d1586dd49 Codechange: use std::string instead of char* for original editor strings 2023-05-10 23:15:09 +02:00
Jonathan G Rennison
54221de0f5 Allow entering decimal day/minute timetable values 2023-05-10 20:06:19 +01:00
Jonathan G Rennison
d9eb839af9 Use separate CharSetFilter types for signed and unsigned decimal 2023-05-10 19:56:26 +01:00
translators
7e1123c731 Update: Translations from eints
portuguese (brazilian): 30 changes by ericandradex
2023-05-10 18:43:36 +00:00
Jonathan G Rennison
4c18a193e7 Simplify timetable long duration hours and minutes suffix string 2023-05-10 19:10:56 +01:00
Jonathan G Rennison
7941eb5187 Simplify timetable leftover ticks string 2023-05-10 18:55:29 +01:00
Jonathan G Rennison
e7f7cd06bd Simplify timetable time/duration string management 2023-05-10 18:51:49 +01:00
Loïc Guilloux
3c59b8e9ec Fix: disable "redundant move" warnings for GCC (#10803)
GCC warns about redundant std::move while clang warns when they are missing, so we silence the less harmful one
2023-05-10 17:35:11 +00:00
Patric Stout
922d7aa773 Update: help out translators and do the COMMA -> DECIMAL for them (#10802) 2023-05-10 16:09:58 +02:00
Michael Lutz
7e906c7c59 Change: Preserve orders and related settings where possible when moving engines around in a train. 2023-05-10 00:35:02 +02:00
Michael Lutz
07449be876 Codechange: A vehicle that is not a front engine can't be removed from a vehicle group, so just remove a pointless function call. 2023-05-10 00:35:02 +02:00
Rubidium
1ae7eb1594 Codechange: use std::map over SmallMap and std::string of stredup(char*) 2023-05-09 23:14:48 +02:00