Commit Graph

53482 Commits

Author SHA1 Message Date
Jonathan G Rennison
419c356f30 VarAction2: Remove mul and div operations with constant 1 2022-10-08 22:14:39 +01:00
Jonathan G Rennison
669b3f2e04 Debug: Add GRF inspect window support for cargoes 2022-10-08 21:53:56 +01:00
Jonathan G Rennison
5cc56a6145 Crashlog: Limit iterations of calls to bfd_find_inliner_info 2022-10-08 19:56:16 +01:00
Jonathan G Rennison
63699e3f24 Timetable window: Add further hints about automation with auto-separate 2022-10-08 19:35:24 +01:00
Jonathan G Rennison
d61fbb977e Add order management dropdown, add duplicate order and move jump target
Add setting to control if order management button shown

Move order list management to order management dropdown if enabled

See: #439
2022-10-08 00:46:22 +01:00
Jonathan G Rennison
fc22d50653 Version: Committing version data for tag: jgrpp-0.48.5 2022-10-05 22:10:46 +01:00
Jonathan G Rennison
315bc3482d Fix #435: Clarify time duration of infrastructure sharing fee settings 2022-10-05 21:59:59 +01:00
Jonathan G Rennison
2a806cda21 Debug: Allow highlighting multiple registers 2022-10-05 21:10:49 +01:00
Jonathan G Rennison
094ef834a4 Debug: Add highlight support for perm storage registers 2022-10-05 21:05:56 +01:00
Jonathan G Rennison
311b4ebe9d VarAction2: Avoid marking a duplicate store as a clone of itself 2022-10-05 18:13:07 +01:00
Jonathan G Rennison
9e95b3d807 VarAction2: Limit iteration count when substituting variable loads 2022-10-05 17:41:49 +01:00
Jonathan G Rennison
abe49c0b83 Fix release slot order buttons in ship/aircraft orders window
See: #438
2022-10-05 00:10:36 +01:00
Jonathan G Rennison
23b974fb39 Merge branch 'master' into jgrpp
# Conflicts:
#	src/fontcache.cpp
#	src/openttd.cpp
#	src/os/macosx/font_osx.cpp
#	src/os/unix/font_unix.cpp
#	src/os/windows/font_win32.cpp
#	src/strings.cpp
2022-10-03 20:32:26 +01:00
Jonathan G Rennison
0818ce4ae7 Merge branch 'master' into jgrpp (SLV_U64_TICK_COUNTER)
# Conflicts:
#	src/date.cpp
#	src/date_func.h
#	src/newgrf.cpp
#	src/newgrf_animation_base.h
#	src/saveload/gamelog_sl.cpp
#	src/saveload/misc_sl.cpp
#	src/saveload/saveload.h
#	src/stdafx.h
2022-10-03 19:58:31 +01:00
Jonathan G Rennison
6fd46bf3a8
Merge pull request #437 from WoelfiVW/patch-4
Typos
2022-10-02 20:40:07 +01:00
translators
f011a559d0 Update: Translations from eints
latvian: 1 change by lexuslatvia
2022-10-02 18:55:38 +00:00
Woelfi Von Wolfhausen
462d9414d6
Better word order 2022-10-02 18:54:20 +00:00
Woelfi Von Wolfhausen
c6cb89827d
Typos
I went through the settings and found some more typos :)
2022-10-02 18:50:42 +00:00
Jonathan G Rennison
c4d3a16999
Merge pull request #436 from WoelfiVW/patch-3
Make small corrections regarding the orthography in the German lang-file
2022-10-02 19:16:20 +01:00
Woelfi Von Wolfhausen
8184ad6427
Make small corrections regarding the orthography
Tippfeler behobne
2022-10-02 18:08:22 +00:00
Jonathan G Rennison
12eb23f0ab Clear old tree counter in map array on load of old savegames
See: https://github.com/OpenTTD/OpenTTD/pull/10018
2022-10-01 23:05:07 +01:00
dP
30bc490292 Codechange: Don't store tree counter in the map array
(cherry picked from commit 6c3f351d5a4b0d19a1a265f04f44c70c24c19cd2)

