Commit Graph

53950 Commits (6b8f799a1c9854b1cbbd156ebab7a3524395c439)
 

Author SHA1 Message Date
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
2 years ago
Jonathan G Rennison 7a6a7a3bfa Fix duplication of tree sprite table 2 years ago
dP c91033ac5e Feature: [GS] Scriptable league tables (#10001)
(cherry picked from commit 5e14a20b3b)
2 years ago
Peter Nelson 1260e51d84 Add: Define scaled WidgetDimensions.
Includes RectPadding container.

(cherry picked from commit b5693becdc)
2 years ago
Peter Nelson fb3b2c63bc Add: RectPadding type.
This is similar to Rect but specifies padding to apply to a Rect.

(cherry picked from commit 75b222b0d9)
2 years ago
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)
2 years ago
Jonathan G Rennison bbd84815b8 Script: Add missing function wrappers for 6 - 9 arguments 2 years ago
Jonathan G Rennison dc96fbc573 Script: Store CommandCost::GetResultData 2 years ago
Jonathan G Rennison 44c4cc80a1 Fix whitespace in DumpSubCommandLog 2 years ago
Jonathan G Rennison aaf0385dc5 Add command/string helpers for string separator control character 2 years ago
Jonathan G Rennison 690ef6cc22 Saveload: Add support for using upstream save/load for specific chunks 2 years ago
Jonathan G Rennison a608a2592d Add a CommandCost result data field
Allow inlining one of extra_message, tile, result without aux allocation
2 years ago
Jonathan G Rennison 523cf75a7a Change CommandCost success bool to a flags field 2 years ago
Jonathan G Rennison c777c43be2 Fix string codes in galician 2 years ago
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>
2 years ago
PeterN 1131608eb4
Fix #10114: Incorrect drag-highlight position with non-power-of-2 scaling. (#10211) 2 years ago
cakepie 5fa9e5efb1
Departure boards: Fix unintuitive "A"/"D" widget lowered states when disabled by departure_show_both 2 years ago
cakepie b76359d485
Departure boards: Fix no entries shown if "show both" setting turned on while window already open with "Show Deps" false 2 years ago
Jonathan G Rennison 822c29e6c2 Road stops: Auto-select an available type on selecting a class
Or on opening the road stop window
2 years ago
Jonathan G Rennison f4fcb83efd Road stops: Disable road stop specs for wrong bus/lorry type 2 years ago
Jonathan G Rennison 5fdb82abda Departure boards: Fix repeated departure sets with implicit orders
See: #456
2 years ago
Jonathan G Rennison 1f544c69b5 Departure boards: Ensure conditional order give up mode exits correctly 2 years ago
translators 644012dea2 Update: Translations from eints
dutch: 7 changes by Afoklala
2 years ago
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 2 years ago
cakepie 821be47a60
Departure boards: cleanup: move misplaced comment 2 years ago
cakepie 87aa379aa9
Departure boards: Refactor widget toggling 2 years ago
cakepie c0d3088817
Departure boards: Fix "show via" widget needs redrawn when changed as a side effect of "show deps" toggled 2 years ago
translators a7f78af4aa Update: Translations from eints
chinese (simplified): 3 changes by XiaoJi-Game
2 years ago
PeterN 485368f607
Fix: Missing extra padding when drawing tooltip text. (#10201)
* Fix: Missing extra padding when drawing tooltip text.

This padding is included when calculating the size of the tooltips, the
difference caused a mismatch in height for some tooltips.

* Codechange: Don't draw grey panel underneath tooltip.

This removes the default framerect padding so it is now added explicitly.
SetMinimalSize is also removed as this is overridden in UpdateWidgetSize
anyway.
2 years ago
translators 3100c6e7d0 Update: Translations from eints
chinese (simplified): 30 changes by XiaoJi-Game
2 years ago
Jonathan G Rennison afd3004ea0 Debug: Avoid compiler warnings in debug window cargo class printing 2 years ago
Jonathan G Rennison e97781608f Crashlog: Windows: Show some memory stats for out of memory crashes 2 years ago
PeterN 387c57b023
Fix eb4ba1991: Signal icons incorrectly positioned in UI. (#10199) 2 years ago
Jonathan G Rennison 2832fc16f5 Template replacement: Use more descriptive strings for add vehicle button 2 years ago
Jonathan G Rennison 210cec6c98
Merge pull request #453 from telk5093/jgrpp
Update: Korean translation up to 0.49.2
2 years ago
translators 41c893dd4e Update: Translations from eints
chinese (simplified): 13 changes by XiaoJi-Game
russian: 4 changes by Ln-Wolf
slovak: 7 changes by legitalk
catalan: 77 changes by J0anJosep
turkish: 7 changes by EndChapter
polish: 7 changes by pAter-exe
2 years ago
TELK e882ba6063 Update: Korean translation up to 0.49.2 2 years ago
PeterN eaf1e33bd7
Fix #10021: Object GUI resized when switching between different objects. (#10196)
* Fix: Scale object gui margin by interface scale.

* Fix: Improve padding on object info text.

* Fix #10021: Resizing for 1/2/4 object views didn't account for interface scale.

As halving and doubling padding is problematic due to rounding, it is now
added on lower view counts instead of removing on higher view counts.
2 years ago
Jonathan G Rennison 81e035dc63 Version: Committing version data for tag: jgrpp-0.49.2 2 years ago
Jonathan G Rennison 2eecf19edb Fix engine changes not updating build template train windows 2 years ago
Jonathan G Rennison 5d171e0023 Add setting for whether dual pane train purchase window uses combined buttons
See: #421
2 years ago
Jonathan G Rennison 7b78a4f1ad Build vehicle window: Fix spelling errors in widget IDs 2 years ago
translators 978f5b9341 Update: Translations from eints
english (au): 3 changes by krysclarke
english (us): 7 changes by 2TallTyler
korean: 52 changes by telk5093
russian: 4 changes by Ln-Wolf
spanish: 6 changes by MontyMontana
portuguese: 3 changes by azulcosta
2 years ago
Tyler Trahan 1c82200e0f
Doc: Prepare for 13.0-beta2 release (#10149) 2 years ago
PeterN a7ffd47c64
Fix #10191: Incorrect refit highlight position. (#10195)
Refit highlight was not correct for non-power-of-2 interface scale.
2 years ago
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
2 years ago
Jonathan G Rennison 0e5a09974a VarAction2: Fix detection of callback handlers which don't inspect var C 2 years ago
translators 35c4af5cb7 Update: Translations from eints
english (au): 4 changes by krysclarke
spanish: 10 changes by MontyMontana
portuguese: 62 changes by azulcosta
2 years ago
Jonathan G Rennison 1364f52405 Fix go to nearest depot orders using the location of a particular depot 2 years ago
Jonathan G Rennison cd6ab2c385 Departure boards: Fix crash with vehicles which only have implicit orders 2 years ago