Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-16 | Codechange: Un-bitstuff landscape commands. | Michael Lutz | |
2021-12-16 | Codechange: Un-bitstuff rail commands. | Michael Lutz | |
2021-12-16 | Codechange: Un-bitstuff station/depot/waypoint commands. | Michael Lutz | |
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 DoCommand function call. | Michael Lutz | |
2021-09-26 | Change: Allow all tiles around docks to be docking tiles (#9578) | Loïc Guilloux | |
2021-09-18 | Fix #9521: Don't load at just removed docks that were part of a multi-dock ↵ | SamuXarick | |
station (#9524) | |||
2021-08-20 | Change: [Linkgraph] Delete links only served by vehicles stopped in depot | Nicolas Chappe | |
A stale link is not deleted if the link refresher finds a vehicle that still serves it. This commit excludes vehicles stopped in depot for a very long time from the link refresher, so that their stale links can be deleted. | |||
2021-08-18 | Fix 659989af45: Set appropriate town window dirty when building/removing ↵ | Joan Josep | |
airports. (#9497) | |||
2021-08-17 | Feature: [Linkgraph] Prioritize faster routes for passengers, mail and ↵ | Nicolas Chappe | |
express cargo Passengers usually prefer fast paths to short paths. Average travel times of links are updated in real-time for use in Dijkstra's algorithm, and newer travel times weigh more, just like capacities. | |||
2021-08-01 | Fix: Use of unstable sort when distributing cargo production can cause desyncs | dP | |
2021-07-09 | Codechange: Remove FOR_EACH_SET_BIT | glx22 | |
2021-06-13 | Codechange: convert printf DEBUG statements to fmt Debug statements | rubidium42 | |
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-29 | Codechange: let IsUnique.* functions accept std::string | rubidium42 | |
2021-05-27 | Fix: do not hide parameter by local variable with the same name | rubidium42 | |
2021-05-15 | Change: Use gender-neutral pronouns | rubidium42 | |
2021-05-13 | Codechange: Replace TILE_AREA_LOOP with range-based for loops | glx22 | |
2021-05-03 | Codechange: Replace FOR_ALL_ROADTRAMTYPES with range-based for loops | glx22 | |
2021-05-03 | Fix #9113: Assertion failure when removing airport with order backup (#9182) | Jonathan G Rennison | |
2021-05-02 | Codechange: Use std::vector for NewGRF station tile sprite layouts. | Peter Nelson | |
2021-05-02 | Codechange: Use std::vector for NewGRF station platform layouts. | Peter Nelson | |
This avoids the need to custom memory management and additional members. This also resolves use-after-free if modifying copied layouts, so presumably nobody has ever done that. | |||
2021-04-29 | Codechange: Replace FOR_ALL_CARGOSPECS with range-based for loops | glx22 | |
2021-03-07 | Fix #8809: Crash when removing airport when hangar window open | Jonathan G Rennison | |
2021-02-05 | Codechange: Apply coding style (#8640) | SamuXarick | |
* Fix: Missing or needed spaces * Codechange: Remove space * Codechange: Remove space * Codechange: More missing spaces * Codechange: Missing spaces * Codechange: Remove space * Codechange: Remove space | |||
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2021-01-07 | Fix 0125892: Warning about unsigned unary minus | SamuXarick | |
2021-01-07 | Fix #7945: Add cost of clearing the sloped tile when placing a dock (#7947) | SamuXarick | |
2020-12-28 | Fix #8297: Infrastructure counters for road tunnels, bridges, depots … (#8454) | gooball | |
The previous fix 887e9481ff0e70df6bf93ce15a3899a03f124c50 only worked for roads and failed to consider a multiplier used for the infrastructure totals for tunnels/bridges. Also, depots and bus/truck stops are counted as 2 road pieces on creation but were only counted as 1 road piece on conversion because the function DiagDirToRoadBits() was used, which only ever returns single-piece road segments. Co-authored-by: A. S <admin-git@sotai.tk> | |||
2020-12-27 | Codechange: Replace FOR_VEHICLE_ORDERS with range-based for loops | glx22 | |
2020-12-22 | Feature: Set exclusive access to industry from GS (#8115) | Pavel Stupnikov | |
2020-05-21 | Codechange: Use std::string for most of the user-settable custom names. | Michael Lutz | |
2020-05-13 | Fix #8137: New clients can't join (desync) after funding an industry | dP | |
2020-05-13 | Codechange: Refactor FindStationsAroundTiles to avoid code duplication | dP | |
2020-04-12 | Fix #8081: Check for waypoints when removing docking tiles | glx | |
2020-02-22 | Fix f5381798: Station::GetTileArea reduced docks to a single tile (#8014) | SamuXarick | |
2020-02-06 | Fix d84b67e5: Station rating effects affecting too large area | Niels Martin Hansen | |
2020-01-12 | Codechange: Cache resolved town, station and industry name strings | Jonathan G Rennison | |
2020-01-12 | Feature: Improved logic of sharing industry production between 3 or more ↵ | dP | |
stations | |||
2019-12-24 | Codechange: Use KDTree for AirportGetNearestTown (#7424) | SamuXarick | |
2019-12-21 | Codechange: Replace FOR_ALL_TOWNS with range-based for loops | glx | |
2019-12-21 | Codechange: Replace vehicle related FOR_ALL with range-based for loops | glx | |
2019-12-21 | Codechange: Replace order related FOR_ALL with range-based for loops | glx | |
2019-12-21 | Codechange: Replace station related FOR_ALL with range-based for loops | glx | |
2019-12-08 | Fix: Infrastructure total update when removing tram road stop | Jonathan G Rennison | |
The wrong road owner was used when updating the tram infrastructure total. This could result in desyncs, negative infrastructure totals, etc. | |||
2019-12-01 | Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849) | Niels Martin Hansen | |
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined. By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time. | |||
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |