Commit Graph

57139 Commits

Author SHA1 Message Date
Jonathan G Rennison
e377535ea6 Routing restrictions: Fix instruction indent in RTL mode 2023-08-27 08:59:37 +01:00
Jonathan G Rennison
7d3e627687 TBTR: Fix layout of template edit window info panel in RTL languages 2023-08-27 03:08:59 +01:00
Jonathan G Rennison
d6041149a4 TBTR: Fix layout of middle panel in RTL languages 2023-08-27 03:08:59 +01:00
Jonathan G Rennison
c6dcb28372 TBTR: Fix layout of bottom panel in RTL languages 2023-08-27 03:08:59 +01:00
Jonathan G Rennison
03c3050c43 Fix too small string buffer in FormatUnitWeightRatio 2023-08-27 00:49:40 +01:00
Jonathan G Rennison
0f8d8ca485 TBTR: Fix layout of top panel in RTL languages 2023-08-27 00:44:59 +01:00
Jonathan G Rennison
3b8d8aeb6a TBTR: Adjust config buttons/text in main window
Clarify refit and depot options
Adjust layout
2023-08-26 23:59:52 +01:00
Jonathan G Rennison
8dc635b516 Order window: Fix misalignment of shared order vehicles button 2023-08-26 22:17:24 +01:00
Jonathan G Rennison
668a0f774a Window: Add accessors for cached NWidgetLeaf dimensions 2023-08-26 22:15:05 +01:00
Jonathan G Rennison
81a0ed0763 TBTR: Change template mode buttons to on/off instead of push 2023-08-26 21:41:49 +01:00
translators
f2841e62d9 Update: Translations from eints
russian: 1 change by Ln-Wolf
turkish: 1 change by densxd
portuguese: 1 change by azulcosta
polish: 3 changes by pAter-exe
2023-08-26 18:38:15 +00:00
Jonathan G Rennison
a0e3885acc Add airport tile variables to get airport type local ID and layout 2023-08-26 15:01:10 +01:00
Jonathan G Rennison
e72744cc77 Debug: Show airport type/layout in debug window 2023-08-26 14:11:54 +01:00
Jonathan G Rennison
c804442005 Release: Remove ubuntu 18.04, debian buster. Add debian bookworm 2023-08-26 10:37:17 +01:00
translators
6726918ab0 Update: Translations from eints
catalan: 30 changes by J0anJosep
2023-08-25 18:38:04 +00:00
Richard Wheeler
96fdfb941a Feature: Transparency option for cost and income indicators (#11001) 2023-08-25 16:04:40 +02:00
Joan Josep
a938067d6b Codechange: Invalid depot value is unrelated to invalid station value. (#11227) 2023-08-25 14:29:51 +02:00
Joan Josep
ead5284476 Doc: Improve the example given for fall throughs. (#11228) 2023-08-25 10:56:11 +00:00
translators
9aef380c99 Update: Translations from eints
italian: 43 changes by Rivarossi
french: 1 change by ottdfevr
2023-08-24 18:38:24 +00:00
Jonathan G Rennison
5f8bfb176c Support articulated engines with multiple cargoes in engine news messages 2023-08-24 17:45:25 +01:00
Jonathan G Rennison
547c00b465 Settings: Only write out config on setting change for persistent changes 2023-08-24 17:27:47 +01:00
Jonathan G Rennison
f8c8ba2670 Settings: Split HandleSettingDescs into per-ini functions 2023-08-24 17:14:13 +01:00
Jonathan G Rennison
c8501938b0 Fix 19835b51: Wrong GoodsEntryData used after vehicle refit in station 2023-08-23 21:52:16 +01:00
Jonathan G Rennison
84b7f2eb20 Fix 19835b51: GoodsEntryData was not zero-inited 2023-08-23 21:48:28 +01:00
Jonathan G Rennison
1eb1b0ffcb Debug: Show cargo packet info if cargo is reserved 2023-08-23 21:29:01 +01:00
Jonathan G Rennison
056616ae1a Fix text truncation in PNG screenshot metadata 2023-08-23 20:58:06 +01:00
Jonathan G Rennison
b323e1a8ae Remove pessimising std::move 2023-08-23 19:45:44 +01:00
Jonathan G Rennison
d132dc67d7 Fix compilation issues on clang
Due to template template argument parameter count mismatch
See: 23ad010d
2023-08-23 19:44:44 +01:00
Jonathan G Rennison
22f9a6d7b0 Fix 19835b51: Linker issues with static empty structs 2023-08-23 19:25:45 +01:00
Jonathan G Rennison
14dc6586bc Sprite cache: Avoid resizing to fully zoomed if not needed 2023-08-23 02:20:53 +01:00
Jonathan G Rennison
0cac2526f1 Fix 2f692a79: Dest ptr not advanced for BM_BLACK_REMAP in 32bpp anim blitter 2023-08-23 02:03:00 +01:00
Jonathan G Rennison
3a8217fc99 Sprite cache: Move LRU to struct Sprite
Prune from sprite cache by individual sprite structs instead of IDs
2023-08-23 01:30:57 +01:00
Jonathan G Rennison
8077274ed1 Sprite cache: Clamp recolour sprite allocation to max size 2023-08-23 01:02:15 +01:00
Jonathan G Rennison
627fd3d4fa Add console command to dump sprite cache stats 2023-08-23 00:26:59 +01:00
Jonathan G Rennison
7e5a87dd46 Blitter: Null blitter always requires no zoom levels 2023-08-22 23:10:52 +01:00
Jonathan G Rennison
c4e8b919f8 Blitter: Change some informational virtual functions to member values 2023-08-22 23:02:25 +01:00
Jonathan G Rennison
46f5fb9f25 Sprite cache: Allow caching only required subset of sprite zoom levels
Enable for blitters based on 32bpp_optimized or SSE
2023-08-22 22:16:04 +01:00
translators
4d4a046d23 Update: Translations from eints
polish: 2 changes by pAter-exe
2023-08-22 18:39:08 +00:00
Jonathan G Rennison
785216db73 Sprite: Don't allocate sprite encode space for map-mode zoom levels 2023-08-21 23:19:26 +01:00
Jonathan G Rennison
d6f01988e3 Sprite cache: List total candidates in cache eviction debug message 2023-08-21 21:56:07 +01:00
Jonathan G Rennison
d5e0d8f81e Blitter: Reduce mallocs, memsets in Blitter_32bppOptimized::Encode 2023-08-21 22:10:28 +01:00
Jonathan G Rennison
2cbd76593a Fix #11215: Assert in NewGRF parameters window (manual parameter mode) (#11217) 2023-08-21 12:42:33 +02:00
Jonathan G Rennison
83d3fab599 TBTR: Autorefit button in depot window now also does template replacements 2023-08-20 23:37:46 +01:00
Jonathan G Rennison
b0331c84b3 TBTR: Refactor handling of vehicle start/stop state 2023-08-20 23:36:39 +01:00
Rubidium
6635f809dd Fix #11181: attempting to read string as int triggers assertion 2023-08-20 23:57:42 +02:00
Jonathan G Rennison
d7d9c05cbd TBTR: Fix various refit issues in refit as incoming vehicle mode
Allow refits to fail in refit as incoming vehicle mode
Remove virtual train mode from CmdRefitVehicle
Fix refit as incoming for non-head parts being free
2023-08-20 22:30:33 +01:00
Jonathan G Rennison
64df35067a TBTR: Handle setting unit direction separately from refits 2023-08-20 22:30:33 +01:00
Jonathan G Rennison
2cf95eea36 TBTR: Refactor train/template match function to return difference flags 2023-08-20 22:30:33 +01:00
Jonathan G Rennison
2b44d3302e CommandCost: Change AllocSummaryMessage to std::string SummaryMessage 2023-08-20 22:30:33 +01:00
Jonathan G Rennison
8df4aa7979 Fix: Road stops should not draw a ground sprite of 0 (#11214) 2023-08-20 15:46:19 -04:00