Jonathan G Rennison
26dc69ff13
Use a std::vector for Object::counts
2023-02-11 00:30:40 +00:00
Peter Nelson
c95a3be243
Change: Expose ObjectSpec vector to simplify iteration.
...
(cherry picked from commit 51b112139235c66c3adb2c3a75919fc1d3eff9fc)
2023-02-11 00:30:40 +00:00
Peter Nelson
74e4556a85
Codechange: Store objectspecs in std::vector instead of flat array.
...
(cherry picked from commit 1ae263c5467105820e4d770b3d57d25ba01e22b1)
2023-02-11 00:30:40 +00:00
Peter Nelson
d34e1bbbc1
Codechange: Bind objectspecs to classes once all finalised.
...
(cherry picked from commit 5f4a8f730b8982cbec7eec5e2331f0bc9217e69e)
2023-02-11 00:30:40 +00:00
Peter Nelson
9cda69cab1
Codechange: Use std::vector for NewGRF class lists.
...
(cherry picked from commit d61251a607b9b3f62023cc9dac3cb7bbe8c5ba19)
2023-02-11 00:30:40 +00:00
Jonathan G Rennison
43d58ce6c8
GRF: Extend EntityIDMapping/OverrideManagerBase to 16 bit entity IDs
2023-02-11 00:30:40 +00:00
Jonathan G Rennison
3396411b58
Fix 05ec32f5
: Savegame load check of DATE chunk
2023-02-10 18:16:00 +00:00
Jonathan G Rennison
483e3172af
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/core/strong_typedef_type.hpp
# src/gfx.cpp
# src/group_cmd.cpp
# src/industry_cmd.cpp
# src/map_func.h
# src/newgrf_debug_gui.cpp
# src/order_cmd.cpp
# src/pathfinder/follow_track.hpp
# src/rail_cmd.cpp
# src/road_cmd.cpp
# src/road_gui.cpp
# src/saveload/saveload.cpp
# src/screenshot.cpp
# src/smallmap_gui.cpp
# src/station_cmd.cpp
# src/strings.cpp
# src/tile_type.h
# src/timetable_gui.cpp
# src/town_cmd.cpp
# src/train_cmd.cpp
# src/viewport.cpp
2023-02-10 17:19:35 +00:00
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
translators
5a4f0498fe
Update: Translations from eints
...
hebrew: 6 changes by haimlm
catalan: 4 changes by J0anJosep
turkish: 7 changes by ahmetlii
2023-01-29 18:42:05 +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
Rubidium
8be908c919
Fix #10430 , Fix 6ba55e6
: display chain window causing assert
2023-01-29 18:11:38 +01: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
rubidium42
6ba55e663e
Codechange: do not hide variables with other variables
2023-01-29 07:21:34 +01:00
rubidium42
1951af07c0
Codechange: do not hide parameters with local variables
2023-01-29 07:21:34 +01:00
Jonathan G Rennison
98d7ba8b9d
Linkgraph: Early exit demand allocator in DT_MANUAL mode
2023-01-28 20:36:38 +00:00
Patric Stout
be0d65d978
Add: [Actions] upload releases to GOG automatically
2023-01-28 20:41:08 +01:00
Patric Stout
146bd74077
Change: [Actions] release Windows Store files to CDN
...
Currently they had a name that the rest of our system cannot
deal with correctly. "cert.pfx" is also not very descriptive from
a system as a whole.
As such, we now name it like any other file, so it can be published
safely to the CDN.
2023-01-28 20:41:08 +01:00
Patric Stout
425ba82676
Change: [Actions] split GitHub workflows into several smaller ones
2023-01-28 20:41:08 +01:00
Patric Stout
9fd88af537
Remove: [Actions] Ubuntu/Debian release binaries (instead, use the Generic)
2023-01-28 20:41:08 +01:00
Rubidium
f001e84e5e
Codechange: use RAII to automatically restore _cur_dpi after use
2023-01-28 20:33:02 +01:00
Rubidium
b7a5d8e296
Codechange: add annotation to selectively force inlining in debug build
2023-01-28 20:32:45 +01:00
SamuXarick
df89c34e03
Fix 7e1e275
: Measure AI Collect Garbage performance ( #9924 )
2023-01-28 20:18:28 +01:00