Jonathan G Rennison
d90c540f9e
Enable economy day length scaling in wallclock timekeeping mode
2 months ago
Jonathan G Rennison
9a07f14f56
Show running costs in calendar years by default
2 months ago
Jonathan G Rennison
c5cd598217
Debug: Log number of GRFs at level sl=2 when loading a game
...
Add helper to get the number of non-static GRFs in a GRF config
2 months ago
Jonathan G Rennison
adc7840f01
Scheduled dispatch: Caveat text for number of vehicles required
2 months ago
Jonathan G Rennison
a14f850f33
Debug: Show unreachable error groups in sprite dump when show details enabled
2 months ago
Peter Nelson
96ddabb30c
Codechange: Remove write-only spec_id from RoadStopSpec. ( #12582 )
...
Comment is incorrect about its value too.
(cherry picked from commit 72c55128d2
)
2 months ago
Jonathan G Rennison
991b7a958e
Do not reset lateness on auto-timetable congestion detection, when using scheduled dispatch
2 months ago
TELK
b39bd33c1c
Update: Korean translation up to 980de73
( #688 )
...
* Update: ko-KR / Colouring some setting
* Update: Korean translation - time
* Update: Korean translation up to 980de735
2 months ago
Jonathan G Rennison
29871e412c
Fix 69e7c1697: Add missing include for MSVC
2 months ago
Jonathan G Rennison
ce40e85ccc
Fix ROADSTOP_DRAW_MODE_WAYP_GROUND when used with RSF_DRAW_MODE_REGISTER
2 months ago
Jonathan G Rennison
07cfa5f602
Fix documentation comment for RSF_DRAW_MODE_REGISTER
2 months ago
Jonathan G Rennison
980de7353d
TBTR: Fix replacement servicing condition when using infinite money
2 months ago
Jonathan G Rennison
69e7c1697e
Win32: Increase buffer size and count in wave out sound driver
...
Ensure that wave structs are zero-inited and buffers are freed
2 months ago
Jonathan G Rennison
3136f08b86
Debug: Fix display of engine cargo age period and reliability decay speed
2 months ago
Jonathan G Rennison
33baceaef7
Maintain timer sort invariants when changing period
...
See: https://github.com/OpenTTD/OpenTTD/issues/12509
2 months ago
Jonathan G Rennison
674642f9cc
Add a priority field to TimerGameTick::TPeriod
...
Use this as the primary sort key for TimerGameTick::TPeriod,
to avoid container sort order changes on timer period saveload.
2 months ago
Jonathan G Rennison
d5b8f51bf9
Rename variable to fix Windows header name collision
2 months ago
Jonathan G Rennison
71227f61d8
Use MoveFileExW to implement FioRenameFile on Windows
...
This is to allow renaming over an existing file
2 months ago
Jonathan G Rennison
083d91a582
Remove use of shell API function for rename
2 months ago
Peter Nelson
653e217bb1
Fix: Signature validation did not close its file. ( #12479 )
...
(cherry picked from commit 3316b27496
)
2 months ago
Peter Nelson
8fdc91bd9f
Fix a29766d: Wrong scrolling dropdown list position with RTL. ( #12412 )
...
(cherry picked from commit 9750826590
)
2 months ago
Loïc Guilloux
54093fb8b2
Fix: [Win32] Force font mapper to only use TrueType fonts ( #12406 )
...
(cherry picked from commit 11aa3694fa
)
2 months ago
Jonathan G Rennison
98dc6c3c81
Fix NewGRF byte order when using -q
2 months ago
Peter Nelson
ae16df2d61
Fix #12497 : Add workaround for motion_counter being implemented correctly.
...
#12229 stopped updating motion_counter for non-engine parts of trains, and in doing so accidentally followed the spec for NewGRF var 46, which breaks NewGRFs that used to... accidentally work.
Make var 46 return motion_counter of the first engine, regardless of self or parent scope. This means var 46 is always in sync with the head engine, and avoids further changes to when motion_counter is updated.
(cherry picked from commit 9539b02455f672e11f3ac32302a00cffa5507770)
2 months ago
Jonathan G Rennison
6056a00222
Fix incorrect train weight used for infrastructure sharing track fees
2 months ago
Jonathan G Rennison
0150f8f570
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/network/network_server.cpp
2 months ago
Jonathan G Rennison
e17c6da46a
Fix industry cargoes when loading newer vanilla savegames
3 months ago
Jonathan G Rennison
d70c824056
Linkgraph: Increase effect strength of distance scaling setting
...
Updates: 3d049895
3 months ago
Jonathan G Rennison
d52d447603
Update station/industry nearby lists in BuildOilRig
...
See: https://github.com/OpenTTD/OpenTTD/issues/12506
3 months ago
Jonathan G Rennison
41543498f4
Fix ships leaving dots behind in viewport map mode
...
Fixes: 57db9a41
3 months ago
Jonathan G Rennison
1e38e513ae
Fix EnginesDailyLoop being called on new economy day instead of calendar
3 months ago
Jonathan G Rennison
0dcbcedbac
Fix ScriptRail::BuildSignal when using realistic braking with block signals
3 months ago
FedelloKirfed
46d71463d9
🌐 Update Galician Translations 2024-04-14
3 months ago
Jonathan G Rennison
6642b7e12c
Temporary fix for click/tooltip alignment of cargo lines in industry chains window
...
See: #681
See: https://github.com/OpenTTD/OpenTTD/issues/12465
3 months ago
Jonathan G Rennison
8e0fa32d33
Fix merge/editing error in IndustryCargoesWindow
3 months ago
Jonathan G Rennison
3d04989507
Link graph: Change distance scaling algorithm in demand scaler
...
Fix erratic scaling and increase effect at large setting values
3 months ago
Jonathan G Rennison
3712b84d2e
Fix narrowing conversion warnings
3 months ago
Rubidium
bf0cb3c43f
Codechange: let lengthof fail when anything that isn't a C-style array is passed
...
(cherry picked from commit 97bea563d7
)
3 months ago
Jonathan G Rennison
28e74005d0
Remove various uses of lengthof on std::array
3 months ago
Rubidium
919830db7a
Fix: do not use lengthof() for non C-style arrays
...
(cherry picked from commit c544a2be0a
)
3 months ago
Peter Nelson
c5b854a422
Codechange: Avoid lengthof() on std::array.
...
(cherry picked from commit 295508fc53
)
3 months ago
Peter Nelson
9b830e9eb2
Fix: Aircraft crash counter was too low to reach ground. ( #12425 )
...
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low.
Instead reset the counter until the aircraft reaches the ground, then continue the timer.
(cherry picked from commit 83da886093
)
3 months ago
Peter Nelson
cc6322e0a3
Fix #12233 : Mini order list overlaps vehicle group name. ( #12423 )
...
Move mini order list down one line to make room.
(cherry picked from commit e8c78df39e
)
3 months ago
Peter Nelson
df03366cf5
Fix #12114 : Viewport coords of crashed aircraft not updated when falling. ( #12424 )
...
This results in the aircraft glitching as the wrong viewport area is drawn.
(cherry picked from commit d11622b9a0
)
3 months ago
Jonathan G Rennison
89e3b009c3
Fix changing sprite alignment in sprite aligner window
3 months ago
Jonathan G Rennison
1a6a4c9a6c
Fix path-only signal cycle mode being ignored when using realistic braking
3 months ago
Jonathan G Rennison
a9dbd793b4
Implement Vehicle::GetCargoTile for (multi-part) ships
3 months ago
Loïc Guilloux
3cf43de059
Fix #12415 , 9c49a61
, df400ef: Aircraft::tile is valid only for front vehicle ( #12416 )
...
(cherry picked from commit 243c6bead3
)
# Conflicts:
# src/economy.cpp
3 months ago
Peter Nelson
f79ec7955a
Codechange: Explicitly reset old industry data before loading games.
3 months ago
Peter Nelson
bd2a92331b
Codechange: Use inline and std::array for old industry structures.
...
This avoids separate declaration/definition, and less C-style arrays.
3 months ago
Peter Nelson
f6b38e8e06
Codechange: Remove optional MakeCargo() parameters that are never changed.
...
Default values are always used, so don't need to be parameters.
3 months ago
Peter Nelson
e4fc8ef595
Codechange: Use std::span for industry cargo window instead of pointer + length.
3 months ago
merni-ns
6f36f3d714
Fix #11055 : Make saveload failure error messages consistent with others ( #12247 )
...
The save/load error messages were combined using string parameters, rather than using the built-in functionality of error dialogs.
3 months ago
merni-ns
92a171c3e0
Doc: Improve the output and documentation of the font command. ( #12392 )
...
Now that the default font =/= sprite font, there is a different way to invoke the sprite font, and default size applies to default (not sprite).
Also, interface scaling now affects the font size.
3 months ago
Peter Nelson
d68e5159e1
Feature: Allow base sounds set to be changed mid-game. ( #12399 )
3 months ago
translators
3d2a8fb60c
Update: Translations from eints
...
welsh: 5 changes by Ansbaradigeidfran
ukrainian: 11 changes by StepanIvasyn
catalan: 1 change by J0anJosep
portuguese (brazilian): 69 changes by pasantoro
3 months ago
Peter Nelson
d683ec0183
Codechange: Move dropdown and slider out of widgets directory. ( #12403 )
...
Also shuffle headers to place widget includes near end.
This leaves the widgets directory solely for defining Widget IDs.
3 months ago
Jonathan G Rennison
0008e7d769
Fix velocity unit names used in cargo payments graph window
3 months ago
Jonathan G Rennison
4d47eee48d
Lang: Update tiles/day and tiles/sec unit name strings
3 months ago
Jonathan G Rennison
6e689c2b93
Fix tiles/day speed unit in wallclock mode
3 months ago
Jonathan G Rennison
e041fb8b25
Fix industry window production last month string in wallclock mode
3 months ago
Jonathan G Rennison
9dc332ca59
Fix choppy audio playback of sound effects on Windows
...
Increase default audio buffer size
See: #680
See: 25aeb1c5
3 months ago
Rubidium
d5e28a904d
Fix fb9d4af: use different nonces for key exchange and stream encryption
3 months ago
translators
9954187680
Update: Translations from eints
...
greek: 172 changes by gh658804
ukrainian: 18 changes by StepanIvasyn
portuguese (brazilian): 9 changes by pasantoro
3 months ago
Jonathan G Rennison
083a05a179
Adjust case of vehicle list window drop down items
3 months ago
Jonathan G Rennison
d31359f4d2
Saveload: Fix doc comment for SlXvGetFeatureName
3 months ago
Patric Stout
77f02faf15
Codefix 977aba73be: also update comment about removal of is_random ( #12400 )
3 months ago
Jonathan G Rennison
98f1fb2722
Saveload: Fix NGRF chunks being saved with incorrect table SL_ARR format
...
Array length prefix was missing
See also: https://github.com/OpenTTD/bananas-api/pull/456
3 months ago
translators
340c2802da
Update: Translations from eints
...
ukrainian: 14 changes by StepanIvasyn
dutch: 3 changes by Afoklala
portuguese (brazilian): 34 changes by pasantoro
3 months ago
Patric Stout
c0308acb03
Fix: "-q" displays NewGRF IDs in the wrong byte-order ( #12397 )
3 months ago
Jonathan G Rennison
9f7d25e02d
TBTR: Fix head state migration when using start/stop callbacks
...
Don't run start/stop callbacks during head state migration
3 months ago
Jonathan G Rennison
3439d208d7
TBTR: Fix cost estimation of replacement when using wagon attach callbacks
...
Do not CMD_SELL_VEHICLE in cost estimation, just use the vehicle values
3 months ago
Peter Nelson
8d312b305b
Codechange: Replace currency macros with functions. ( #12396 )
3 months ago
translators
e21c12afeb
Update: Translations from eints
...
finnish: 39 changes by hpiirai
ukrainian: 23 changes by StepanIvasyn
danish: 1 change by bscargo
french: 1 change by Lishouuu
portuguese: 1 change by azulcosta
portuguese (brazilian): 100 changes by pasantoro
3 months ago
Peter Nelson
e16b982b6a
Codechange: Use iteration when dealing with all HouseSpecs.
3 months ago
Peter Nelson
3e83dcedfd
Codechange: Allocate houses dynamically instead of from a fixed array.
...
This uses vectors for HouseSpecs and global/town building counts.
3 months ago
Peter Nelson
8746be8bf2
Codechange: Use FindVehiclesWithOrder when removing a road stop. ( #12144 )
3 months ago
frosch
907cb4fc53
Fix: [Script] ScriptSubsidy::GetExpireDate should return an economy-date ( #12372 )
3 months ago
Michael Lutz
8fb7d74dfe
Fix eabb9db: Drag building of road stops should not allow mixing z levels.
3 months ago
Michael Lutz
69acc132ca
Fix #12387 , eabb9db: [NewGRF] Wrong tile offset passed to rail station CB 149 (slope check)
3 months ago
translators
ca53e134be
Update: Translations from eints
...
swedish: 14 changes by sereneavatar
finnish: 2 changes by hpiirai
ukrainian: 18 changes by StepanIvasyn
latvian: 4 changes by lexuslatvia
portuguese (brazilian): 13 changes by pasantoro
3 months ago
Jonathan G Rennison
433484cda3
Fix #12388 : Vehicle::CopyVehicleConfigAndStatistics not releasing unit number ( #12389 )
3 months ago
Jonathan G Rennison
315dd62bd9
Fix Vehicle::CopyVehicleConfigAndStatistics not releasing unit number
...
See: https://github.com/OpenTTD/OpenTTD/issues/12388
3 months ago
SamuXarick
afaf452534
Fix: Changing NPF max search nodes while in-game had no effect ( #12194 )
...
(cherry picked from commit f845b4bbc3
)
3 months ago
Peter Nelson
5c345f55e2
Fix #12368 : Incorrect offset for click position within industry chain window. ( #12370 )
...
(cherry picked from commit 97c1738541
)
3 months ago
Peter Nelson
b919c412b9
Fix 2fd9096: Label for fruit incorrectly changed to `FRUI` from `FRUT`. ( #12367 )
...
(cherry picked from commit eebfb83aa2
)
3 months ago
translators
b8b01818ca
Update: Translations from eints
...
english (au): 1 change by krysclarke
norwegian (bokmal): 1 change by eriksorngard
spanish (mexican): 32 changes by rgonzalez-py
english (us): 3 changes by 2TallTyler
russian: 3 changes by Ln-Wolf
ukrainian: 18 changes by StepanIvasyn
lithuanian: 6 changes by dziugas1959
portuguese (brazilian): 11 changes by pasantoro
3 months ago
Jonathan G Rennison
8e9600991a
Clear vehicle unit number on load for non-primary vehicles
3 months ago
Jonathan G Rennison
459e13fc5a
Remove unused command: CMD_SET_VEHICLE_UNIT_NUMBER
3 months ago
translators
575336ef43
Update: Translations from eints
...
swedish: 20 changes by joeax910
greek: 182 changes by gh658804
ukrainian: 11 changes by StepanIvasyn
slovak: 45 changes by puco
lithuanian: 14 changes by dziugas1959
portuguese (brazilian): 11 changes by pasantoro
3 months ago
Rubidium
8e12bd35ae
Fix: server shutdown and newgame packets should be stable
...
The server sends shutdown and newgame (reboot) packets to any connected client.
This can be useful, so you can tell clients that are trying to join that the
server is restarting. However, that means that packets can be sent before a
version check has been done.
So, these packets should be in the stable packet range instead of the one that
is unstable and guarded by a version check.
3 months ago
Peter Nelson
4751179dc5
Codefix: Remove unused class member and extraneous spaces. ( #12378 )
3 months ago
Rubidium
9aa6669266
Fix: inconsistent check for client authorized status
3 months ago
Rubidium
84bbe235e4
Fix: do not send chat to clients that have not authorized yet
3 months ago
Tyler Trahan
f71ada4f30
Fix #12268 : Capitalize "Wait to unbunch" order string ( #12375 )
3 months ago
SamuXarick
f845b4bbc3
Fix: Changing NPF max search nodes while in-game had no effect ( #12194 )
3 months ago
translators
40a75e0b8d
Update: Translations from eints
...
swedish: 19 changes by joeax910
norwegian (bokmal): 2 changes by eriksorngard
ukrainian: 6 changes by StepanIvasyn
french: 3 changes by ottdfevr
portuguese (brazilian): 23 changes by pasantoro
polish: 1 change by pAter-exe
3 months ago
Peter Nelson
97c1738541
Fix #12368 : Incorrect offset for click position within industry chain window. ( #12370 )
3 months ago
Peter Nelson
eebfb83aa2
Fix 2fd9096: Label for fruit incorrectly changed to `FRUI` from `FRUT`. ( #12367 )
3 months ago
Jonathan G Rennison
c295b1d99e
Use OTTD2FS for unlink when using iconv
3 months ago