Commit Graph

53805 Commits

Author SHA1 Message Date
Jonathan G Rennison
02e19521bc Merge branch 'master' into jgrpp
# Conflicts:
#	src/build_vehicle_gui.cpp
#	src/cheat_gui.cpp
#	src/company_gui.cpp
#	src/error_gui.cpp
#	src/fios_gui.cpp
#	src/gfx_func.h
#	src/graph_gui.cpp
#	src/group_gui.cpp
#	src/misc_gui.cpp
#	src/newgrf_debug_gui.cpp
#	src/order_gui.cpp
#	src/road_gui.cpp
#	src/roadveh_gui.cpp
#	src/settings_gui.cpp
#	src/ship_gui.cpp
#	src/station_gui.cpp
#	src/statusbar_gui.cpp
#	src/subsidy_gui.cpp
#	src/timetable_gui.cpp
#	src/town_gui.cpp
#	src/train_gui.cpp
#	src/tree_gui.cpp
#	src/vehicle_gui.cpp
#	src/widget.cpp
#	src/widgets/dropdown.cpp
#	src/window_gui.h
2022-12-04 13:53:44 +00:00
Jonathan G Rennison
77dc6915a7 Departure boards: Don't show "no info requested" message when departure_show_both enabled 2022-12-04 12:10:10 +00:00
Jonathan G Rennison
d19771c36b Merge PR #457 into jgrpp 2022-12-04 12:06:14 +00:00
cakepie
a6965cf854 Departure boards: reword strings to better reflect that both arrivals and departures may be displayed 2022-12-04 14:22:08 +08:00
cakepie
d5e1954e3b Departure boards: ignore departure_show_both setting for waypoints 2022-12-04 14:17:51 +08:00
PeterN
b79360862d Fix eb4ba1991: Signal icons incorrectly positioned in UI. (#10199)
(cherry picked from commit 387c57b023)
2022-12-04 00:23:46 +00:00
Jonathan G Rennison
5bbf1f5375 Merge branch 'master' into jgrpp
# Conflicts:
#	src/core/geometry_type.hpp
#	src/error_gui.cpp
#	src/rail_gui.cpp
#	src/tree_gui.cpp
#	src/vehicle_gui.cpp
#	src/widgets/dropdown.cpp
2022-12-03 23:40:37 +00:00
Jonathan G Rennison
7a6a7a3bfa Fix duplication of tree sprite table 2022-12-03 22:48:49 +00:00
dP
c91033ac5e Feature: [GS] Scriptable league tables (#10001)
(cherry picked from commit 5e14a20b3b)
2022-12-03 22:28:49 +00:00
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
cakepie
5fa9e5efb1 Departure boards: Fix unintuitive "A"/"D" widget lowered states when disabled by departure_show_both 2022-12-03 10:03:16 +08:00
cakepie
b76359d485 Departure boards: Fix no entries shown if "show both" setting turned on while window already open with "Show Deps" false 2022-12-03 09:51:03 +08: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
cakepie
6b6a0adeb4 Departure boards: Fix swapped ship/acft tooltips, use dedicated strings with more appropriate wording instead of repurposing from WID_SV_* widgets' tooltips in station_gui 2022-12-03 00:47:06 +08:00
cakepie
821be47a60 Departure boards: cleanup: move misplaced comment 2022-12-03 00:12:09 +08:00
cakepie
87aa379aa9 Departure boards: Refactor widget toggling 2022-12-03 00:08:16 +08:00
cakepie
c0d3088817 Departure boards: Fix "show via" widget needs redrawn when changed as a side effect of "show deps" toggled 2022-12-02 23:26:16 +08: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