Michael Lutz
21675ec7e2
Codechange: Un-bitstuff vehicle/engine commands.
3 years ago
Michael Lutz
2637c06f88
Codechange: Un-bitstuff timetable commands.
3 years ago
Michael Lutz
211c630cbe
Codechange: Un-bitstuff order commands.
3 years ago
Michael Lutz
de45a8729c
Codechange: Add DoCommand::Post specialization for commands that take no TileIndex.
...
This adds a new Post overloads that still take a TileIndex which
is used to place any error windows or text effects.
3 years ago
Michael Lutz
4f3ea3907e
Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).
3 years ago
Michael Lutz
ccefa76a46
Codechange: Template DoCommandPInternal.
3 years ago
Michael Lutz
6691ee3b96
Codechange: Template script command calls.
3 years ago
Michael Lutz
eab18f06a4
Codechange: Pass additional data as byte stream to command callbacks.
3 years ago
Michael Lutz
0f64ee5ce1
Codechange: Template DoCommandP to automagically reflect the parameters of the command proc.
...
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
3 years ago
Michael Lutz
e740c24eb7
Codechange: Template DoCommand to automagically reflect the parameters of the command proc.
...
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
3 years ago
Michael Lutz
c88b104ec6
Codechange: Use wrapper struct to automatically manage command depth tracking.
3 years ago
Michael Lutz
996b16de70
Codechange: Use lambdas instead of CommandContainer to manage station picker commands.
3 years ago
Michael Lutz
a05fd7aa50
Change: [Network] Transfer command data as serialized byte stream without fixed structure.
...
The data will be transmitted as the length followed by the serialized data. This allows the command
data to be different for every command type in the future.
3 years ago
Michael Lutz
b0990fcff7
Codechange: Make TileIndex a "strong" typedef to give it a distinct type.
...
This is accomplished by changing it to a single member struct with the
appropriate operator overloads to make it all work with not too much
source modifications.
3 years ago
Michael Lutz
4fc055d6e9
Codechange: Align parameter order of command callbacks to command handlers.
3 years ago
Michael Lutz
123c7f99c3
Codechange: Move command callback declarations to the cmd header files.
3 years ago
Michael Lutz
7048e1522f
Codechange: Move flags in CommandProc in front of the command arguments.
3 years ago
Michael Lutz
33ca4f2b99
Codechange: Let the compile generate the master command table out of templated command traits.
...
This is using a non-intrusive type-traits like templated system, which
allows compile-time validation that the command table and the command
enum match up.
3 years ago
Michael Lutz
5ddfdc8516
Codechange: Declare our custom enum operators as constexpr.
3 years ago
Michael Lutz
a38bbefe1b
Codechange: Untangle command code, flags and error string for DoCommand*.
3 years ago
Michael Lutz
549caca39c
Codechange: Move command arguments to the back of the networked command function calls.
3 years ago
Michael Lutz
b6933a2ebd
Codechange: Move command arguments to the back of the DoCommand function call.
3 years ago
Michael Lutz
39e8783f4b
Fix: Template syntax error when using 'span' with a container type.
3 years ago
Jonathan G Rennison
17d949980f
Fix assert fail when building virtual train from engine with invalid cargo
3 years ago
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
3 years ago
Jonathan G Rennison
7953a1f8d1
Allow setting autosave interval to a custom number of real-time minutes
3 years ago
Jonathan G Rennison
583663bca1
Allow setting autosave interval to a custom number of days
3 years ago
Jonathan G Rennison
670dbc739d
Merge branch 'master' into jgrpp
3 years ago
Jonathan G Rennison
25e6997a21
Merge pull request #343 from geby/jgrpp
...
Fix some czech.lng statement to make sense.
3 years ago
frosch
bc22e9333e
Fix: if vehicles only refit to cargo-slots >= 32, the default cargo was wrong. ( #9744 )
3 years ago
geby
1854dc87cc
Fix some statement to make sense.
3 years ago
Jonathan G Rennison
762b656b53
Fix #9740 : Fix loading of gamelog change items from savegame ver >= 294
3 years ago
Jonathan G Rennison
15b0231821
Debug: Add object intro and end of life dates to debug window
3 years ago
Jonathan G Rennison
8c8a129c23
Version: Committing version data for tag: jgrpp-0.44.2
3 years ago
Jonathan G Rennison
77d3be3d3b
Fix loading of gamelog revision text in upstream savegame loader
3 years ago
Jonathan G Rennison
3d0b1a3b12
Fix loading of gamelog change items from savegame ver >= 294
...
See: https://github.com/OpenTTD/OpenTTD/issues/9740
3 years ago
Jonathan G Rennison
70ca147fa4
Merge PR #341 into jgrpp
3 years ago
pvillaverde
ebe0aec89a
[Feat] Galician Translation
3 years ago
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
3 years ago
Jonathan G Rennison
585c3fe9ca
Add town and industry counts to dump_map_stats command
3 years ago
Jonathan G Rennison
b69521ea87
Allow specifying a custom number of industries in map generation window
3 years ago
Jonathan G Rennison
b807f0d50e
Fix setting of object spec ctrl flags from GRF properties
3 years ago
Jonathan G Rennison
bfe7bbebd8
Documentation: Add object properties to NewGRF additions docs
3 years ago
Jonathan G Rennison
5349003ec4
Add assert checks to road type infra total changes
3 years ago
Jonathan G Rennison
0b45103eed
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/network/core/tcp_connect.cpp
3 years ago
Jonathan G Rennison
4543803823
Crash log: Increase crash log length limit on Unix
...
Allocate buffer using mmap if possible
3 years ago
Jonathan G Rennison
90c672fc6d
Crash log: Increase length limit for desync/inconsistency logs
...
Allocate buffer instead of using stack
3 years ago
Jonathan G Rennison
117eb6637d
Fix OrderBackup::Reset in non-GUI case
...
See: https://github.com/OpenTTD/OpenTTD/issues/9735
3 years ago
Jonathan G Rennison
b75a633dc6
Add command log flag for whether order backups changed
...
See also: https://github.com/OpenTTD/OpenTTD/issues/9735
3 years ago
Jonathan G Rennison
54b7aa3d1b
Add chicken bit for periodic signal infra total check
...
Set automatically if server detects signal infra mismatch
3 years ago