Jonathan G Rennison
130d9cb650
Fix crash when road vehicle changed length in drive-through road stop
...
Due to refit and incorrectly implemented NewGRF
5 months ago
Jonathan G Rennison
cfebbfac8c
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/autoreplace_cmd.cpp
# src/company_base.h
# src/company_gui.cpp
# src/cpu.cpp
# src/debug.h
# src/group.h
# src/group_cmd.cpp
# src/house.h
# src/industry.h
# src/newgrf_house.cpp
# src/news_type.h
# src/openttd.cpp
# src/saveload/company_sl.cpp
# src/settings_type.h
# src/sl/oldloader_sl.cpp
# src/story.cpp
# src/table/town_land.h
# src/viewport.cpp
5 months ago
Jonathan G Rennison
e1d629dba3
Also use custom sprite sorting for catenary pylons under bridges
5 months ago
Jonathan G Rennison
a484a5eb77
Use custom sprite sorting rules for vehicles diagonally under bridges
...
Extend bb sprite south for comparisons, but only for vehicles underneath
This is to avoid creating sprite sorting problems for vehicles
on top of the bridge
Adjust ParentSpriteToDraw struct
5 months ago
Jonathan G Rennison
ea8aa47832
Add missing braces around calls to ViewportMapDraw in ViewportDoDraw
5 months ago
Jonathan G Rennison
9aa8059c79
Include elapsed state ticks since load in crash/failure logs
...
Consolidate game load date/time variables
5 months ago
Jonathan G Rennison
d456f4a3a5
Replace DATE_UNIT_SIZE macro with a function
5 months ago
Jonathan G Rennison
d39236d50c
Store state ticks directly in savegame instead of the offset
...
Initialise the state ticks value to a constant for new games,
instead of using an implicit offset of 0
5 months ago
Jonathan G Rennison
0ea57528c9
Rename DateTicksScaled to StateTicks
...
Rename various other related/derived types and variables
5 months ago
Jonathan G Rennison
39b4772a34
Convert speed units in station rating tooltip
...
See: #645
5 months ago
Jonathan G Rennison
b6b665e989
Set GoodsEntry last_vehicle_type when resetting time_since_pickup
5 months ago
Jonathan G Rennison
e8c17f634b
Remove randombytes from 3rdparty
5 months ago
Jonathan G Rennison
f966153ae2
Saveload: Remove use of randombytes in company passwords storage
...
Use RandomBytesWithFallback
Replace related key/data arrays with std::array
5 months ago
Jonathan G Rennison
9492aa1c0d
Saveload: Add span overloads to ReadBuffer and MemoryDumper
5 months ago
Jonathan G Rennison
17712af318
Random: Try a little bit harder in the random bytes fallback path
5 months ago
Jonathan G Rennison
f44ec32011
Replace NetworkRandomBytesWithFallback with RandomBytesWithFallback
...
Replace related key/data arrays with std::array
5 months ago
Jonathan G Rennison
bb627e944c
Serialisation: Add std::span wrappers for Recv_binary, Send_binary
5 months ago
Jonathan G Rennison
2208d70e33
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/3rdparty/monocypher/CHANGELOG.md
# src/3rdparty/monocypher/CMakeLists.txt
# src/3rdparty/monocypher/README.md
# src/3rdparty/monocypher/monocypher.h
# src/core/random_func.cpp
# src/misc.cpp
5 months ago
Jonathan G Rennison
347862504f
Fix rail toolbar layout when polyrail button hidden at init
5 months ago
Jonathan G Rennison
5b894edde8
Fix mismatch between struct Blitter and class Blitter declarations
5 months ago
Jonathan G Rennison
77772725be
Version: Committing version data for tag: jgrpp-0.57.1
5 months ago
Jonathan G Rennison
b2b96fff13
Disable threaded rendering when showing widget outlines
...
Because these are drawn outside the window boundary, so it is not
technically thread-safe due to non-deterministic drawing order
5 months ago
Jonathan G Rennison
16589041f2
Prevent dragging plan lines across viewports
...
As this leads to erratic plans
5 months ago
Jonathan G Rennison
d4381d06ea
Revert "Add scoped helper to temporarily override current blitter"
...
This reverts commit ae701a3bd8
.
5 months ago
Jonathan G Rennison
4a9803c6f0
Do not override global blitter to render overlay/plans to cache buffer
...
Creates thread safety issues with active draw jobs
5 months ago
Jonathan G Rennison
816d4eb657
Fix ff0c77ee: Wrong pitch used to fill in scrolled plan/overlay caches
5 months ago
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
5 months ago
Jonathan G Rennison
736539280b
Fix second colour vehicle-type default liveries not being updated
...
When changing company default second colour
5 months ago
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)
5 months ago
Jonathan G Rennison
539ca43525
Replace asserts with exits in GfxFillRect
5 months ago
kiwitreekor
16574946da
Add: Station variable 6B to get extended station id of nearby tiles ( #10953 )
...
(cherry picked from commit 8d62a8f0f0
)
5 months ago
Jonathan G Rennison
728971ddbc
Road stops: Remove 0x6B as alias of roadstop_road_info_nearby_tiles
5 months ago
Jonathan G Rennison
28b156d95c
Fix rounding of right edge of viewport mark dirty area
...
Could result in vehicles leaving pixels behind when moving left
5 months ago
Jonathan G Rennison
41299128e5
Explicitly cast time units when calculating wait time in LoadUnloadVehicle
5 months ago
Jonathan G Rennison
2941567c02
Fix leftover strings in Korean translation
...
See: #642
5 months ago
TELK
1174794c82
Update: Korean translation up to 0.57.0
5 months ago
Jonathan G Rennison
04fc0c37dc
Crashlog: Tag image base with [[maybe_unused]]
5 months ago
Jonathan G Rennison
7d92f185d3
Fix picker tool item selection in rail/road station and waypoint windows
5 months ago
glx22
48c97d6cde
Fix 48b6b18: Increase MAX_VALUATE_OPS to match the previous limit
...
(cherry picked from commit a502453033
)
5 months ago
Jonathan G Rennison
66e57e6b2d
Crashlog: Handle image relocation in MinGW BFD symbol lookup
5 months ago
Jonathan G Rennison
d00424008f
Crashlog: Adjust Linux stacktrace format when using BFD
5 months ago
Jonathan G Rennison
a4c14171a7
Crashlog: Re-use BFD instances for the same object
5 months ago
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
5 months ago
Jonathan G Rennison
fcc6529b6a
Ensure scroll count and engine list size match in build vehicle window
5 months ago
Loïc Guilloux
4e26e33805
Change: Improve ScriptSettings windows ( #11958 )
5 months ago
Loïc Guilloux
0e738dda88
Fix #11948 : [Win32] Convert error messages to utf8 ( #11951 )
5 months ago
Loïc Guilloux
3545decf2d
Cleanup e28edf6945: [Script] Left over CONFIG_RANDOM reference in documentation ( #11954 )
5 months ago
Loïc Guilloux
a2f31c4e61
Change: Improve AIConfig window ( #11949 )
5 months ago
Jonathan G Rennison
860af4de29
Fix sort by total cargo in build ship window
5 months ago
Jonathan G Rennison
c0b8e58404
Codechange: Simplify SetBitIterator
...
Use FindFirstBit and KillFirstBit, allowing simpler iterator equality
Add simple test
5 months ago