summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-16Codechange: Un-bitstuff goal and story page commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff town-related commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff group and autoreplace commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff remaining transport infrastructure commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff rail commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff station/depot/waypoint commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff vehicle/engine commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff timetable commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff order commands.Michael Lutz
2021-12-16Codechange: Add DoCommand::Post specialization for commands that take no ↵Michael Lutz
TileIndex. This adds a new Post overloads that still take a TileIndex which is used to place any error windows or text effects.
2021-12-16Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).Michael Lutz
2021-12-16Codechange: Template DoCommandPInternal.Michael Lutz
2021-12-16Codechange: Template script command calls.Michael Lutz
2021-12-16Codechange: Pass additional data as byte stream to command callbacks.Michael Lutz
2021-12-16Codechange: Template DoCommandP to automagically reflect the parameters of ↵Michael Lutz
the command proc. When finished, this will allow each command handler to take individually different parameters, obliviating the need for bit-packing.
2021-12-16Codechange: Template DoCommand to automagically reflect the parameters of ↵Michael Lutz
the command proc. When finished, this will allow each command handler to take individually different parameters, obliviating the need for bit-packing.
2021-12-16Codechange: Use wrapper struct to automatically manage command depth tracking.Michael Lutz
2021-12-16Codechange: Use lambdas instead of CommandContainer to manage station picker ↵Michael Lutz
commands.
2021-12-16Change: [Network] Transfer command data as serialized byte stream without ↵Michael Lutz
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.
2021-12-16Codechange: Make TileIndex a "strong" typedef to give it a distinct type.Michael Lutz
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.
2021-12-16Codechange: Align parameter order of command callbacks to command handlers.Michael Lutz
2021-12-16Codechange: Move command callback declarations to the cmd header files.Michael Lutz
2021-12-16Codechange: Move flags in CommandProc in front of the command arguments.Michael Lutz
2021-12-16Codechange: Let the compile generate the master command table out of ↵Michael Lutz
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.
2021-12-16Codechange: Declare our custom enum operators as constexpr.Michael Lutz
2021-12-16Codechange: Untangle command code, flags and error string for DoCommand*.Michael Lutz
2021-12-16Codechange: Move command arguments to the back of the networked command ↵Michael Lutz
function calls.
2021-12-16Codechange: Move command arguments to the back of the DoCommand function call.Michael Lutz
2021-12-16Fix: Template syntax error when using 'span' with a container type.Michael Lutz
2021-12-14Update: Translations from eintstranslators
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-12Fix: if vehicles only refit to cargo-slots >= 32, the default cargo was ↵frosch
wrong. (#9744)
2021-12-10Fix #9740: Fix loading of gamelog change items from savegame ver >= 294Jonathan G Rennison
2021-12-05Codechange: do not use all upper case enumerators in a scoped enumRubidium
2021-12-04Fix #9730: [Network] connections can use an invalid socket due to a race ↵Patric Stout
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-04Codechange: ensure OnConnect() always gets called with a valid socket (#9729)Patric Stout
This should already be the case, but now assert()s will tell us if this isn't.
2021-11-28Fix: Don't try to rename OWNER_DEITY signs in-game (#9716)Tyler Trahan
2021-11-27Update: Translations from eintstranslators
galician: 265 changes by pvillaverde indonesian: 8 changes by indrabagus spanish: 7 changes by MontyMontana
2021-11-26Update: Translations from eintstranslators
galician: 17 changes by pvillaverde
2021-11-22Update: Translations from eintstranslators
chinese (simplified): 2 changes by kurax
2021-11-20Fix: Insufficient input validation for CmdIndustryCtrl. (#9711)Michael Lutz
2021-11-20Update: Translations from eintstranslators
vietnamese: 2 changes by KhoiCanDev
2021-11-19Change: Make pf.yapf.rail_firstred_twoway_eol on by default (#9544)dP
2021-11-19Fix #8797: Use logical rail length when placing signals (#9652)dP
2021-11-19Fix: Update last servicing dates when using the date cheat (#9694)nchappe
2021-11-19Fix #9702: Display order window for vehicle group on ctrl-click only when ↵Bernard Teo
using shared orders (#9704)
2021-11-18Update: Translations from eintstranslators
greek: 2 changes by dionisis84 german: 2 changes by danidoedel
2021-11-16Codechange: Remove CargoSpec::multipliertowngrowth which is unused (#9701)Jonathan G Rennison
This is set by cargo property 19. This property is only implemented in TTDPatch.
2021-11-15Fix #9680: Recalculating aircraft positions before map array updates caused ↵Charles Pigott
crashes (#9699)
2021-11-13Fix: don't complain when the sprite font is missing glyphs. (#9692)frosch
Silently auto-pick a suitable font.
2021-11-12Update: Translations from eintstranslators
japanese: 1 change by akaregi dutch: 3 changes by Afoklala