Commit Graph

52717 Commits

Author SHA1 Message Date
Michael Lutz
549caca39c Codechange: Move command arguments to the back of the networked command function calls. 2021-12-16 22:28:32 +01:00
Michael Lutz
b6933a2ebd Codechange: Move command arguments to the back of the DoCommand function call. 2021-12-16 22:28:32 +01:00
Michael Lutz
39e8783f4b Fix: Template syntax error when using 'span' with a container type. 2021-12-16 22:28:32 +01:00
Jonathan G Rennison
17d949980f Fix assert fail when building virtual train from engine with invalid cargo 2021-12-15 17:50:40 +00:00
translators
0c90326ada Update: Translations from eints
swedish: 1 change by joeax910
chinese (traditional): 160 changes by Tetrapod1206
galician: 21 changes by pvillaverde
irish: 5 changes by temuchie
polish: 2 changes by pAter-exe
2021-12-14 18:49:17 +00:00
Jonathan G Rennison
7953a1f8d1 Allow setting autosave interval to a custom number of real-time minutes 2021-12-14 18:48:57 +00:00
Jonathan G Rennison
583663bca1 Allow setting autosave interval to a custom number of days 2021-12-14 18:08:06 +00:00
Jonathan G Rennison
670dbc739d Merge branch 'master' into jgrpp 2021-12-14 17:59:10 +00:00
Jonathan G Rennison
25e6997a21 Merge pull request #343 from geby/jgrpp
Fix some czech.lng statement to make sense.
2021-12-12 23:31:24 +00:00
frosch
bc22e9333e Fix: if vehicles only refit to cargo-slots >= 32, the default cargo was wrong. (#9744) 2021-12-12 17:35:41 +01:00
geby
1854dc87cc Fix some statement to make sense. 2021-12-12 16:43:54 +01:00
Jonathan G Rennison
762b656b53 Fix #9740: Fix loading of gamelog change items from savegame ver >= 294 2021-12-10 22:46:16 +01:00
Jonathan G Rennison
15b0231821 Debug: Add object intro and end of life dates to debug window 2021-12-10 19:49:00 +00:00
Jonathan G Rennison
8c8a129c23 Version: Committing version data for tag: jgrpp-0.44.2 2021-12-10 02:04:32 +00:00
Jonathan G Rennison
77d3be3d3b Fix loading of gamelog revision text in upstream savegame loader 2021-12-10 01:27:19 +00:00
Jonathan G Rennison
3d0b1a3b12 Fix loading of gamelog change items from savegame ver >= 294
See: https://github.com/OpenTTD/OpenTTD/issues/9740
2021-12-10 01:26:15 +00:00
Jonathan G Rennison
70ca147fa4 Merge PR #341 into jgrpp 2021-12-09 23:46:28 +00:00
pvillaverde
ebe0aec89a [Feat] Galician Translation 2021-12-09 23:42:13 +01:00
Jonathan G Rennison
69b6b388d6 On dedicated servers, save copy of last autosave on crash
This is to avoid all autosaves being overwritten when the server
is auto-restarted with a new map
2021-12-09 17:40:15 +00:00
Jonathan G Rennison
585c3fe9ca Add town and industry counts to dump_map_stats command 2021-12-08 17:34:34 +00:00
Jonathan G Rennison
b69521ea87 Allow specifying a custom number of industries in map generation window 2021-12-08 17:33:32 +00:00
Jonathan G Rennison
b807f0d50e Fix setting of object spec ctrl flags from GRF properties 2021-12-08 03:35:56 +00:00
Jonathan G Rennison
bfe7bbebd8 Documentation: Add object properties to NewGRF additions docs 2021-12-08 02:45:56 +00:00
Jonathan G Rennison
5349003ec4 Add assert checks to road type infra total changes 2021-12-07 02:30:08 +00:00
Jonathan G Rennison
0b45103eed Merge branch 'master' into jgrpp
# Conflicts:
#	src/network/core/tcp_connect.cpp
2021-12-06 19:33:36 +00:00
Jonathan G Rennison
4543803823 Crash log: Increase crash log length limit on Unix
Allocate buffer using mmap if possible
2021-12-06 18:58:19 +00:00
Jonathan G Rennison
90c672fc6d Crash log: Increase length limit for desync/inconsistency logs
Allocate buffer instead of using stack
2021-12-06 18:55:31 +00:00
Jonathan G Rennison
117eb6637d Fix OrderBackup::Reset in non-GUI case
See: https://github.com/OpenTTD/OpenTTD/issues/9735
2021-12-06 18:30:46 +00:00
Jonathan G Rennison
b75a633dc6 Add command log flag for whether order backups changed
See also: https://github.com/OpenTTD/OpenTTD/issues/9735
2021-12-06 18:19:49 +00:00
Jonathan G Rennison
54b7aa3d1b Add chicken bit for periodic signal infra total check
Set automatically if server detects signal infra mismatch
2021-12-06 01:58:03 +00:00
Jonathan G Rennison
2d71ec1c5a Bump savegame for object ground types 2021-12-05 21:46:09 +00:00
Jonathan G Rennison
de6cf4de24 Check blocking train reservation before removing signals in CmdRemoveSingleRail 2021-12-05 21:46:09 +00:00
Jonathan G Rennison
24fb390e9f Add NewGRF object property for flood-resistance
Does not imply being able to be built on water
2021-12-05 21:46:09 +00:00
Jonathan G Rennison
06fa1ae332 Add object shore/flooding support, adjust handling of foundations
Add info to debug window
2021-12-05 21:46:09 +00:00
Jonathan G Rennison
d9116106ca Add NewGRF object property for new edge foundation mode 2021-12-05 21:33:56 +00:00
Rubidium
ad89601c49 Codechange: do not use all upper case enumerators in a scoped enum 2021-12-05 21:41:43 +01:00
Jonathan G Rennison
2c8b462708 Debug: Add object view and colour to debug window 2021-12-05 17:41:36 +00:00
Jonathan G Rennison
c6bd01b2f2 Add an IsOddParity bitmath function 2021-12-05 17:40:42 +00:00
Jonathan G Rennison
ff714b7648 Add setting to disable "big GUI" NewGRFs 2021-12-05 13:40:56 +00:00
Jonathan G Rennison
924ffb013f Add NewGRF object property/flag to use land as object ground sprite
This handles variable ground densities, snow/desert, etc.
2021-12-05 11:54:13 +00:00
Patric Stout
ea4f6bb8b2 Fix #9730: [Network] connections can use an invalid socket due to a race condition
A race condition happens when an IPv6 connection takes more than
250ms to report an error, but does return before the IPv4 connection
is established.
In result, an invalid socket might be used for that connection.
2021-12-04 20:56:05 +01:00
Patric Stout
9c36c12c85 Codechange: ensure OnConnect() always gets called with a valid socket (#9729)
This should already be the case, but now assert()s will tell us
if this isn't.
2021-12-04 18:32:06 +01:00
Jonathan G Rennison
906fde15c7 Move NewGRF extension feature/property lists to separate file 2021-12-03 21:01:56 +00:00
Jonathan G Rennison
aaf5cd1091 Debug: Fix dumping of randomised sprite groups 2021-12-03 18:55:00 +00:00
Jonathan G Rennison
76fcfd3efd Debug: Add sprite dump support to NewGRF objects 2021-12-03 18:13:58 +00:00
Jonathan G Rennison
5d56d12bf3 Debug: Show object class/type IDs in object debug window 2021-12-03 17:04:48 +00:00
Jonathan G Rennison
4e25fa199c Add a "default" mode to TT autofill rounding setting, set as default
Use game ticks per minute or day ticks
2021-12-03 12:10:30 +00:00
Jonathan G Rennison
bc75c3af6f Debug: Show ObjectSpec flags and more fields in debug window 2021-12-03 03:23:54 +00:00
Jonathan G Rennison
431d33f149 Allow per-house town cargo generation to be truncated to 0
This effectively applies the town cargo scaling setting more strictly
2021-11-30 23:13:21 +00:00
Jonathan G Rennison
a8f879251b Debug: Allow inspecting non-GRF houses 2021-11-30 23:13:21 +00:00