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
Peter Nelson
60404c3aea
Fix #8770 : Centre vehicle status bar icon.
...
The icon is now centred within its scaled bounding box, which intentionally
leaves a little space around the icon when not at 1/2/4x scale.
2022-11-17 09:12:07 +00:00
Peter Nelson
9bf24ec56f
Codechange: Reorder and properly declare DrawSpriteIgnorePadding().
...
Parameters have been rearranged to be closer to those of the standard
DrawSprite() function, and PaletteID can now be set.
2022-11-17 09:12:07 +00:00
PeterN
c81c242c5a
Fix: Crash if error message window is too wide for screen. ( #10172 )
...
This doesn't seem new, just easier to trigger with new scaling.
2022-11-17 09:10:47 +00:00
Jonathan G Rennison
e92aaade42
NetworkCompanyIsPassworded should return false in single player mode
2022-11-17 00:42:34 +00:00
Jonathan G Rennison
1e769d050f
Leave PLYP chunk unchanged when loading/saving server saves in non-MP
2022-11-17 00:40:12 +00:00
Jonathan G Rennison
dc03bac241
Saveload: Change SlLoadFromBuffer to take a template functor
2022-11-17 00:33:53 +00:00
PeterN
6ea3e7e487
Fix #10164 : Incorrect slider handle position in RTL. ( #10175 )
2022-11-16 19:02:51 +00:00
translators
bc5cd4eeda
Update: Translations from eints
...
russian: 3 changes by Ln-Wolf
spanish: 55 changes by MontyMontana
polish: 32 changes by pAter-exe
2022-11-16 18:48:29 +00:00
translators
d30345edfb
Update: Translations from eints
...
english (au): 3 changes by krysclarke
spanish (mexican): 3 changes by absay
english (us): 3 changes by 2TallTyler
russian: 2 changes by Ln-Wolf
french: 11 changes by ZarTek-Creole
portuguese: 3 changes by azulcosta
polish: 28 changes by pAter-exe
2022-11-15 18:47:23 +00:00
translators
cbb2d5303d
Update: Translations from eints
...
spanish (mexican): 14 changes by absay
english (us): 20 changes by 2TallTyler
russian: 5 changes by Ln-Wolf
portuguese: 44 changes by azulcosta
2022-11-14 18:50:11 +00:00