Commit Graph

54215 Commits

Author SHA1 Message Date
Jonathan G Rennison
05ec32f577 Run water flooding at constant speed at day lengths >= 4
See: #482
2023-02-09 21:39:04 +00:00
Jonathan G Rennison
2fcb735d7b Fix build window column sizes after map generation
See: #483
2023-02-07 19:29:26 +00:00
Jonathan G Rennison
17f1d92072 Template replacement: Allow naming templates
See: #481
2023-02-06 23:48:46 +00:00
Jonathan G Rennison
6d91e8ce36 Template replacement: Fix various types 2023-02-06 23:34:14 +00:00
Jonathan G Rennison
8de7f75f0e Template replacement: Add missing owner checks in template commands 2023-02-06 23:07:28 +00:00
Jonathan G Rennison
07b7cc5652 Tracerestrict: Add condition whether reservation passes through tile 2023-02-06 19:54:14 +00:00
Michael Lutz
07c923eceb Feature: [NewGRF] Engine name callback.
(cherry picked from commit 05ed9f56fd)
2023-02-05 22:40:03 +00:00
Michael Lutz
5daaa45e4a Add: [NewGRF] Second vehicle property for additional callback flags.
(cherry picked from commit 2d73076056)
2023-02-05 22:40:03 +00:00
Michael Lutz
3fdf57cbd6 Change: [NewGRF] Extend the D8xx (DCxx) string area up to FFFF.
This adds the Exxx and Fxxx blocks to the usable range for NewGRF
local strings. TTDPatch uses these ranges for internal strings, but as
we don't support any of them anyway, it is "free" real estate for us.

