summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-14Change: [Emscripten] update to 2.0.34 and use Release over RelWithDebInfo ↵Patric Stout
(#9696) It turns out that having "-g" in the compile-statement causes Emscripten to pick -g3, which makes for very big binaries. This is very likely not your intention when building Emscripten, as smaller really is better. For comparison, with RelWithDebInfo the binary is ~80MB. With Release it is ~7.4MB.
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
2021-11-11Add: Specify minimum version for macOS (#9689)Owen Rudge
2021-11-11Update: Translations from eintstranslators
russian: 2 changes by Ln-Wolf
2021-11-10Update: Translations from eintstranslators
tamil: 2 changes by Aswn
2021-11-10Change: Explicitly specify SHA1 for legacy code signing on WindowsOwen Rudge
2021-11-09Cleanup: Fix typo in overflowsafe_type commentTyler Trahan
2021-11-09Update: Translations from eintstranslators
english (us): 2 changes by 2TallTyler arabic (egypt): 49 changes by AviationGamerX korean: 17 changes by telk5093 catalan: 2 changes by J0anJosep danish: 4 changes by nielsmh french: 2 changes by glx22 portuguese: 2 changes by azulcosta
2021-11-08Update: Translations from eintstranslators
arabic (egypt): 35 changes by AviationGamerX
2021-11-08Fix #9579: Object and HQ construction is Construction cost, not Property ↵Tyler Trahan
Maintenance (#9673)
2021-11-07Update: add setting to hide news about competitors vehicle crash (#9653)Guillaume Renoult
2021-11-07Feature: Ctrl-click to remove fully autoreplaced vehicles from list (#9639)Tyler Trahan