Commit Graph

54924 Commits

Author SHA1 Message Date
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
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
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
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
Jonathan G Rennison
8e2319ad68 Scheduled dispatch: Add button to adjust departure slots 2023-05-09 20:16:36 +01:00
Jonathan G Rennison
8f92668e22 Scheduled dispatch: Add menu item to append schedules from another vehicle 2023-05-07 20:06:47 +01:00
Jonathan G Rennison
d93a1a5804 Use OnTooltip instead of OnHover for some custom tooltips 2023-05-07 19:58:07 +01:00
Jonathan G Rennison
b59f229723 TBTR: Remove unnecessary variable 2023-05-07 19:38:28 +01:00
Jonathan G Rennison
c14085f425 Be more permissive about vehicles when converting tunnel/bridge railtype 2023-05-07 19:07:48 +01:00
Jonathan G Rennison
62ecad1b63 Scheduled dispatch: Add menu item to duplicate current schedule 2023-05-07 14:02:37 +01:00
Jonathan G Rennison
6d483cc5cc Add toggle to show vehicle route overlay even when window is not focused 2023-05-07 11:48:17 +01:00
Jonathan G Rennison
4c2244cc21 Viewport: Refactor handling of vehicle route overlays 2023-05-06 19:14:39 +01:00
Jonathan G Rennison
31f476220d Allow converting track by individual track pieces instead of whole tiles
Ctrl-click on convert button

See: #509
2023-05-06 16:20:23 +01:00
Jonathan G Rennison
09e03fb6b2 Change TunnelBridgeIsFree across_only to a mode enum type 2023-05-06 16:19:52 +01:00
Jonathan G Rennison
f94e43c940 Update map mode viewports when converting rail track type 2023-05-06 14:27:19 +01:00
Jonathan G Rennison
c4571e86c8 Allow specifying any palette ID for tile highlight recolouring 2023-05-06 13:11:42 +01:00
Jonathan G Rennison
65cc6623dd Tracerestrict: Add button to duplicate instruction/block 2023-05-05 23:34:48 +01:00
Jonathan G Rennison
b089b561a5 Add departure board via order subtype to remove via for prior terminus 2023-05-05 17:21:44 +01:00
Jonathan G Rennison
284390cf6a Order window: Fix resizing of release slot and label button rows 2023-05-05 14:03:17 +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
7aaf703bf2 Saveload: Use heap instead of stack for save filter write buffers 2023-05-02 21:26:26 +01:00
Jonathan G Rennison
f0cdd1e6f6 Fix sprite positions in house placement window when using UI scaling 2023-05-01 16:21:21 +01:00
Jonathan G Rennison
8218476e89 Fix rail platforms being left partially reserved after train crash 2023-05-01 13:27:41 +01:00
Jonathan G Rennison
dc56add6a3 Fix rail platforms being left partially reserved after deleting train
Due to company being removed when infrastructure sharing in use
2023-05-01 12:34:57 +01:00
Jonathan G Rennison
aa28fcf7de Merge pull request #512 from telk5093/jgrpp
Update: Korean translation up to e26bea6
2023-04-30 09:40:36 +01:00
TELK
baaa5713a9 Update: Korean translation up to e26bea6 2023-04-30 13:38:22 +09:00
Jonathan G Rennison
e26bea6ce4 Add setting to select cargo payment algorithm
See: #506
2023-04-29 13:00:33 +01:00
Jonathan G Rennison
211c1ba61d Allow naming scheduled dispatch schedules 2023-04-29 12:19:28 +01:00
Jonathan G Rennison
6445d688ed Fix crash due to missing case in order window goto dropdown 2023-04-28 18:58:47 +01:00
Jonathan G Rennison
698253c56f Fix auto-close of order management button dropdown in order mode 2023-04-25 21:14:44 +01:00
PeterN
1697dff744 Change: Hide all variants from UI when (display) parent is hidden. (#10708) 2023-04-25 20:34:10 +01:00
translators
5794590b36 Update: Translations from eints
vietnamese: 1 change by KhoiCanDev
polish: 7 changes by pAter-exe
2023-04-25 18:41:18 +00:00
Jonathan G Rennison
150cce6059 Version: Committing version data for tag: jgrpp-0.53.1 2023-04-25 18:10:21 +01:00
Rubidium
f74e26ca7e Codechange: replace error/usererror printf variant with fmt variant and rename 2023-04-25 17:55:09 +02:00
Rubidium
43c65a3fec Codechange: use std::string for base media filename/warning storage 2023-04-25 15:01:08 +02:00
Peter Nelson
b8f0513a72 Change: Draw and size video driver info like base set info.
This allows very long video driver information strings to wrap instead
of making the game options window very wide.
2023-04-25 13:27:22 +01:00
Peter Nelson
9aee502838 Change: Size Game Options description widgets after initial sizing.
Trying to update text widgets with free flowing multiline text during
UpdateWidgetSize(), as the final width is not yet known and so the
calculated height being incorrect, usually resulting in one or more
empty text lines.

The solution is to update the widget heights afterwards during
OnResize(), at which point the final widths are known. The window is
then resized if needed.

(Note this technique needs more attention if width can also change.)
2023-04-25 13:27:22 +01:00
Peter Nelson
e8df28d7f3 Add: parameter for ReInit() to reposition window to default. 2023-04-25 13:27:22 +01:00
Peter Nelson
55d981aec3 Add: Helper to update widget vertical size.
This avoids directly setting min_y outside widget code.
2023-04-25 13:27:22 +01:00
Tyler Trahan
6830e5f5f7 Cleanup: Don't use a magic number when closing processing industries (#10710) 2023-04-24 19:58:48 +00:00