Peter Nelson
e8e5143ef7
Fix #12815 , 7e914a0568
: Fallback detection failed with sprite font. ( #12816 )
...
How missing glyphs were detected was changed, but the sprite font still substituted `?`, which to missing glyph looked like all characters are present.
(cherry picked from commit a288644e20
)
2024-09-02 21:56:33 +01:00
Peter Nelson
d2d8da8d5e
Fix #12735 : Default fonts should use default font size as-is. ( #12814 )
...
Minimum readable font size should only apply to fallback and configured fonts.
(cherry picked from commit 209b0320d5
)
2024-09-02 21:56:27 +01:00
Jonathan G Rennison
f7de298042
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/release-macos.yml
# os/macosx/Info.plist.in
# src/base_media_base.h
# src/blitter/32bpp_optimized.cpp
# src/blitter/null.hpp
# src/bridge_gui.cpp
# src/build_vehicle_gui.cpp
# src/cheat_gui.cpp
# src/command_type.h
# src/company_cmd.cpp
# src/company_cmd.h
# src/date_gui.cpp
# src/dropdown.cpp
# src/error_gui.cpp
# src/fontcache/truetypefontcache.cpp
# src/genworld_gui.cpp
# src/gfx.cpp
# src/gfx_func.h
# src/gfx_layout.cpp
# src/graph_gui.cpp
# src/group_gui.cpp
# src/linkgraph/linkgraph_gui.h
# src/main_gui.cpp
# src/misc_gui.cpp
# src/network/core/network_game_info.cpp
# src/network/network_chat_gui.cpp
# src/network/network_gui.cpp
# src/newgrf.cpp
# src/newgrf.h
# src/newgrf_debug_gui.cpp
# src/newgrf_text.h
# src/news_gui.cpp
# src/openttd.cpp
# src/order_base.h
# src/order_gui.cpp
# src/os/macosx/font_osx.cpp
# src/pathfinder/yapf/yapf_costcache.hpp
# src/rail_gui.cpp
# src/road_cmd.cpp
# src/roadstop_base.h
# src/screenshot.cpp
# src/script/api/script_cargolist.cpp
# src/script/api/script_order.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/smallmap_gui.cpp
# src/spritecache.cpp
# src/spritecache.h
# src/station_gui.cpp
# src/table/settings/gui_settings.ini
# src/tests/mock_spritecache.cpp
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/town_gui.cpp
# src/vehicle_gui.cpp
# src/video/opengl.cpp
# src/video/opengl.h
# src/widget.cpp
# src/widget_type.h
# src/window.cpp
# src/window_gui.h
2024-09-02 21:41:13 +01:00
Jonathan G Rennison
f6f3883169
Lang: Remove unused translations for old house picker
2024-09-02 18:43:18 +01:00
Jonathan G Rennison
fe84080c46
Remove old house placer window, functionality and settings
2024-09-02 18:28:38 +01:00
Jonathan G Rennison
db4b489fff
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/fontcache/truetypefontcache.h
# src/house.h
# src/newgrf_house.cpp
# src/newgrf_house.h
# src/town.h
# src/town_cmd.cpp
# src/town_cmd.h
# src/window_type.h
2024-09-02 18:27:12 +01:00
Jonathan G Rennison
612551a228
Debug: Move TicToc struct to separate header
2024-09-02 01:07:32 +01:00
Jonathan G Rennison
e2fbd8aa0e
Remove std::function from SCOPE_INFO_FMT implementation
2024-09-02 01:07:32 +01:00
Jonathan G Rennison
515f33b84d
Remove unnecessary IO stream includes/uses
2024-09-02 01:07:32 +01:00
Jonathan G Rennison
406afedfd3
YAPF: Move ValueStr(EndSegmentReasonBits) out of header, remove stringstream
2024-09-01 22:56:12 +01:00
Jonathan G Rennison
2a3a41e2a6
cpp-btree: Disable iostream/ostream includes and dump functionality
2024-09-01 22:47:27 +01:00
Jonathan G Rennison
2b5cae34ce
TBTR: Remove unnecessary includes
2024-09-01 22:46:58 +01:00
Jonathan G Rennison
add6e42162
Set JSON_NO_IO to disable IO streams support in JSON headers
2024-09-01 22:43:47 +01:00
Jonathan G Rennison
3ede660ccc
Use a separate translation unit for fmt internals, remove FMT_HEADER_ONLY
2024-09-01 16:33:30 +01:00
Jonathan G Rennison
706b260630
Make small map window legend panel resize depending on display mode
2024-09-01 15:05:55 +01:00
Jonathan G Rennison
a6537accf9
Use label dumper wrapper for printing NewGRF labels
2024-09-01 11:27:45 +01:00
Jonathan G Rennison
7b6781b953
Add own plans only button to the plan window
2024-08-31 13:42:34 +01:00
Jonathan G Rennison
0c4e09b5b8
Add sorting and name filtering to the plans window
2024-08-31 13:00:11 +01:00
Jonathan G Rennison
6a292f9f58
TBTR: Fix various formatting and const issues
2024-08-31 11:31:19 +01:00
Jonathan G Rennison
4546c37ee2
TBTR: Fix clone template from train creating template with wrong owner
2024-08-31 11:26:26 +01:00
Jonathan G Rennison
8bf0e030b2
Adjust formatting and field order of command log
2024-08-31 11:11:07 +01:00
Jonathan G Rennison
572c261832
Add functions to get number of digits required for map dimensions
2024-08-31 11:11:07 +01:00
Jonathan G Rennison
4ce8a36e4d
Add general math function to get number of base 10 digits required
2024-08-31 11:11:07 +01:00
Jonathan G Rennison
282f13cab0
Add debug summary mechanism to command auxiliary data for command log
2024-08-30 19:19:34 +01:00
Jonathan G Rennison
c90d8267d5
Use auxiliary data only forms for create league table/element commands
2024-08-30 18:11:03 +01:00
Jonathan G Rennison
78a42e3196
Add auxiliary data only command argument form
2024-08-30 18:10:40 +01:00
Jonathan G Rennison
64d312d028
Move create league table element fields inside aux data struct
2024-08-30 17:40:58 +01:00
Jonathan G Rennison
7bbd88caa2
Documentation: Update landscape docs with upstream features
...
Fix minor grammar issue
2024-08-30 15:14:53 +01:00
Jonathan G Rennison
e42ac911ff
Check for tracerestrict wait/wait at start in signal propagation
...
When using realistic braking, block/auto signals now don't default to
green on plain line where this would conflict with wait at PBS
or wait at start PBS tracerestrict actions.
2024-08-30 15:14:53 +01:00
Jonathan G Rennison
130a8e28dc
Tracerestrict: Don't unnecessarily set actions used for cancel sub-actions
2024-08-30 14:42:43 +01:00
Jonathan G Rennison
60020880dd
Lang: Adjust wording of cargo scale mode setting help text
2024-08-30 14:42:43 +01:00
Jonathan G Rennison
b37bd66f17
Lang: Rename PBS to path/signal in various texts
2024-08-30 10:49:51 +01:00
Jonathan G Rennison
24acefa14e
Fix train variable 0x63 for virtual/template trains
2024-08-29 23:55:45 +01:00
Jonathan G Rennison
2d21e173a2
Fix small map window screenshots
2024-08-29 23:34:01 +01:00
Jonathan G Rennison
80ab88b9c5
Add helper to clamp signal aspect
...
Fix narrowing converison warnings
2024-08-29 21:14:14 +01:00
Jonathan G Rennison
8b1ba03669
Fix narrowing cast warnings
2024-08-29 21:12:14 +01:00
Jonathan G Rennison
ed3e401d06
Use ClampTo in RXCompressUint to fix narrowing warning
2024-08-29 21:06:04 +01:00
Jeremy Gao
8f5f4326ac
Update: Simplified Chinese Translations
...
Fixed a few ancient typos and added new translations.
2024-08-29 21:02:06 +01:00
Jonathan G Rennison
5f313e1447
Fix duplicate order and value validation of dispatch conditional orders
2024-08-28 20:29:29 +01:00
Qwest8K
577ad8bf8e
Update: Russian localization ( #735 )
2024-08-28 19:04:23 +01:00
Jonathan G Rennison
5b9ed03823
Tracerestrict: Add reverse at PBS signal sub-action
2024-08-28 18:50:04 +01:00
Jonathan G Rennison
0c3d1e1aac
Use result flags for TryPathReserve
2024-08-28 01:07:27 +01:00
Jonathan G Rennison
c286210902
Tracrestrict: Rename various constants for reverse behind signal
2024-08-28 00:41:16 +01:00
Jonathan G Rennison
ff89547280
Use result structure for ChooseTrainTrack
2024-08-28 00:38:04 +01:00
Jonathan G Rennison
a0dbd04e34
Tracerestrict: Fix GUI constants for news control actions
2024-08-28 00:25:35 +01:00
Jonathan G Rennison
f016e54ac3
Through load: Show vehicle advice message if ignored due to passengers
2024-08-27 17:42:09 +01:00
Jonathan G Rennison
17a5b7e9a9
Through load: Show vehicle advice message if ignored due to rear in depot
2024-08-27 17:42:09 +01:00
Jonathan G Rennison
4d514f3b19
Readme: Use HTTPS for forum links
2024-08-26 23:50:04 +01:00
Jonathan G Rennison
f01d4fab2c
VarAction2: Variable 0x7C depends on special temp storage for towns
2024-08-26 22:52:19 +01:00
Jonathan G Rennison
b4c3f938db
Debug: Show size of GRM allocation in GRF debug output
2024-08-25 13:26:16 +01:00