summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-16Codechange: Don't use a global for the terrforming error tile.Michael Lutz
2021-12-16Codechange: Don't use a global for the 'not enough cash' message.Michael Lutz
2021-12-16Codechange: Don't use globals for return values from vehicle command procs.Michael Lutz
2021-12-16Codechange: Don't use globals for story/goal/sign/group command proc return ↵Michael Lutz
values.
2021-12-16Codechange: Add support for additional command result values.Michael Lutz
2021-12-16Codechange: Pass unpacked command arguments to command callbacks (except ↵Michael Lutz
Script).
2021-12-16Codechange: Template the command callback function type to allow unpacked ↵Michael Lutz
arguments.
2021-12-16Codechange: Un-bitstuff all remaining commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff the remaining on-map commands.Michael Lutz
2021-12-16Codechange: Un-bitstuff landscape commands.Michael Lutz
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