Commit Graph

57449 Commits

Author SHA1 Message Date
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
2024-02-17 11:53:35 +00:00
Jonathan G Rennison
074447138c Add method for whether calendar is frozen 2024-02-17 10:18:09 +00:00
Jonathan G Rennison
7938844d1d Vehicles age at calendar speed in wallclock mode 2024-02-16 20:23:23 +00:00
Jonathan G Rennison
b940fa9466 Do not scale shown running costs by the day length factor
Show in original years
2024-02-16 19:00:00 +00:00
Jonathan G Rennison
3ec77973df Fix setting callbacks when using setting_newgame console command
See: https://github.com/OpenTTD/OpenTTD/issues/12059
2024-02-16 18:25:47 +00:00
Jonathan G Rennison
bd74340416 Disable settings inapplicable for the current timekeeping mode 2024-02-16 17:55:49 +00:00
Jonathan G Rennison
75645b8563 Allow disabling a setting via guiproc 2024-02-16 17:55:49 +00:00
Jonathan G Rennison
c45bfccc2e Always use 27ms/tick in wallclock timing mode 2024-02-16 17:55:49 +00:00
Jonathan G Rennison
450c6b76d6 Ensure tile loop counts and cargo scalers updated when day length changed 2024-02-16 17:55:49 +00:00
Jonathan G Rennison
86a6f63e2f Merge branch 'master' into jgrpp
# Conflicts:
#	.github/workflows/ci-build.yml
#	.github/workflows/codeql.yml
#	.github/workflows/commit-checker.yml
#	.github/workflows/release-linux-legacy.yml
#	.github/workflows/release-linux.yml
#	.github/workflows/release-macos.yml
#	.github/workflows/release-windows-store.yml
#	.github/workflows/release-windows.yml
#	.github/workflows/upload-cdn.yml
#	.github/workflows/upload-gog.yml
#	.github/workflows/upload-steam.yml
#	src/console_cmds.cpp
#	src/core/math_func.hpp
#	src/fios.cpp
#	src/fios.h
#	src/intro_gui.cpp
#	src/network/network_server.cpp
#	src/openttd.cpp
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/settings_table.cpp
#	src/settings_type.h
#	src/table/settings.h.preamble
#	src/table/settings/company_settings.ini
#	src/table/settings/currency_settings.ini
#	src/table/settings/difficulty_settings.ini
#	src/table/settings/economy_settings.ini
#	src/table/settings/game_settings.ini
#	src/table/settings/gui_settings.ini
#	src/table/settings/linkgraph_settings.ini
#	src/table/settings/locale_settings.ini
#	src/table/settings/misc_settings.ini
#	src/table/settings/multimedia_settings.ini
#	src/table/settings/network_private_settings.ini
#	src/table/settings/network_settings.ini
#	src/table/settings/news_display_settings.ini
#	src/table/settings/old_gameopt_settings.ini
#	src/table/settings/pathfinding_settings.ini
#	src/table/settings/script_settings.ini
#	src/table/settings/win32_settings.ini
#	src/table/settings/window_settings.ini
#	src/table/settings/world_settings.ini
#	src/viewport.cpp
#	src/viewport_func.h
#	src/window.cpp
2024-02-15 23:49:11 +00:00
Jonathan G Rennison
cbde4b00ab Crashlog: Change ordering to put settings and command log before gamelog 2024-02-15 20:31:09 +00:00
Jonathan G Rennison
a48e15dce0 Add wallclock time settings 2024-02-15 20:31:09 +00:00
Jonathan G Rennison
58f8971f17 Add console command to get version information
See: #652
2024-02-15 18:43:27 +00:00
Jonathan G Rennison
53f86b3aab Allow using strong type with SetDParamMaxValue 2024-02-15 17:29:53 +00:00
Tyler Trahan
b5b12da91b Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603)
(cherry picked from commit bbdbf9a589)
2024-02-15 17:09:59 +00:00
Jonathan G Rennison
1f5b35fac4 Change link graph join and compression times to use scaled tick counter 2024-02-15 02:05:27 +00:00
Jonathan G Rennison
edbbaeb5d9 Add ScaledTickCounter type 2024-02-15 02:01:23 +00:00
Jonathan G Rennison
c5f026ba66 Fix multi-cargo ship capacity display in autoreplace and available ships windows 2024-02-14 23:24:02 +00:00
Jonathan G Rennison
b13b2781bd Add string codes for upstream wallclock mode, add upstream language changes 2024-02-14 23:22:28 +00:00
Jonathan G Rennison
fc40f485ff Fix changing the day length setting not immediately taking effect 2024-02-14 22:58:11 +00:00
Jonathan G Rennison
e98d9a1d1d Strings: Remove DATE_WALLCLOCK_* string codes, add TT_TIME 2024-02-13 22:08:15 +00:00
Jonathan G Rennison
7ce06e22b8 Split date types into calendar and economy dates
See: 735abfe1
2024-02-13 21:34:09 +00:00
Jonathan G Rennison
fad5ee56e7 Update fmt StrongType adapter 2024-02-13 20:16:05 +00:00
Jonathan G Rennison
5b38b874c5 Allow StrongType types in settings tables 2024-02-13 19:35:56 +00:00
Jonathan G Rennison
f02d04fa12 Debug: Add vehicle engine cargo load speed and cargo ageing factors 2024-02-13 17:27:28 +00:00
Jonathan G Rennison
5bf478a902 Zoning: Disable company-only overlay modes in spectator 2024-02-12 23:15:05 +00:00
Jonathan G Rennison
7460e73252 SaveLoad: Fix crash when joining network server which used GRF custom town zones 2024-02-12 23:08:01 +00:00
Jonathan G Rennison
7234cdd9fd Advance state ticks in the title menu game 2024-02-12 17:22:19 +00:00
Jonathan G Rennison
2f1d2a9f4b Survey: Don't transmit invalid realtime duration 2024-02-12 09:58:59 +00:00
Jonathan G Rennison
903adceab5 Maintain map of targeted road vehicles to small UFO disaster vehicle 2024-02-12 00:48:13 +00:00
Jonathan G Rennison
1e2834a422 Use upstream/table format for game log chunk 2024-02-11 16:34:03 +00:00
Jonathan G Rennison
0f7eb3d8d5 Add road vehicle direction to order window manage order dropdown 2024-02-11 12:36:33 +00:00
Jonathan G Rennison
b05738284b Windows: Avoid destruction of unjoined std::thread on ExitProcess
See: #649
2024-02-11 02:03:33 +00:00
Jonathan G Rennison
09b91260b7 Adjust Korean translation 2024-02-11 00:36:33 +00:00
TELK
9396eb36bc
Update: Missing Korean translation (#647)
* Update: Korean translation up to 0.57.0

* Update: Missing Korean translation
2024-02-11 00:35:01 +00:00
Jonathan G Rennison
c0a4169afd Include intrin.h in cpu.cpp for MSVC intrinsics 2024-02-11 00:30:35 +00:00
Jonathan G Rennison
3407b3edc0 Fix tile hash cache check warnings when loading very old savegames
See: #648
2024-02-10 23:17:08 +00:00
Jonathan G Rennison
11f75933bf Saveload: Use table format for DATE, VIEW, MAPS chunks
Merge MISC into DATE
2024-02-10 21:14:22 +00:00
Jonathan G Rennison
195b3b6d1d Saveload: Add initial table chunk support to non-upstream save backend 2024-02-10 21:11:27 +00:00
Jonathan G Rennison
5aaff39164 Fix wrong saveload types for std::string 2024-02-10 19:57:57 +00:00
Jonathan G Rennison
26e00d022a Fix crash when showing overwrite warning for a save with no readable version 2024-02-10 17:58:01 +00:00
Jonathan G Rennison
60e59a8233 Saveload: Add wrapper to simplify conditionally upstream chunks
Where they're always saved as upstream and conditional on a feature
2024-02-10 16:58:48 +00:00
Jonathan G Rennison
25e100a465 Calculate airport noise level in permissive mode as same as lenient 2024-02-10 12:47:25 +00:00
Jonathan G Rennison
2ef2142d95 Disable non-noise town airport limit in local authority permissive mode 2024-02-10 12:43:27 +00:00
Jonathan G Rennison
516e8defb5 Add wrappers to get and update the current effective day length factor 2024-02-09 19:39:58 +00:00
Jonathan G Rennison
db8b77a72e Remove empty DayLengthPreChange 2024-02-09 19:15:27 +00:00
Jonathan G Rennison
a6dcc0c624 Add messages from ShowNewGrfVehicleError to special events log 2024-02-09 18:50:49 +00:00
Jonathan G Rennison
130d9cb650 Fix crash when road vehicle changed length in drive-through road stop
Due to refit and incorrectly implemented NewGRF
2024-02-09 18:50:49 +00:00
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
2024-02-09 18:50:49 +00:00
Jonathan G Rennison
e1d629dba3 Also use custom sprite sorting for catenary pylons under bridges 2024-02-09 01:30:17 +00:00