Peter Nelson
1260e51d84
Add: Define scaled WidgetDimensions.
...
Includes RectPadding container.
(cherry picked from commit b5693becdc
)
2022-12-03 22:28:49 +00:00
Peter Nelson
fb3b2c63bc
Add: RectPadding type.
...
This is similar to Rect but specifies padding to apply to a Rect.
(cherry picked from commit 75b222b0d9
)
2022-12-03 22:28:49 +00:00
Peter Nelson
cabb4b08d9
Codechange: Add some Rect helpers.
...
Shrink/Expand/Translate are marked nodiscard as they provide a new Rect
rather than modifying the original Rect.
(cherry picked from commit d8e01f8aa5
)
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
bbd84815b8
Script: Add missing function wrappers for 6 - 9 arguments
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
dc96fbc573
Script: Store CommandCost::GetResultData
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
44c4cc80a1
Fix whitespace in DumpSubCommandLog
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
aaf0385dc5
Add command/string helpers for string separator control character
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
690ef6cc22
Saveload: Add support for using upstream save/load for specific chunks
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
a608a2592d
Add a CommandCost result data field
...
Allow inlining one of extra_message, tile, result without aux allocation
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
523cf75a7a
Change CommandCost success bool to a flags field
2022-12-03 22:28:49 +00:00
Jonathan G Rennison
c777c43be2
Fix string codes in galician
2022-12-03 22:28:49 +00:00
Fedello
7e0a86c842
[Feat] Updated galician Translations up to 0.49.2 ( #455 )
...
* [Feat] Updated galician Translations up to 0.49.2
* [Fix] commited previous wrong file
Co-authored-by: pvillaverde <pvillaverde@qualigy.com>
2022-12-03 21:58:09 +00:00
Jonathan G Rennison
822c29e6c2
Road stops: Auto-select an available type on selecting a class
...
Or on opening the road stop window
2022-12-02 19:40:07 +00:00
Jonathan G Rennison
f4fcb83efd
Road stops: Disable road stop specs for wrong bus/lorry type
2022-12-02 19:26:45 +00:00
Jonathan G Rennison
5fdb82abda
Departure boards: Fix repeated departure sets with implicit orders
...
See: #456
2022-12-02 19:09:01 +00:00
Jonathan G Rennison
1f544c69b5
Departure boards: Ensure conditional order give up mode exits correctly
2022-12-02 18:48:15 +00:00
Jonathan G Rennison
afd3004ea0
Debug: Avoid compiler warnings in debug window cargo class printing
2022-11-29 17:58:51 +00:00
Jonathan G Rennison
e97781608f
Crashlog: Windows: Show some memory stats for out of memory crashes
2022-11-29 17:53:15 +00:00
Jonathan G Rennison
2832fc16f5
Template replacement: Use more descriptive strings for add vehicle button
2022-11-28 19:54:41 +00:00
Jonathan G Rennison
210cec6c98
Merge pull request #453 from telk5093/jgrpp
...
Update: Korean translation up to 0.49.2
2022-11-28 19:54:04 +00:00
TELK
e882ba6063
Update: Korean translation up to 0.49.2
2022-11-28 20:18:18 +09:00
Jonathan G Rennison
81e035dc63
Version: Committing version data for tag: jgrpp-0.49.2
2022-11-28 00:05:33 +00:00
Jonathan G Rennison
2eecf19edb
Fix engine changes not updating build template train windows
2022-11-27 20:22:28 +00:00
Jonathan G Rennison
5d171e0023
Add setting for whether dual pane train purchase window uses combined buttons
...
See: #421
2022-11-27 20:15:58 +00:00
Jonathan G Rennison
7b78a4f1ad
Build vehicle window: Fix spelling errors in widget IDs
2022-11-27 19:13:19 +00:00
Jonathan G Rennison
1f36c3f3e4
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/ai/ai_gui.cpp
# src/build_vehicle_gui.cpp
# src/genworld_gui.cpp
# src/lang/english.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/newgrf_sound.cpp
# src/roadveh.h
# src/sound.cpp
# src/station_cmd.cpp
# src/train.h
# src/train_cmd.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/vehicle_gui.cpp
2022-11-26 23:04:14 +00:00
Jonathan G Rennison
0e5a09974a
VarAction2: Fix detection of callback handlers which don't inspect var C
2022-11-26 19:42:37 +00:00
Jonathan G Rennison
1364f52405
Fix go to nearest depot orders using the location of a particular depot
2022-11-26 18:43:16 +00:00
Jonathan G Rennison
cd6ab2c385
Departure boards: Fix crash with vehicles which only have implicit orders
2022-11-26 18:38:26 +00:00
Jonathan G Rennison
5a419e4bdd
VarAction2: Detect callback switches which include other adjusts
2022-11-24 23:17:46 +00:00
Jonathan G Rennison
7cc953618a
Documentation: Update low level changes document
2022-11-24 23:17:04 +00:00
Jonathan G Rennison
3d7e5d5369
Avoid unnecessary viewport redraws for unused tile loop house triggers
2022-11-24 02:38:10 +00:00
Jonathan G Rennison
bcb917d8c2
VarAction2: Avoid CB quick exit dropping CBID_RANDOM_TRIGGER callbacks
2022-11-24 02:04:52 +00:00
Jonathan G Rennison
e8de55adcb
Don't start tile animation if it would be stopped immediately
...
See: https://github.com/OpenTTD/OpenTTD/issues/10192
2022-11-24 01:35:01 +00:00
Jonathan G Rennison
96a6a565a5
Don't mark tile dirty when setting animation frame to its current value
...
See: https://github.com/OpenTTD/OpenTTD/issues/10192
2022-11-24 01:34:30 +00:00
Jonathan G Rennison
a42557fed7
Departure boards: Fix windows not being refreshed when changing settings
2022-11-23 21:12:05 +00:00
Jonathan G Rennison
73efbc7bdd
Departure boards: Fix scheduled dispatch departure time when wait time set
2022-11-23 20:47:04 +00:00
Jonathan G Rennison
03a9912a2b
Vehicle list commands now take into account cargo type filter
...
Start/stop
Send to depot type commands
Add to new group
Change order target
2022-11-19 22:40:29 +00:00
Jonathan G Rennison
728b902e9f
No longer use CDECL for GUIList::FilterFunction
2022-11-19 21:51:52 +00:00
Jonathan G Rennison
b52bb3ca44
Show viewport route overlay for shared order vehicle list windows
2022-11-19 00:00:23 +00:00
Jonathan G Rennison
4990a25e48
Add a "if breakdowns enabled" mode to the no depot order warn setting
2022-11-17 23:28:57 +00:00
Jonathan G Rennison
cf6f509859
Add setting flag to enable bool -> int config file load conversion
2022-11-17 23:23:29 +00:00
Jonathan G Rennison
6cf62af092
Change vehicle route overlay settings
...
Add a mode setting: off, all locations, station stops only
Change show vehicle route setting to on/off
Move settings to their own section in the GUI
Add an unset hotkey to switch the mode setting
2022-11-17 22:54:07 +00:00
Jonathan G Rennison
7ec5450ed1
Settings GUI: Move viewport signal settings to their own section
2022-11-17 22:20:11 +00:00
Jonathan G Rennison
f46998696f
Merge pull request #451 from telk5093/jgrpp
...
Update: Korean translation up to 0.49.1
2022-11-17 20:56:33 +00:00
Jonathan G Rennison
1ddccee0d7
Fix timetable state conditional order not initing timetable field
2022-11-17 20:55:11 +00:00
Jonathan G Rennison
cb9c657f59
Fix selected state of dispatch is/not first/last dropdown in order window
2022-11-17 20:43:57 +00:00
Jonathan G Rennison
cbf41a6343
Fix crash when clicking counter or schedule non-train conditional order
2022-11-17 20:24:04 +00:00
Jonathan G Rennison
ff3e275c43
Change no_depot_order_warn setting default to off
2022-11-17 20:23:21 +00:00
Jonathan G Rennison
e92aaade42
NetworkCompanyIsPassworded should return false in single player mode
2022-11-17 00:42:34 +00:00