Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-16 | Codechange: Un-bitstuff vehicle/engine commands. | Michael Lutz | |
2021-12-16 | Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID). | Michael Lutz | |
2021-12-16 | Codechange: 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-16 | Codechange: 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-16 | Codechange: Move flags in CommandProc in front of the command arguments. | Michael Lutz | |
2021-12-16 | Codechange: 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-16 | Codechange: Move command arguments to the back of the networked command ↵ | Michael Lutz | |
function calls. | |||
2021-12-16 | Codechange: Move command arguments to the back of the DoCommand function call. | Michael Lutz | |
2021-09-18 | Fix: Prevent train reversing when wholly inside a train depot (#9557) | Patric Stout | |
Co-authored-by: Jonathan G Rennison <j.g.rennison@gmail.com> | |||
2021-08-15 | Fix 2183fd4d: [NewGRF] Use divide instead of right shift for signed numbers. ↵ | Michael Lutz | |
(#9480) "For negative a, the value of a >> b is implementation-defined (in most implementations, this performs arithmetic right shift, so that the result remains negative)." | |||
2021-08-15 | Feature: [NewGRF] Maximum curve speed modifier for rail vehicles (#9346) | Vít Šefl | |
2021-07-09 | Codechange: Remove FOR_EACH_SET_TRACK | glx22 | |
2021-05-29 | Codechange: Rename window related DeleteXXX to match new behaviour | glx22 | |
2021-05-29 | Codechange: move from C-string to std::string for DoCommand | rubidium42 | |
2021-05-27 | Fix: do not hide parameter by local variable with the same name | rubidium42 | |
2021-05-23 | Fix #9264: Do not attach temporary wagons to free wagon chains when ↵ | Jonathan G Rennison | |
autoreplacing | |||
2021-05-15 | Change: Use gender-neutral pronouns | rubidium42 | |
2021-02-20 | Codechange: rename sound ids to make more sense. (#8701) | frosch | |
2021-01-11 | Fix: don't allow free-wagon-chains to exceed max-train-length (#8533) | Patric Stout | |
This makes no sense, that a free-wagon-chain could be larger than the maximum length of a train, as you cannot put an engine in front of that anyway. And it prevents run-away AIs making very silly long free-wagon-chains. | |||
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2021-01-05 | Fix #7611: keeps news about accidents around after vehicle is cleaned up (#8497) | Patric Stout | |
When a vehicle is cleaned up, all news that points to the news is also removed. This was a bit evil, as it would also remove any news related to crashed, acting like the crash never happened. This left players a bit in the dark what was going on exactly. | |||
2021-01-05 | Codechange: create MutableSpriteCache to remove the need to cast Vehicle to ↵ | Matt Kimber | |
a mutable type in render methods | |||
2021-01-03 | Fix: GetCurveSpeedLimit needs railtype from current tile (#8466) | Andy | |
2019-12-21 | Codechange: Replace vehicle related FOR_ALL with range-based for loops | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-10 | Feature: Railtype flags to allow/disallow 90 degree curves. (#7352) | Michael Lutz | |
2019-02-21 | Fix #7159, e934f09: Waiting time at red one-way signals was too short. | Michael Lutz | |
This is not an exact fix as previously, the wait time was speed/acceleration dependant. This simple fix ignores that and just makes the 'days' from the settings comment to be actually days. | |||
2019-01-31 | Cleanup: [NPF] Remove unused parameter. | J0an Josep | |
2019-01-31 | Cleanup: [NPF] Remove unused parameters. | J0an Josep | |
2019-01-12 | Codechange #5859: Simplify CheckTrainStayInDepot() (#7045) | Joan Josep | |
2019-01-09 | Fix: Don't increase motion counter while train is waiting at non-path ↵ | Andy | |
signals (Author: frosch123) #5877 (#7018) | |||
2018-10-31 | Codechange: Some more null checks | Charles Pigott | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-07-19 | Feature: Framerate display window (#6822) | Niels Martin Hansen | |
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command. | |||
2018-06-14 | Fix: Prevent ships moving into docks after finishing (un)loading. (#6791) | PeterN | |
2018-05-22 | Change: Remove direction parameter from Vehicle::UpdateDeltaXY. (#6792) | PeterN | |
The value is either unused or always the same as this->direction. | |||
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2017-03-20 | (svn r27811) -Change: Remove unused parameters in FreeTrainTrackReservation | peter1138 | |
FreeTrainTrackReservation is always called with INVALID_TILE and INVALID_TRACKDIR as second and third arguments, so remove them and just use those constants instead. (cirdan) | |||
2017-03-20 | (svn r27809) -Codechange: Improve check in UpdateLevelCrossing | peter1138 | |
In UpdateLevelCrossing, checking if a level crossing is reserved is cheaper than finding trains on it or approaching it, so do it first. (cirdan) | |||
2016-10-16 | (svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw. | frosch | |
2016-10-16 | (svn r27666) -Codechange: Pass vehicle sprites around using a struct ↵ | frosch | |
VehicleSpriteSeq. | |||
2016-10-16 | (svn r27663) -Codechange: Deduplicate code when rotating crashed vehicles. | frosch | |
2016-05-22 | (svn r27580) -Fix [FS#6395]: Set date of last service on construction also ↵ | frosch | |
for wagons and articulated parts. | |||
2015-10-30 | (svn r27419) -Fix [FS#6369]: CmdSellRailWagon did not revert all actions ↵ | frosch | |
properly when no orderlist could be allocated. (Juanjo) |