See: https://github.com/OpenTTD/OpenTTD/pull/10018
2022-10-01 23:05:07 +01:00
Jonathan G Rennison
c2ede2af54 VarAction2: Allow inlining trivial procedures 2022-10-01 22:32:00 +01:00
Jonathan G Rennison
9e24414033 In ReloadNewGRFData recompute prices before reiniting windows
Avoid crash if land info window is open during reload
2022-10-01 14:31:26 +01:00
Jonathan G Rennison
60cc8ddf80 Fix road stops SetRoadStopAnimationFrame 2022-10-01 12:31:27 +01:00
Jonathan G Rennison
77f25a48a9 Only show/use appropriate parent or child registers in tile layout group
Do not use both
2022-09-30 20:49:50 +01:00
Jonathan G Rennison
73e5c57e6b
Fix 5e413c9d: Last sprite offset in GRF file was not recorded (#10062)
A line was missed when preparing PR #9988, as this had been added
in a commit prior to the one which the PR was immediately based on
2022-09-29 11:56:42 +02:00
Bouke Haarsma
f3fd9b5895
Codechange: typo in code comment (#10061) 2022-09-29 00:12:21 +01:00
translators
d843c8bd48 Update: Translations from eints
italian: 5 changes by Rivarossi
polish: 1 change by pAter-exe
2022-09-27 19:02:05 +00:00
Jonathan G Rennison
fdf2d3dfe1 Fix vehicles with no cargo being shown with last cargo in build window 2022-09-26 21:54:14 +01:00
translators
e5203f3409 Update: Translations from eints
vietnamese: 7 changes by KhoiCanDev
german: 6 changes by Wuzzy2
2022-09-26 18:59:27 +00:00
Jonathan G Rennison
e39962871f Version: Committing version data for tag: jgrpp-0.48.4 2022-09-26 19:04:37 +01:00
Jonathan G Rennison
265d6e5b58
Merge pull request #434 from telk5093/jgrpp
Update: Korean translation for some route restrict
2022-09-26 19:03:45 +01:00
frosch
bdc17b18e1
Cleanup: The readme is for people building/packaging OpenTTD. Player-focussed manuals are in the Wiki. (#10026) 2022-09-26 18:17:36 +02:00
Tyler Trahan
faa382beda
Doc: Add Discord link in README and CONTRIBUTING (#10043) 2022-09-26 18:17:08 +02:00
TELK
e9de3e9c4d Update: Korean translation for some route restrict 2022-09-26 21:32:13 +09:00
translators
761105aaa4 Update: Translations from eints
russian: 1 change by Ln-Wolf
catalan: 1 change by J0anJosep
2022-09-25 18:53:51 +00:00
Peter Nelson
b00e18fe9f Cleanup: Remove unused GetUnicodeGlyph() 2022-09-25 18:34:24 +01:00
Peter Nelson
2cdd8b7429 Change: Separate fontcache implementations. 2022-09-25 18:34:24 +01:00
Peter Nelson
f6ad8e1c9c Change: Rename some freetype things to fontcache.
The font cache supports more than just FreeType as a font provider, but still used freetype in some naming.

This now uses more suitable terms.
2022-09-25 18:34:24 +01:00
Peter Nelson
273988551d Fix: font_win32.cpp compile failure with WITH_FREETYPE 2022-09-25 18:34:24 +01:00
PeterN
0c20a5f39f
Fix: Open scenario editor date query once. (#10050)
Clearing `_left_button_clicked` causes the button callback to be fired
constantly while the mouse button is held.
2022-09-25 16:08:52 +01:00
Loïc Guilloux
93b711d70d
Fix #10048: Don't relocate company HQ on the same exact location (#10049) 2022-09-24 21:56:23 +02:00
translators
70d33dc71f Update: Translations from eints
spanish (mexican): 1 change by absay
chinese (simplified): 1 change by XiaoJi-Game
korean: 1 change by telk5093
2022-09-24 18:54:01 +00:00
translators
2b29f1a181 Update: Translations from eints
english (us): 1 change by 2TallTyler
dutch: 15 changes by Bouke
portuguese: 1 change by azulcosta
2022-09-23 18:57:59 +00:00
PeterN
d7ceb7efea
Change: Use widget string parameters for face window. (#10046)
The face window previously drew the buttons of face settings itself.
Instead we can provide parameters for each widget and let the widget
system draw the buttons.
2022-09-23 17:09:35 +01:00
Jonathan G Rennison
bb9b6a8ca0 Fix hang when tram turned around against underside of tram custom bridge head 2022-09-23 17:03:20 +01:00
PeterN
69527abb6f
Fix 9aef7b8c: Don't dispatch hover event if already hovering. (#10042)
This fixes the timed tooltip window being (invisibly) destroyed and
reconstructed every frame.

This also affects the unused OnHover() window event.
2022-09-22 20:38:11 +01:00
translators
1f04cc62d9 Update: Translations from eints
welsh: 8 changes by Osian
korean: 6 changes by telk5093
2022-09-22 18:54:52 +00:00
Jonathan G Rennison
b3a8dd44e4 Fix crash when removing routing restriction with reserve through from tunnel/bridge 2022-09-22 18:12:24 +01:00