summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-01-04Fix #9766: Don't write uninitialised data in config file (#9767)Loïc Guilloux
2022-01-01Codechange: Extend DrawSpriteToRgbaBuffer to work with 8bpp blitters.Michael Lutz
2022-01-01Codechange: [OSX] Simplify touchbar button data definition.Michael Lutz
2022-01-01Fix #9743: [OSX] Only (re-)create touchbar sprites when requested by the ↵Michael Lutz
main loop.
2022-01-01Fix #9743: [OSX] Don't try to render touchbar sprites with invalid zoom level.Michael Lutz
2022-01-01Change: [OSX] Allow touchbar usage on all supported OS versions.Michael Lutz
Touchbar support was introduced in 10.12.2. There's no need to limit support to 10.15+, as the convenience class NSButtonTouchBarItem is easily replicated.
2021-12-30Fix #9774: CmdBuildRoadStop updated station acceptance in estimate modeJonathan G Rennison
2021-12-29Update: Translations from eintstranslators
chinese (traditional): 25 changes by Tetrapod1206 italian: 12 changes by federico1564S
2021-12-28Update: Translations from eintstranslators
portuguese (brazilian): 2 changes by Vimerum
2021-12-22Update: Translations from eintstranslators
czech: 6 changes by vladoschreiner hungarian: 5 changes by pnpBrumi
2021-12-21Update: Translations from eintstranslators
norwegian (bokmal): 4 changes by Anolitt
2021-12-20Fix #9756: Network command unpack proc was not generated in all cases.Michael Lutz
The case where the callback proc takes all command results but not any of the command parameters was not handled properly.
2021-12-20Fix: Suppress vehicle age warnings for stopped vehiclesTyler Trahan
2021-12-20Change: [Admin] Bump admin port protocol due to command changes.Michael Lutz
docs/admin_network.md promised that information in an admin packet is never removed. It does allow the possibility of using a new packet type for changed data in combination with a bump of the admin port version. As the recent command handling changes modified the contents of ADMIN_PACKET_SERVER_CMD_LOGGING, do exactly that.
2021-12-20Codechange: [Script] Prettify squirrel call helpers by using C++17.Michael Lutz
2021-12-19Fix #9735: Fix OrderBackup::Reset in non-GUI caseJonathan G Rennison
2021-12-19Cleanup #9725: Clean up Doxygen docs and fix typo. (#9753)Joan Josep
2021-12-16Codechange: Don't generate CommandPacket unpack functions for invalid ↵Michael Lutz
cmd/callback combinations. If the arguments of the callback proc don't match with the command parameters, we can't do the proper command execution anyway. As such, don't even generate an unpack function in the first place, saving a bit of unnecessary code bloat. Validate on receive that the cmd/callback combination is supported, rejecting clients that try to send invalid values.
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