Jonathan G Rennison
4a9803c6f0
Do not override global blitter to render overlay/plans to cache buffer
...
Creates thread safety issues with active draw jobs
2024-02-04 01:41:04 +00:00
Jonathan G Rennison
816d4eb657
Fix ff0c77ee
: Wrong pitch used to fill in scrolled plan/overlay caches
2024-02-04 01:41:04 +00:00
Jonathan G Rennison
3365efa5b2
Ensure that sprite aligner click to pick sprites is thread safe
...
Use a mutex for list of sprite IDs found in (threaded) draw jobs
2024-02-04 01:41:04 +00:00
Jonathan G Rennison
736539280b
Fix second colour vehicle-type default liveries not being updated
...
When changing company default second colour
2024-02-03 23:11:49 +00:00
Tyler Trahan
d0c753465d
Fix f6dd505
: Remove unneeded error when switching between depot actions
2024-02-03 17:32:25 -05:00
Tyler Trahan
80a704ba11
Fix f6dd505
: Split depot action tooltip by vehicle type
2024-02-03 17:32:25 -05:00
Jonathan G Rennison
ff0c77ee3b
Blitter: Do not override global screen pitch to use 8bpp blitter
...
8bpp blitter keep a point to pitch (default screen pitch)
2024-02-03 22:00:21 +00:00
Rubidium
7a740eefa0
Codechange: use std::unique_ptr for managing SaveLoadParams
2024-02-03 21:38:33 +01:00
Rubidium
4b372b6050
Codechange: use std::shared_ptr to manage saveload filters instead of manually trying to avoid double frees
2024-02-03 21:38:33 +01:00
Patric Stout
22eed9616e
Doc: Prepare for 14.0-beta1 release ( #11964 )
2024-02-03 19:48:10 +00:00
translators
bc4ed9085d
Update: Translations from eints
...
english (au): 3 changes by krysclarke
english (us): 3 changes by 2TallTyler
chinese (simplified): 3 changes by WenSimEHRP
korean: 4 changes by telk5093
russian: 19 changes by Ln-Wolf
latvian: 67 changes by lexuslatvia
portuguese: 3 changes by azulcosta
portuguese (brazilian): 3 changes by pasantoro
2024-02-03 18:34:44 +00:00
Jonathan G Rennison
539ca43525
Replace asserts with exits in GfxFillRect
2024-02-03 18:16:30 +00:00
kiwitreekor
16574946da
Add: Station variable 6B to get extended station id of nearby tiles ( #10953 )
...
(cherry picked from commit 8d62a8f0f0
)
2024-02-03 17:53:58 +00:00
Jonathan G Rennison
728971ddbc
Road stops: Remove 0x6B as alias of roadstop_road_info_nearby_tiles
2024-02-03 17:52:28 +00:00
Jonathan G Rennison
28b156d95c
Fix rounding of right edge of viewport mark dirty area
...
Could result in vehicles leaving pixels behind when moving left
2024-02-03 14:57:15 +00:00
Patric Stout
0dfba564ab
Add: "restart current" console command to regenerate the map based on current settings ( #11963 )
2024-02-03 14:48:54 +00:00
Jonathan G Rennison
41299128e5
Explicitly cast time units when calculating wait time in LoadUnloadVehicle
2024-02-03 14:35:38 +00:00
Peter Nelson
17d02ed45f
Feature: NewGRF properties to set town production effect and multiplier. ( #11947 )
...
Town production effect is modelled on town acceptance (growth) effect, and so takes an original cargo slot for behaviour instead of a direct value.
NewGRF feature 0x0B, property 0x1E, takes 1 byte.
Valid values are:
- 0x00 to behave like passengers
- 0x02 to behave like mail
- 0xFF to behave like other cargo (i.e. not produced.)
If not set, town production effect is set based on the cargo label ('PASS' or 'MAIL').
Town production multiplier allows adjusting the amount of cargo produces when Town Production Effect is set, without needing to use callbacks.
NewGRF feature 0x0B (cargo), property 0x1F, accepts a 2 byte (word) value, similar to the cargo capacity multiplier property. The default value is 256 which means 100%, i.e. normal rate.
2024-02-03 13:58:31 +00:00
Tyler Trahan
f6dd5053a3
Feature: Order flag to unbunch vehicles at depot ( #11945 )
2024-02-03 08:04:24 -05:00
Jonathan G Rennison
2941567c02
Fix leftover strings in Korean translation
...
See: #642
2024-02-03 12:21:06 +00:00
TELK
1174794c82
Update: Korean translation up to 0.57.0
2024-02-03 12:07:28 +00:00
Jonathan G Rennison
04fc0c37dc
Crashlog: Tag image base with [[maybe_unused]]
2024-02-03 12:04:55 +00:00
Jonathan G Rennison
7d92f185d3
Fix picker tool item selection in rail/road station and waypoint windows
2024-02-03 12:02:58 +00:00
glx22
48c97d6cde
Fix 48b6b18
: Increase MAX_VALUATE_OPS to match the previous limit
...
(cherry picked from commit a502453033
)
2024-02-03 11:40:11 +00:00
Patric Stout
a0c480c4e4
Change: "restart" now uses your newgame settings, where "reload" uses the current settings ( #11962 )
2024-02-03 10:19:47 +00:00
Charles Pigott
59f6c199bf
Fix #11528 : Don't auto-build past tunnelbridge ends ( #11606 )
2024-02-03 11:18:10 +01:00
kiwitreekor
8d62a8f0f0
Add: Station variable 6B to get extended station id of nearby tiles ( #10953 )
2024-02-03 11:17:49 +01:00
Patric Stout
849fd5ae03
Change: [Script] replace easy/medium/hard values with default value ( #11959 )
2024-02-03 09:15:03 +00:00
Loïc Guilloux
27a920c4a8
Change: Allow to configure AI slots above max_no_competitors ( #11961 )
2024-02-03 09:42:16 +01:00
Patric Stout
fe4494ec11
Change: only open story-book in center when a GS does it ( #11916 )
2024-02-03 08:09:55 +01:00
Patric Stout
59a046de9c
Fix: don't use non-owning string pointer in StringParameter ( #11952 )
...
The string pointer can become invalid before the reference is
dropped, causing out-of-bound access in windows like ErrorWindow,
or News that copy 10 or 20 parameters for their internals.
Co-authored-by: Jonathan G Rennison <j.g.rennison@gmail.com>
2024-02-02 23:01:54 +01:00
frosch
b1718478c8
Codechange: Replace old non-standard attributes with C++17/20 standard attributes.
2024-02-02 22:29:28 +01:00
frosch
8a4f0c4b02
Codechange: Simplify error throwing/catching in squirrel compiler.
2024-02-02 22:29:28 +01:00
Jonathan G Rennison
66e57e6b2d
Crashlog: Handle image relocation in MinGW BFD symbol lookup
2024-02-02 21:11:22 +00:00
Jonathan G Rennison
d00424008f
Crashlog: Adjust Linux stacktrace format when using BFD
2024-02-02 21:11:22 +00:00
Jonathan G Rennison
a4c14171a7
Crashlog: Re-use BFD instances for the same object
2024-02-02 21:11:22 +00:00
Tyler Trahan
f2db624e85
Change: Add dividers between signal groups ( #11897 )
2024-02-02 15:52:20 -05:00
Tyler Trahan
6f6f09910d
Fix #10118 : Cycle through current signal group, not just path signals ( #11798 )
2024-02-02 15:51:57 -05:00
Peter Nelson
2e6c6b719f
Change: Link houses production on industry chain graph by TPE_PASSENGERS or TPE_MAIL cargo.
2024-02-02 20:37:49 +00:00
Peter Nelson
03b2640ea1
Change: Passenger subsidies are generated for any TPE_PASSENGER cargo type.
2024-02-02 20:37:49 +00:00
Peter Nelson
6d93fa649c
Change: Towns generate cargo based on town production effect.
...
This replaces the fixed handling of passengers and mail.
2024-02-02 20:37:49 +00:00
Peter Nelson
8d69d0549d
Codechange: Add town production effect type and assign to cargo types.
2024-02-02 20:37:49 +00:00
Peter Nelson
60dcf3b5e2
Codechange: Rename TownEffect to TownAcceptanceEffect.
...
This makes it clearer that TownEffect only affects acceptance behaviour.
2024-02-02 20:37:49 +00:00
translators
782cbe95d6
Update: Translations from eints
...
chinese (simplified): 49 changes by WenSimEHRP
russian: 47 changes by Ln-Wolf
catalan: 71 changes by J0anJosep
dutch: 114 changes by Afoklala
portuguese: 46 changes by azulcosta
portuguese (brazilian): 29 changes by pasantoro
2024-02-02 18:35:20 +00:00
Jonathan G Rennison
fcc6529b6a
Ensure scroll count and engine list size match in build vehicle window
2024-02-02 18:24:53 +00:00
Loïc Guilloux
4e26e33805
Change: Improve ScriptSettings windows ( #11958 )
2024-02-02 18:08:05 +00:00
Loïc Guilloux
0e738dda88
Fix #11948 : [Win32] Convert error messages to utf8 ( #11951 )
2024-02-02 16:30:23 +01:00
Loïc Guilloux
3545decf2d
Cleanup e28edf6945
: [Script] Left over CONFIG_RANDOM reference in documentation ( #11954 )
2024-02-02 14:28:02 +00:00
Loïc Guilloux
a2f31c4e61
Change: Improve AIConfig window ( #11949 )
2024-02-02 14:34:49 +01:00
Jonathan G Rennison
860af4de29
Fix sort by total cargo in build ship window
2024-02-02 01:48:28 +00:00