(cherry picked from commit f5394ed2ef)
2023-02-05 22:40:03 +00:00
Jonathan G Rennison
9951c0dbd5 Documentation: Update NewGRF road stop docs 2023-02-05 18:06:57 +00:00
Jonathan G Rennison
1272bec13b Road stops: Add height property for build window preview 2023-02-05 17:40:14 +00:00
Jonathan G Rennison
91d736ace5 GRF: Fix ignorable unknown mapped road type and road stop properties 2023-02-05 16:07:23 +00:00
Jonathan G Rennison
ff0e779680 Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/czech.txt
#	src/order_backup.h
#	src/settings_internal.h
#	src/string.cpp
#	src/viewport.cpp
2023-02-04 11:37:45 +00:00
Jonathan G Rennison
9006a47104 Debug: Fix wrong drawing position of extension variables in debug window 2023-02-04 11:13:13 +00:00
Jonathan G Rennison
219e41b5d6 Debug: Enable inspecting non-GRF objects 2023-02-04 11:00:00 +00:00
Jonathan G Rennison
8999f9237b Documentation: Add link anchors and index for NewGRF NML additions 2023-02-03 17:06:03 +00:00
Jonathan G Rennison
e8dca9f220 Debug: Add time since load/unload to station debug info 2023-02-02 18:48:46 +00:00
Jonathan G Rennison
a90b4ad8b9 Adjust readme text for town bridge/tunnel settings 2023-01-30 01:15:18 +00:00
Jonathan G Rennison
5e37f86d09 Check result sprite group of RoadStopResolverObject in DrawTile_Station 2023-01-30 00:10:52 +00:00
Jonathan G Rennison
68cf9b02ec Version: Committing version data for tag: jgrpp-0.50.3 2023-01-29 23:10:26 +00:00
Loïc Guilloux
85a4308741 Fix #10361, fe30f66: Don't try to give saved data to a dead script (#10433)
(cherry picked from commit 07b40c02fe)
2023-01-29 22:53:07 +00:00
Jonathan G Rennison
9103426898 Fix water infrastructure accounting when building docks
See: https://github.com/OpenTTD/OpenTTD/issues/10419
2023-01-29 17:48:48 +00:00
Jonathan G Rennison
83880920fb Fix water infrastructure accounting when building ship depots
See: https://github.com/OpenTTD/OpenTTD/issues/10419
2023-01-29 17:48:48 +00:00
Jonathan G Rennison
6ca0f3fac3 Merge PR #480 into jgrpp 2023-01-29 16:12:31 +00:00
pvillaverde
0bd81ece35 Update Galician Language 2023-01-29 2023-01-29 16:13:06 +01:00
Jonathan G Rennison
d793a70dfe VarAction2: Fix reg tracking through previously handled procedures
See: #479
2023-01-29 14:55:10 +00:00
Jonathan G Rennison
87f8e56534 VarAction2: Fix applying station layout reg bits to multiple sprite groups
See: #479
2023-01-29 14:53:27 +00:00
Jonathan G Rennison
f3645cf629 Debug: Dump all station sprite groups, not just current resolved one 2023-01-29 14:14:17 +00:00
Jonathan G Rennison
eec398013e Debug: Show error groups in sprite dump in more detail mode 2023-01-29 12:37:57 +00:00
Jonathan G Rennison
7a7c688b11 Do not call ReInitAllWindows from within LoadStringWidthTable 2023-01-29 10:31:28 +00:00
Jonathan G Rennison
98d7ba8b9d Linkgraph: Early exit demand allocator in DT_MANUAL mode 2023-01-28 20:36:38 +00:00
SamuXarick
df89c34e03
Fix 7e1e275: Measure AI Collect Garbage performance (#9924) 2023-01-28 20:18:28 +01:00
translators
4a58d197ee Update: Translations from eints
japanese: 26 changes by Azusa257
vietnamese: 4 changes by KhoiCanDev
chinese (simplified): 4 changes by XiaoJi-Game
french: 8 changes by glx22
2023-01-28 18:44:03 +00:00
Rubidium
04d10b3d2d Codechange: instead of global pointer to stack variable, just put variable in that global
Removes one indirection and a dangling pointer to a stack location
2023-01-28 17:23:30 +01:00
Rubidium
d51d08ddcb Codechange: put stack variables in global variables for gamelog/crashlog 2023-01-28 17:23:30 +01:00
Rubidium
ed7685910d Codechange: pass large objects by reference instead of value
Especially when they get passed on directly to the next function or via a
constructor into an instance variable
2023-01-28 13:43:21 +01:00
Jonathan G Rennison
c80075b7cc Add setting and town override for whether towns can build bridges 2023-01-28 11:19:49 +00:00
Jonathan G Rennison
7701d4e813 Ensure secondary track type is valid when switching to dual mode by removing piece 2023-01-27 19:03:35 +00:00
translators
dbc666905d Update: Translations from eints
czech: 10 changes by jacobczsk
dutch: 4 changes by Afoklala
2023-01-27 18:45:27 +00:00
Jonathan G Rennison
4761750eae Fix asserts due to main window not existing yet
Partial revert of https://github.com/OpenTTD/OpenTTD/pull/10327
2023-01-27 17:56:17 +00:00
Rubidium
7e1d272397 Cleanup: remove unused static variables 2023-01-27 07:05:49 +01:00
Rubidium
00721787e1 Fix: wrong type for INVALID_LINK_GRAPH_JOB 2023-01-27 07:05:49 +01:00
Rubidium
755e41de9f Codechange: make rounding code clearer
-O1 already optimizes it to the original hand optimized magic code
2023-01-26 23:47:55 +01:00
Rubidium
71b46db8d0 Cleanup: remove commented out code 2023-01-26 23:47:55 +01:00
Rubidium
5863d78cb4 Codechange: use commented out code, or guard by #ifdef 2023-01-26 23:47:55 +01:00
Rubidium
ae422be979 Cleanup: remove/replace trailing ; with . in comments 2023-01-26 23:47:55 +01:00
Jonathan G Rennison
32fe84cfdd Merge branch 'master' into jgrpp
# Conflicts:
#	src/clear_cmd.cpp
#	src/main_gui.cpp
#	src/saveload/newgrf_sl.cpp
#	src/water_cmd.cpp
2023-01-26 22:32:08 +00:00
Henry Wilson
0b2567d882 Codechange: Remove shift as fast-forward key when _DEBUG is defined 2023-01-26 22:15:06 +01:00
SamuXarick
46dc6da270
Codechange: Make void tiles flood edge tiles, instead of edge tiles flooding themselves (#8517) 2023-01-26 21:57:25 +01:00
Peter Nelson
ede1201b6a Codechange: Rename override manager variables. 2023-01-26 21:39:16 +01:00