Loïc Guilloux
b53d79b1d2
Codechange: Don't use NOT_REACHED() when catching unhandled thread exceptions ( #12199 )
4 months ago
Peter Nelson
a602845d0a
Fix #12202 : Race condition when using sprite picker. ( #12204 )
...
When using the sprite picker the screen is redrawn so that the sprites under the mouse cursor can be captured. This redraw also caused the sprite aligner window to be redrawn before the OnInvalidateData event that updates its scrollbars with the list count.
4 months ago
Tyler Trahan
3fd5c33ae6
Fix f6dd505: Only reset unbunching departure data in the correct depot ( #12155 )
4 months ago
Patric Stout
7824ae5b59
Fix #12196 : disable "select upgrade" button when filtering
4 months ago
Patric Stout
b307541099
Fix #12196 : always show selected content, even when filtering
4 months ago
Jonathan G Rennison
cb5c6abc00
Fix display of ships entering viewports on an aqueduct
4 months ago
Tyler Trahan
890040ceea
Update: Developer credits ( #12173 )
4 months ago
Jonathan G Rennison
9e807d2072
Fix desync after joining a server with flood_from_edges setting enabled
4 months ago
translators
667adf7df9
Update: Translations from eints
...
chinese (simplified): 26 changes by WenSimEHRP
korean: 5 changes by telk5093
dutch: 9 changes by Afoklala
portuguese (brazilian): 25 changes by pasantoro
4 months ago
Jonathan G Rennison
421a937112
Fix plan window add lines button text when active
4 months ago
Peter Nelson
f0a891c4f7
Cleanup: Remove unused last_num_specs from SlRoadStopTileData. ( #12198 )
...
Inadvertently copy & pasted from another Sl handler.
4 months ago
Jonathan G Rennison
26fc78d2bf
Fix incorrect accounting of company quarterly statistics
4 months ago
translators
c0b5510a94
Update: Translations from eints
...
portuguese (brazilian): 157 changes by pasantoro
polish: 5 changes by pAter-exe
4 months ago
Jonathan G Rennison
a816829cd1
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/station_gui.cpp
# src/vehicle_cmd.cpp
# src/vehicle_gui.cpp
4 months ago
Jonathan G Rennison
f403d99c90
Saveload: Add helper to iterate orders from order lists and vehicles
4 months ago
translators
c4f9479507
Update: Translations from eints
...
chinese (simplified): 19 changes by WenSimEHRP
ukrainian: 9 changes by StepanIvasyn
portuguese (brazilian): 43 changes by pasantoro
4 months ago
Jonathan G Rennison
12b092aa91
Stop engine reliability decay once no vehicles expire after year is reached
...
Instead of maximum of expire and introduction year settings
See: #646
4 months ago
Loïc Guilloux
fad77261ea
Fix f6dd505: Missing savegame conversion for current_order ( #12188 )
4 months ago
Jonathan G Rennison
cd40eba453
Add an option to disable use of tagged pointers
4 months ago
Peter Nelson
d4f0f0e2c5
Codechange: Use `GetVisibleRangeIterators()` in more places. ( #12190 )
...
This replaces more first/last index calculation, along with indexed array/vector access, with iterator access instead.
4 months ago
Jonathan G Rennison
7e0acd686e
Add NewGRF signal style flag to draw on both sides
4 months ago
Jonathan G Rennison
55410152a2
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/openttd.cpp
# src/script/api/script_text.cpp
# src/settings_type.h
4 months ago
translators
529d813496
Update: Translations from eints
...
hungarian: 96 changes by titanicbobo, 11 changes by pnpBrumi
ukrainian: 19 changes by StepanIvasyn
latvian: 1 change by lexuslatvia
spanish: 9 changes by MontyMontana
portuguese (brazilian): 94 changes by pasantoro
4 months ago
Jonathan G Rennison
7a2ea83654
Plans: Adjust button tooltips
4 months ago
Jonathan G Rennison
5047b2ef4e
Plans: Allow taking ownership of unowned plans
...
Except for unauthed network clients
4 months ago
Peter Nelson
e93d081a4a
Codechange: Use range-for instead of indexed loop. ( #12191 )
4 months ago
Jonathan G Rennison
3a301cd986
Add helper functions for network settings admin state
4 months ago
Peter Nelson
59420d57ec
Codechange: Use vehicle tile hash to build depot vehicle list. ( #12186 )
...
This avoids iterating the entire vehicle pool.
4 months ago
Peter Nelson
a61311fcb0
Codefix: DrawEngineList does not accept EngineID.
...
Replace min/max parameters of DrawEngineList with scrollbar reference, and use iterators instead of indices.
4 months ago
Peter Nelson
bf865dc536
Codechange: Add `GetVisibleRangeIterators()` to `Scrollbar`.
4 months ago
Loïc Guilloux
f612bc6ee2
Fix bf4b6696: [Script] Broken ScriptText circular reference detection ( #12187 )
4 months ago
Kuhnovic
2fb1593550
Fix e38c3c5: Added missing return statement ( #12185 )
4 months ago
Patric Stout
e775ef2b70
Fix: initialize _switch_mode_time so crash-logs before first game have a realistic time ( #12184 )
4 months ago
Jonathan G Rennison
f186b640f6
Plans: Add initial scenario editor support
...
See: #655
4 months ago
Jonathan G Rennison
e5a34feaed
Plans: Remove visibility/window code from CmdAddPlan, use callback
4 months ago
Jonathan G Rennison
a20f862cd0
Plans: Adjust command flags
4 months ago
Jonathan G Rennison
d09f93879b
Fix main viewport only partial redraw when changing UI scale using slider
4 months ago
Jonathan G Rennison
1e0ff41d33
Add UI setting to show speed before destination in vehicle status bar
4 months ago
Jonathan G Rennison
5d7c87f5e4
Add setting for whether to show vehicle running costs per calendar year
...
See #660
4 months ago
Jonathan G Rennison
a429bddbac
Batch depot order removals when deleting companies
4 months ago
Jonathan G Rennison
8caa4d8708
Use btree_set in Station::RemoveFromAllNearbyLists
4 months ago
Peter Nelson
5462204930
Codechange: Scan station catchment tiles when removing station from nearby towns/industries.
...
Avoid iterating all towns and industries when updating station catchment, and scan a limited portion of the map instead.
This provides a modest performance benefit when many towns/industries exist.
(cherry picked from commit c28762019ee4c0a60815b2c4df433a0d9bc82094)
4 months ago
translators
149592e4dd
Update: Translations from eints
...
english (us): 9 changes by 2TallTyler
chinese (simplified): 10 changes by WenSimEHRP
luxembourgish: 21 changes by phreeze83
greek: 11 changes by Xertoveizer
hungarian: 60 changes by titanicbobo
german: 37 changes by frosch123
french: 9 changes by Bulest
portuguese (brazilian): 74 changes by pasantoro
polish: 5 changes by pAter-exe
4 months ago
Jonathan G Rennison
828d2146eb
Merge branch 'master' into jgrpp
...
# Conflicts:
# CMakeLists.txt
# bin/ai/CMakeLists.txt
# bin/game/CMakeLists.txt
# src/ai/ai_info.cpp
# src/company_base.h
# src/economy.cpp
# src/game/game_info.cpp
# src/gfx_type.h
# src/linkgraph/linkgraph_gui.cpp
# src/palette.cpp
# src/palette_func.h
# src/saveload/saveload.h
# src/saveload/vehicle_sl.cpp
# src/ship_cmd.cpp
# src/train_cmd.cpp
# src/vehicle_base.h
# src/window.cpp
# src/window_func.h
4 months ago
Jonathan G Rennison
cc04fe5005
Duplicate vehicle status bar velocity strings
4 months ago
Jonathan G Rennison
18e1d57fc6
Duplicate STR_ORDERS_GO_TO_TOOLTIP string
4 months ago
Jonathan G Rennison
567e235883
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/saveload/saveload.h
4 months ago
Patric Stout
e939f59cbb
Codechange: replace "byte" with "uint8_t" in settings ( #12179 )
4 months ago
Jonathan G Rennison
c09fdb0444
Fix company infrastructure windows not being marked as a company window
...
Fixes it not being removed on company deletion, which could cause a crash
4 months ago
Jonathan G Rennison
0d20a54dc5
Use pointer tags instead of dereferencing in RebuildVehicleTickCaches
4 months ago
Jonathan G Rennison
bd04aff725
Use front/vehicle type filtered iteration in ScriptVehicleList
4 months ago
Jonathan G Rennison
ac683bc278
ScriptList: Generalise FillList pool iteration
4 months ago
Jonathan G Rennison
746e3874c5
Fix VF_STOP_LOADING flag not always being cleared when leaving station
4 months ago
translators
7b1e3cfeb5
Update: Translations from eints
...
english (au): 1 change by krysclarke
swedish: 1 change by niklasva
chinese (simplified): 6 changes by WenSimEHRP
korean: 21 changes by telk5093
hungarian: 1 change by PstasDev
italian: 1 change by Rivarossi
belarusian: 7 changes by KorneySan
russian: 7 changes by Ln-Wolf, 3 changes by KorneySan
catalan: 9 changes by J0anJosep
danish: 7 changes by bscargo
french: 7 changes by ottdfevr
portuguese: 1 change by jcteotonio
hindi: 2 changes by michaelsmassey
portuguese (brazilian): 115 changes by pasantoro
polish: 1 change by pAter-exe
4 months ago
Jonathan G Rennison
93bf033107
Add whether the vehicle is non-front to the vehicle pool pointer tag
...
Add iteration filters which check this
4 months ago
Jonathan G Rennison
05e237f8d1
Add wrapper to iterate vehicle pool with vehicle type filter
...
Without needing to dereference vehicle pointers if using tagged pointers
4 months ago
Jonathan G Rennison
be4aea0dad
Rationalise handling of train too heavy advice messages
4 months ago
Peter Nelson
86be6d7e0b
Codechange: Off-by-one in colour gradient initialisation.
...
Remap sprites start with a count byte followed by 256 entries, but
SetupColoursAndInitialWindow did not take account of this extra byte and
therefore started at palette index 0xC5 instead of 0xC6. This caused the
first colour of each gradient to be incorrect and all shades were actually
1 step lower in the gradient than indicated.
4 months ago
Peter Nelson
912d7bd80e
Codechange: Give ColourShade values names instead of numbers.
4 months ago
Peter Nelson
ae3390fe48
Codechange: Add ColourShade enum.
4 months ago
Peter Nelson
0463d4c198
Codechange: Remove direct access to _colour_gradient.
...
Access is now through GetColourGradient, which ensures parameters are in range.
4 months ago
Peter Nelson
56cf89d189
Change: Use bitmap for free unit ID generation. ( #12165 )
...
This improves performance of finding the next free unit number for a vehicle.
Based loosely on pool's used slot bitmap.
4 months ago
Jonathan G Rennison
601071744e
Fix timetabled waiting in depots
...
See: #658
4 months ago
Peter Nelson
8afef45d4e
Fix d3c673e: Don't defer OnResize() after ReInit() ( #12174 )
...
Some windows resize themselves during painting and issue ReInit(). In this case deferred OnResize() causes a visible glitch as the event is handled on the next redraw.
4 months ago
Jonathan G Rennison
528aae3f3b
Saveload: Remove unused engine save/load desc
4 months ago
Jonathan G Rennison
ee7a347287
Fix 07278a41: Narrowing conversion warning fix
4 months ago
Jonathan G Rennison
090656bd7f
Adjust handling of year display in wallclock mode and company inauguration years
...
See: #657
4 months ago
Jonathan G Rennison
1bfcbf823c
Use tagged pointers in the vehicle pool on supported (64 bit) platforms
...
Use to avoid needing to dereference each pointer to get the vehicle
type when doing per-vehicle type iteration
4 months ago
translators
ddb3914074
Update: Translations from eints
...
english (au): 6 changes by krysclarke
swedish: 19 changes by sereneavatar
estonian: 30 changes by RM87
chinese (simplified): 3 changes by Kevin-mao0721
hungarian: 60 changes by titanicbobo
italian: 6 changes by Rivarossi
russian: 3 changes by Ln-Wolf, 3 changes by KorneySan
finnish: 6 changes by hpiirai
ukrainian: 7 changes by StepanIvasyn
latvian: 6 changes by lexuslatvia
portuguese: 37 changes by azulcosta
portuguese (brazilian): 19 changes by pasantoro
polish: 6 changes by SzyZuu
4 months ago
Tyler Trahan
677ec70b0e
Fix fd9e72a: Helptext for timekeeping unit setting erroneously refers to vehicle movement ( #12172 )
4 months ago
Jonathan G Rennison
07278a41e5
Fix narrowing conversion warnings in pool resize capacity calculation
4 months ago
Jonathan G Rennison
64be289942
Workaround: Replace use of std::filesystem in signature.cpp
...
Creates DWARF generation problem with LTO and -g1 on MinGW
4 months ago
Richard Wheeler
c25d9f5c81
Fix: Make link graph node borders scale with GUI ( #12167 )
4 months ago
Jonathan G Rennison
222832f1d4
Fix #12166 : Crash when opening tram road stop build window ( #12168 )
4 months ago
Jonathan G Rennison
0978bd18bf
Fix crash when opening tram road stop build window
...
See: https://github.com/OpenTTD/OpenTTD/issues/12166
4 months ago
translators
7135330819
Update: Translations from eints
...
vietnamese: 3 changes by KhoiCanDev
chinese (simplified): 5 changes by WenSimEHRP
hungarian: 63 changes by titanicbobo
belarusian: 47 changes by KorneySan
finnish: 2 changes by hpiirai
ukrainian: 25 changes by StepanIvasyn
danish: 38 changes by bscargo
portuguese (brazilian): 158 changes by pasantoro
4 months ago
Jonathan G Rennison
0fbb32403c
Add exponential behaviour to pool growth reallocation
4 months ago
SamuXarick
b22fb43cea
Fix #10490 : Allow ships to exit depots if another is not moving at the exit point ( #12161 )
4 months ago
frosch
fcad801685
Fix #12127 , 555a379: Truncation ellipses rendered shadows even for black font without shadows ( #12132 )
...
(cherry picked from commit bb86023d50
)
4 months ago
frosch
89b6773c93
Fix: Shadows of individual character glyphs could be drawn over other characters ( #12115 )
...
(cherry picked from commit 555a37930b
)
4 months ago
Jonathan G Rennison
d3bbb4fb1c
Adjust ordering of date/tick setup in InitializeGame
4 months ago
Jonathan G Rennison
b38321b9b4
Add setting to only spawn primary industries
4 months ago
Jonathan G Rennison
c7e95d5b03
Close graph windows when changing timekeeping mode
4 months ago
Peter Nelson
2b79e7cdf5
Fix b7630b0: Incorrect padding for text purchase list. ( #12160 )
...
Restore to original (and more normal) framerect padding.
4 months ago
frosch
bb86023d50
Fix #12127 , 555a379: Truncation ellipses rendered shadows even for black font without shadows ( #12132 )
4 months ago
Jonathan G Rennison
c511f93f24
Scheduled dispatch: Disable in wallclock mode if not using time in minutes
4 months ago
Jonathan G Rennison
d8ecb9c016
Use absolute display units for the departure board
4 months ago
Jonathan G Rennison
91d83335c7
Add helper to get timetable absolute display unit size
4 months ago
Jonathan G Rennison
33cbfc3e76
Cache current ticks per calendar day
4 months ago
Jonathan G Rennison
45b6079899
Add string code for absolute timetable time
4 months ago
Jonathan G Rennison
6b12539e3f
Implement StateTicksToCalendarDate for wallclock mode
4 months ago
Jonathan G Rennison
91b3e9c1ab
Initial support for relative timetabling in wallclock mode
4 months ago
Jonathan G Rennison
7581ce0010
Fix changing time keeping units incorrectly updating state ticks offset
4 months ago
Rubidium
4c117dd2d8
Revert #11993 : new number format system does not and cannot work for CJK languages
...
There are too many intricacies that I am unaware of that are popping up after
asking whether things are right or not.
I do not want to keep playing whack-a-mole, so just revert the whole thing.
This reverts:
15be383b93
360fe8b0b6
1aa9a5c0ab
59f56941e5
7e2eefb91f
b741b2ba6f
609d0071d5
9f8fd80112
a253205b93
819c6c756e
4 months ago
Jonathan G Rennison
bbd34bb6db
Increase information shown in getfulldate console command
4 months ago
Jonathan G Rennison
bd955c4117
Fix calendar day length in wallclock mode
...
See: https://github.com/OpenTTD/OpenTTD/issues/12154
4 months ago
translators
8015d96a50
Update: Translations from eints
...
english (au): 2 changes by krysclarke
spanish (mexican): 149 changes by Can202
estonian: 11 changes by RM87
chinese (simplified): 18 changes by WenSimEHRP
hungarian: 2 changes by PstasDev
italian: 195 changes by Rivarossi
serbian: 42 changes by nkrs
german: 2 changes by Wuzzy2
belarusian: 537 changes by KorneySan
russian: 25 changes by KorneySan
ukrainian: 21 changes by StepanIvasyn
turkish: 14 changes by jnmbk
latvian: 2 changes by lexuslatvia
dutch: 1 change by iamthedutchdude
spanish: 15 changes by MontyMontana
french: 2 changes by ottdfevr
portuguese: 2 changes by jcteotonio, 2 changes by azulcosta
portuguese (brazilian): 149 changes by pasantoro
polish: 2 changes by pAter-exe
4 months ago
Jonathan G Rennison
5605650e26
Saveload: Don't apply state ticks offset on load if not stored in save
4 months ago
Jonathan G Rennison
58f2e0cdf0
Clamp link graph compression ticks when loading old saves
4 months ago
Jonathan G Rennison
57a4586f08
Set flood from edges setting to false when loading old saves before then
4 months ago
Jonathan G Rennison
593a81d421
Saveload: Rename IsSavegameVersionUntil to IsSavegameVersionBeforeOrAt
...
To match upstream
4 months ago
Jonathan G Rennison
ea0fa2194a
Add debug console command to unblock bay road stops with incorrect occupancy state
4 months ago
Jonathan G Rennison
16d77d9268
Fix deleting road vehicle in bay stop not unmarking as occupied
4 months ago
Jonathan G Rennison
53b06a3d04
Add event flag for removing invalid RVs during load
4 months ago
Jonathan G Rennison
675b31887a
Saveload: Fix recalculation of _state_ticks
...
For XSLFI_VARIABLE_DAY_LENGTH versions 1 to 3
4 months ago
Jonathan G Rennison
f52d56249d
Saveload: Use table format for industry build data chunks
4 months ago
Jonathan G Rennison
0e262620d2
Saveload: Use table format for NewGRF/ID mapping chunks
4 months ago
Jonathan G Rennison
b3bd1bb5ad
Use upstream load for non-table script chunks
4 months ago
Jonathan G Rennison
a92377fe98
Use upstream save/load for various unchanged chunks
4 months ago
Jonathan G Rennison
b178be36f3
Saveload: Maintain map of chunk ID to (first byte) block mode
4 months ago
Jonathan G Rennison
dadbad2bfc
Saveload: Log changes in SlExecWithSlVersion
4 months ago
Jonathan G Rennison
6dec7a5b35
Saveload: Add PeekByte method to ReadBuffer
4 months ago
Jonathan G Rennison
bd2358f6cc
Saveload: Tidy up logging of chunk IDs
...
Add helper to dump chunk IDs as strings
Avoid duplicate logging of load steps for upstream load paths
4 months ago
Jonathan G Rennison
ba1fa3ad29
Saveload: Fix SlNullPointers with upstream chunks
4 months ago
Jonathan G Rennison
b58ecb0cd8
Saveload: Remove unnecessary auto-length use for tracerestrict
4 months ago
Jonathan G Rennison
8e8d698b24
Fix comment spelling errors
4 months ago
Rubidium
5d2e6e4efa
Fix #12148 , fca8166: Do not draw decimals when number of digits is 0
4 months ago
Jonathan G Rennison
ca146c8ddd
Fix #12145 : Incorrect date handling in date cheat in wallclock time-keeping mode
4 months ago
Jonathan G Rennison
409c073eca
Codefix: Off by one in TimerGameEconomy::ConvertDateToYMD wallclock mode
4 months ago
merni-ns
7bab2c1cc3
Fix #12119 : Remove red warning text when maximum loan is zero
4 months ago
Jonathan G Rennison
158fbe19f8
Fix missing includes
4 months ago
Jonathan G Rennison
1f08ea54e5
Script: Fix narrowing conversion warning
4 months ago
Jonathan G Rennison
aad6fadd7f
Fix noreturn tag in window crash log
4 months ago
Jonathan G Rennison
c2d581a928
Revert "Iconv: Ensure that OTTD2FS/FS2OTTD are thread-safe"
...
This reverts commit 94d326b1e0
.
4 months ago
Jonathan G Rennison
4469925605
Add missing typename specifier
4 months ago
Jonathan G Rennison
a7c7e3d618
Add missing includes for std::runtime_error
4 months ago
Loïc Guilloux
d310a04276
Fix #12133 : [Script] Don't crash when emergency saving ( #12138 )
...
(cherry picked from commit 25d1238907
)
4 months ago
Loïc Guilloux
5098c77c38
Fix: [Script] Only show debug script window at the end of savegame loading ( #12135 )
...
(cherry picked from commit 2d7ad9f717
)
4 months ago
Jonathan G Rennison
ff0d212705
Fix incorrect assert of LinkGraph LastCompression date
4 months ago
Jonathan G Rennison
69ae516353
Fix loading of depot unbunch bit from vanilla saves
4 months ago
Jonathan G Rennison
c637d376d0
Fix cb588d8d: Ordering of command per tick limit and pause mode filtering ( #12126 )
...
The command per tick limit should be applied after the pause mode filter
4 months ago
Jonathan G Rennison
37e6f36b1f
Fix off by one in wallclock mode ConvertDateToYMD
4 months ago
translators
bff69e192b
Update: Translations from eints
...
english (us): 24 changes by 2TallTyler
vietnamese: 13 changes by KhoiCanDev
estonian: 7 changes by RM87
german: 16 changes by Wuzzy2
belarusian: 328 changes by KorneySan
russian: 6 changes by KorneySan, 5 changes by Ln-Wolf
ukrainian: 9 changes by StepanIvasyn
catalan: 18 changes by J0anJosep
danish: 61 changes by bscargo
french: 8 changes by ottdfevr
portuguese: 29 changes by jcteotonio, 12 changes by azulcosta
portuguese (brazilian): 185 changes by pasantoro
polish: 1 change by pAter-exe
4 months ago
Jonathan G Rennison
79388e4207
Include dates and tick counters in state checksum
4 months ago
Jonathan G Rennison
24cd52616c
Add getter for calendar sub date fract
4 months ago
Jonathan G Rennison
f32eef4f38
Allow changing time-keeping mode in-game
4 months ago
Jonathan G Rennison
471934e685
Add a helper to get the number of days in a given calendar month
4 months ago
Loïc Guilloux
25d1238907
Fix #12133 : [Script] Don't crash when emergency saving ( #12138 )
4 months ago
Loïc Guilloux
2d7ad9f717
Fix: [Script] Only show debug script window at the end of savegame loading ( #12135 )
4 months ago
Jonathan G Rennison
6e10f01f59
Fix timetable durations when loading old saves
...
With version 1 of XSLFI_TT_WAIT_IN_DEPOT or without XSLFI_TIMETABLE_EXTRA
4 months ago
Jonathan G Rennison
0993622f09
Fix production cargo icon in industry window
4 months ago
Jonathan G Rennison
40f5f17e32
Tidy up focus management for vehicle dropdowns
4 months ago
Jonathan G Rennison
fc2f746b80
Increase river pathfinding node limit
4 months ago
Jonathan G Rennison
d512602369
Charge scripts for use of ScriptList::FillList
...
See: https://github.com/OpenTTD/OpenTTD/issues/12128
4 months ago
Jonathan G Rennison
351c607dad
Call ProcessScheduledResize from FinishInitNested
...
This is to make sure that OnResize is called at least once before
the window is first drawn, to set up scrollbar capacities, etc
See: d3c673e2
4 months ago
Damian Laczak
2aa574a48f
Fix #10983 : [AdminPort] Correct order of messages
...
(cherry picked from commit 49c3215751
)
4 months ago
Peter Nelson
5c35a87ed7
Fix a258833: Don't invalidate station list on vehicle load/unload. ( #12112 )
...
a258833
fixed a bug but as a result causes the station list to be rebuilt every time (once per game tick) a vehicle loads/unloads.
Instead just mark the window for redraw.
(cherry picked from commit f20d241e81
)
4 months ago
Koen Bussemaker
69af0e8f26
Codechange: Skip non-water water region patches in neigbor search
...
(cherry picked from commit 8a1cea2ab6
)
4 months ago
Jonathan G Rennison
a98a56669b
Merge branch 'master' into jgrpp
...
# Conflicts:
# regression/regression/result.txt
# src/autoreplace_cmd.cpp
# src/industry_gui.cpp
# src/landscape.cpp
# src/network/network_content.cpp
# src/newgrf_roadstop.cpp
# src/pathfinder/yapf/yapf_ship.cpp
# src/road_gui.cpp
# src/saveload/ai_sl.cpp
# src/saveload/saveload.h
# src/saveload/vehicle_sl.cpp
# src/station.cpp
# src/station_gui.cpp
# src/video/cocoa/cocoa_ogl.h
# src/video/sdl2_opengl_v.h
# src/video/video_driver.hpp
# src/video/win32_v.h
# src/widget_type.h
# src/widgets/dropdown.cpp
# src/widgets/dropdown_type.h
# src/window.cpp
4 months ago
Jonathan G Rennison
4097fc4e33
Saveload: Enable upstream mode SlAutolength
...
Use non-upstream implementation for SlCopyBytes
4 months ago
Jonathan G Rennison
8a85055c68
Saveload: Use std::span for autosave temporary buffer view
4 months ago
translators
f1bf39f38b
Update: Translations from eints
...
english (au): 12 changes by krysclarke
chinese (simplified): 84 changes by WenSimEHRP
russian: 13 changes by Ln-Wolf
finnish: 12 changes by hpiirai
ukrainian: 12 changes by StepanIvasyn
latvian: 19 changes by lexuslatvia
french: 1 change by ZarTek-Creole
portuguese (brazilian): 169 changes by pasantoro
polish: 12 changes by pAter-exe
4 months ago
Jonathan G Rennison
75dd135e8d
Merge tag '14.0-beta3' into jgrpp
...
# Conflicts:
# regression/regression/result.txt
# src/industrytype.h
# src/network/core/config.h
# src/network/core/network_game_info.cpp
# src/network/core/network_game_info.h
# src/network/core/packet.cpp
# src/network/core/packet.h
# src/network/core/tcp.cpp
# src/network/core/tcp.h
# src/network/core/tcp_admin.cpp
# src/network/core/tcp_content.cpp
# src/network/core/tcp_coordinator.cpp
# src/network/core/tcp_game.cpp
# src/network/core/tcp_game.h
# src/network/core/tcp_turn.cpp
# src/network/core/udp.cpp
# src/network/core/udp.h
# src/network/network_admin.cpp
# src/network/network_client.cpp
# src/network/network_client.h
# src/network/network_command.cpp
# src/network/network_content.cpp
# src/network/network_internal.h
# src/network/network_query.cpp
# src/network/network_query.h
# src/network/network_server.cpp
# src/network/network_server.h
# src/network/network_turn.cpp
# src/network/network_udp.cpp
# src/rail_gui.cpp
# src/road_gui.cpp
4 months ago
FedelloKirfed
2e3e93fe32
Update Galician Translations
...
(cherry picked from commit 10596e84cf
)
#653
4 months ago
Jonathan G Rennison
1040f9612f
Saveload: Tag duplicate detection in SlTableHeader as maybe unused
4 months ago
Jonathan G Rennison
a874bb70b1
Remove unused saveload desc in cheats_sl.cpp
4 months ago
Jonathan G Rennison
6ab1f9a416
Use CargoID instead of CargoSpec in town_production_cargoes
4 months ago
Jonathan G Rennison
19e4895ffd
Add cargo mask of town production cargoes
...
Use for all non-GUI cases (where display sort order is not required)
4 months ago
Jonathan G Rennison
8581808952
Merge tag '14.0-beta2' into jgrpp
...
# Conflicts:
# CMakeLists.txt
# src/cargotype.cpp
# src/console_cmds.cpp
# src/graph_gui.cpp
# src/industry_cmd.cpp
# src/industrytype.h
# src/misc_gui.cpp
# src/network/network_client.cpp
# src/newgrf.cpp
# src/newgrf_town.cpp
# src/object_cmd.cpp
# src/openttd.cpp
# src/pathfinder/water_regions.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/table/build_industry.h
# src/table/engines.h
# src/vehicle.cpp
# src/vehicle_cmd.cpp
# src/vehicle_gui.cpp
4 months ago
Jonathan G Rennison
c6893388ab
Fix order flags collision in OT_GOTO_DEPOT
...
Move depot wait is timetabled flag to xflags
4 months ago
Jonathan G Rennison
821c5970db
Disallow unbunching if auto-separation, scheduled dispatch or per-cargo full load
4 months ago
Jonathan G Rennison
f9e8a49df0
Auto-separation: Do not allow enabling if unbunching is present
...
Check for scheduled dispatch/unbunching in enable command
Show in button tooltip
4 months ago
Jonathan G Rennison
df2d4bd83c
Scheduled dispatch: Do not allow enabling if unbunching is present
...
Check for auto-separation/unbunching in enable command
Show in enable button tooltip and summary text
4 months ago
Jonathan G Rennison
0fd3f93310
Debug: Add unbunching state to debug info
4 months ago
Jonathan G Rennison
8f9783e7d3
Debug: Adjust vehicle debug text order/indentation
4 months ago
Jonathan G Rennison
fdd666f66a
Merge tag '14.0-beta1' into jgrpp
...
# Conflicts:
# src/3rdparty/squirrel/squirrel/sqcompiler.cpp
# src/aircraft.h
# src/animated_tile.h
# src/base_consist.h
# src/cargotype.h
# src/company_gui.cpp
# src/console_cmds.cpp
# src/core/overflowsafe_type.hpp
# src/engine_gui.cpp
# src/industry_gui.cpp
# src/lang/english.txt
# src/music/extmidi.cpp
# src/network/core/network_game_info.cpp
# src/network/network_server.cpp
# src/newgrf.cpp
# src/newgrf_industries.cpp
# src/order_base.h
# src/order_cmd.cpp
# src/order_gui.cpp
# src/order_type.h
# src/os/macosx/misc_osx.cpp
# src/os/windows/crashlog_win.cpp
# src/rail_gui.cpp
# src/rail_gui.h
# src/roadveh.h
# src/roadveh_cmd.cpp
# src/saveload/afterload.cpp
# src/saveload/company_sl.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/saveload/saveload_error.hpp
# src/script/api/script_town.cpp
# src/settingsgen/settingsgen.cpp
# src/ship.h
# src/ship_cmd.cpp
# src/smallmap_gui.cpp
# src/spritecache.cpp
# src/stdafx.h
# src/strgen/strgen.cpp
# src/strgen/strgen.h
# src/table/settings/script_settings.ini
# src/timetable_cmd.cpp
# src/timetable_gui.cpp
# src/town.h
# src/town_cmd.cpp
# src/town_cmd.h
# src/town_gui.cpp
# src/train.h
# src/train_cmd.cpp
# src/tree_cmd.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/vehicle_cmd.cpp
# src/vehicle_gui.cpp
# src/vehiclelist.cpp
# src/waypoint_base.h
# src/widget.cpp
4 months ago
Rubidium
a4d4301a0c
Codechange: We are heading to 15
4 months ago
translators
73bed054b8
Update: Translations from eints
...
english (au): 2 changes by krysclarke
korean: 5 changes by telk5093
russian: 2 changes by Ln-Wolf
tamil: 45 changes by Aswn
portuguese: 1 change by azulcosta
hindi: 85 changes by NisheshTyagi
portuguese (brazilian): 119 changes by pasantoro
4 months ago
Rubidium
15be383b93
Fix a253205: remove (now) unused currency separator
4 months ago
Tyler Trahan
4f1bc39bf7
Change: Show speed before destination in vehicle status bar ( #11932 )
4 months ago
Tyler Trahan
87a80c7ff2
Change: When adding orders, Ctrl+Click on a depot to unbunch, instead of service if required ( #12023 )
4 months ago
frosch
555a37930b
Fix: Shadows of individual character glyphs could be drawn over other characters ( #12115 )
4 months ago
Damian Laczak
49c3215751
Fix #10983 : [AdminPort] Correct order of messages
4 months ago
Peter Nelson
f20d241e81
Fix a258833: Don't invalidate station list on vehicle load/unload. ( #12112 )
...
a258833
fixed a bug but as a result causes the station list to be rebuilt every time (once per game tick) a vehicle loads/unloads.
Instead just mark the window for redraw.
4 months ago
Koen Bussemaker
8a1cea2ab6
Codechange: Skip non-water water region patches in neigbor search
4 months ago
Rubidium
360fe8b0b6
Fix a253205: division by zero when attempting to format some short currencies
4 months ago
Jonathan G Rennison
f0fdc882ea
Fix town action description texts in wallclock mode
4 months ago
translators
03e3553230
Update: Translations from eints
...
estonian: 15 changes by RM87
portuguese (brazilian): 42 changes by pasantoro
polish: 30 changes by pAter-exe
4 months ago
Peter Nelson
2ecc3c90f7
Change: Improve performance of finding free pool slots. ( #12055 )
...
Add a bitmap of used pool slots which allows finding a free pool slot without having to check if each index is already used or not.
Loosely based on a JGRPP patch.
4 months ago
Rubidium
1aa9a5c0ab
Update: Use proper number formats and abbreviations for Chinese, Japanese, Korean and German
4 months ago
Rubidium
59f56941e5
Update: Number format configuration based on old digitsep and STR_CURRENCY_SHORT_* values
4 months ago
Rubidium
7e2eefb91f
Cleanup: Remove digit group separators from strgen and languages
4 months ago
Rubidium
b741b2ba6f
Feature: Fully user configurable number format and abbreviations
4 months ago
Rubidium
609d0071d5
Change: Remove saving of digit group and decimal separator configurations from the savegame
4 months ago
Rubidium
e67fc33172
Codechange: Add support for NULL strings in SaveLoadCompat
4 months ago
Rubidium
9f8fd80112
Feature: Fully customisable number abbreviations per translation
4 months ago
Rubidium
a253205b93
Feature: Fully customisable number format per translation
4 months ago
Rubidium
819c6c756e
Codechange: Add support for number format and abbreviations pragmas/attributes to strgen
4 months ago
Rubidium
fca8166087
Codechange: Simplify FormatNumber by moving out zero fill and decimal support
4 months ago
Rubidium
a44bd81280
Codechange: Move determining the decimal separator to a separate function
4 months ago
Rubidium
f0c50ad529
Codechange: Add function to get the power of ten for a given number
4 months ago
Jonathan G Rennison
d4d6ad2dfc
Debug: Include various speed/acceleration values in vehicle debug window
4 months ago
Jonathan G Rennison
94d326b1e0
Iconv: Ensure that OTTD2FS/FS2OTTD are thread-safe
4 months ago
Jonathan G Rennison
838b166726
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/cheat_gui.cpp
# src/command.cpp
# src/command_func.h
# src/company_base.h
# src/debug.cpp
# src/debug.h
# src/economy.cpp
# src/engine_type.h
# src/graph_gui.cpp
# src/misc_cmd.cpp
# src/misc_cmd.h
# src/network/core/os_abstraction.cpp
# src/openttd.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/settings_type.h
# src/ship_cmd.cpp
# src/stdafx.h
# src/tests/bitmath_func.cpp
# src/town_cmd.cpp
# src/town_gui.cpp
4 months ago
Jonathan G Rennison
074447138c
Add method for whether calendar is frozen
4 months ago
rubidium42
8bccb5805a
Fix 0ca4b4e: Ctrl+Click style inconsistency in base language ( #12099 )
4 months ago
Jonathan G Rennison
7938844d1d
Vehicles age at calendar speed in wallclock mode
4 months ago
Jonathan G Rennison
b940fa9466
Do not scale shown running costs by the day length factor
...
Show in original years
4 months ago
translators
bb2446c058
Update: Translations from eints
...
welsh: 5 changes by Ansbaradigeidfran
estonian: 108 changes by siimsoni, 50 changes by RM87
luxembourgish: 276 changes by phreeze83
hungarian: 81 changes by PstasDev
indonesian: 6 changes by tsaqibfs
italian: 191 changes by AlphaJack
bulgarian: 118 changes by lamarin1
ukrainian: 16 changes by StepanIvasyn
tamil: 408 changes by Aswn
turkish: 43 changes by metsysma
esperanto: 103 changes by JadedCtrl
portuguese (brazilian): 57 changes by pasantoro
polish: 61 changes by pAter-exe
4 months ago
Jonathan G Rennison
3ec77973df
Fix setting callbacks when using setting_newgame console command
...
See: https://github.com/OpenTTD/OpenTTD/issues/12059
4 months ago