Commit Graph

54115 Commits

Author SHA1 Message Date
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
2022-11-28 18:45:52 +00:00
TELK
e882ba6063 Update: Korean translation up to 0.49.2 2022-11-28 20:18:18 +09:00
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.
2022-11-28 00:27:57 +00: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
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
2022-11-27 18:46:09 +00:00
Tyler Trahan
1c82200e0f Doc: Prepare for 13.0-beta2 release (#10149) 2022-11-27 13:20:07 -05:00
PeterN
a7ffd47c64 Fix #10191: Incorrect refit highlight position. (#10195)
Refit highlight was not correct for non-power-of-2 interface scale.
2022-11-27 15:13:09 +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
translators
35c4af5cb7 Update: Translations from eints
english (au): 4 changes by krysclarke
spanish: 10 changes by MontyMontana
portuguese: 62 changes by azulcosta
2022-11-26 18:45:39 +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
Bernard Teo
8a78fa7121 Feature: Contextual actions for vehicles grouped by shared orders (#8425) 2022-11-26 18:03:21 +01:00
dP
5e14a20b3b Feature: [GS] Scriptable league tables (#10001) 2022-11-26 18:03:03 +01:00
translators
b9ce3de23d Update: Translations from eints
slovak: 72 changes by legitalk
2022-11-25 18:46:07 +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
Tyler Trahan
b846c574d7 Update: Developer credits (#10190) 2022-11-24 16:08:33 -05:00
stormcone
e29547a3a2 Feature: Show the cargoes the vehicles can carry in the vehicle list window (#8304) 2022-11-24 20:58:10 +00:00
translators
d780ca74ed Update: Translations from eints
italian: 50 changes by Rivarossi
2022-11-24 18:46:20 +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
Tyler Trahan
0fc7cdb1e4 Change: Allow building canal by area outside editor (#10173) 2022-11-23 17:48:19 -05:00
Jonathan G Rennison
a42557fed7 Departure boards: Fix windows not being refreshed when changing settings 2022-11-23 21:12:05 +00:00
PeterN
53682b4b6b Fix #10114: Wonky depot layout. (#10191)
Depot lists internal layout was not handled well. This is improved by
throwing more Rects at it:
- Vehicle images are now be vertically centred in the rect.
- Image clipping is relaxed to cover the rect, improving larger sprites.
- Outline highlight is now aware of bevel thickness.
2022-11-23 21:01:09 +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
translators
e85d2603d9 Update: Translations from eints
italian: 27 changes by Rivarossi
2022-11-23 18:44:39 +00:00
translators
afbad255d3 Update: Translations from eints
turkish: 44 changes by EndChapter
spanish: 1 change by MontyMontana
2022-11-21 18:47:58 +00:00
translators
62125c9e76 Update: Translations from eints
korean: 3 changes by telk5093
turkish: 33 changes by EndChapter
2022-11-20 18:46:46 +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
PeterN
a7adadcf9b Fix: Indent production in industry window and resolve button issues. (#10184)
Industry production used to be indented, although a different amount than
the industry accepts list. This is now added back, with the standard indent
width.

Additionally the cheat-mode production modifier buttons now support RTL and
the list height now takes account of the button height.
2022-11-19 21:18:53 +00:00
Jonathan G Rennison
b52bb3ca44 Show viewport route overlay for shared order vehicle list windows 2022-11-19 00:00:23 +00:00
translators
a942028803 Update: Translations from eints
dutch: 42 changes by Afoklala
french: 12 changes by glx22
2022-11-18 18:49:43 +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
PeterN
a044e8e007 Fix: Scale minimum visible caption by interface scale. (#10180) 2022-11-17 22:45:15 +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
translators
3040efdb10 Update: Translations from eints
spanish (mexican): 74 changes by absay
russian: 2 changes by Ln-Wolf
spanish: 6 changes by MontyMontana
polish: 1 change by pAter-exe
2022-11-17 18:47:07 +00:00