summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
2007-10-26(svn r11343) -Fix[FS#1368]: Autoslope did not work correctly for single ↵belugas
track on higher part of steep slopes. (frosch)
2007-10-20(svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by ↵rubidium
frosch.
2007-10-20(svn r11319) -Add: halftile- and anti-zig-zag-foundations. Patch by frosch.rubidium
2007-10-20(svn r11313) -Codechange: prepare several pieces of code so the can handle ↵rubidium
some new slopes. Patch by frosch.
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-10-14(svn r11265) -Feature: Make more advanced rail types more expensive to build.maedhros
2007-10-09(svn r11237) -Codechange: reduce code duplication between ↵rubidium
GetRailFoundation() and CheckRailSlope(). Patch by frosch.
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-09-26(svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in ↵rubidium
depots when converting it from elrail -> normal rail. Patch by smatz.
2007-09-19(svn r11128) -Fix: a lot of graphical glitches by changing some bounding ↵rubidium
boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-14(svn r11107) -Feature: some tool so one can still build tunnels under rails ↵rubidium
(and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
2007-09-08(svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions ↵rubidium
of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ.
2007-08-30(svn r11005) -Codechange: move the tiletype specific terraforming checks to ↵rubidium
the functions for those tile types. -Codechange: barren the rail grounds on terraforming.
2007-08-30(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and ↵rubidium
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-16(svn r10922) -Codechange: Allow building and removing tracks and signals ↵maedhros
when there is a train on a parallel diagonal track that doesn't interact with this one. (frosch)
2007-08-02(svn r10758) -Codechange: make the depot struct use the pool item class as ↵rubidium
super class.
2007-07-30(svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for ↵peter1138
collision detection on bridges/tunnels.
2007-07-29(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word ↵rubidium
"road" everywhere except in the tile type.
2007-07-26(svn r10698) -Codechange [FS#1082]: simplify the code related to ↵rubidium
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-07-26(svn r10696) -Codechange: remove duplication of the "make sprite ↵rubidium
transparent" code.
2007-07-23(svn r10659) -Codechange: updated documentation around ↵truelight
RAIL_GROUND_FENCE_VERT[12] (frosch) -Codechange: added documentation and SPR_ enums for track fences (frosch)
2007-07-16(svn r10601) -Codechange: store (and use) the type of stations instead of ↵rubidium
hardcoding station types by graphics IDs.
2007-07-04(svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl ↵peter1138
when dragging signals. Signals will continue following track until an existing signal, junction or station are reached. This currently replaces the existing use of ctrl-drag for changing existing signal type.
2007-07-04(svn r10432) -Codechange: use existing function instead of data duplicationpeter1138
2007-06-24(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on ↵rubidium
fixing FS#119.
2007-06-21(svn r10246) -Fix (r10297): some forgotten money conversions and truncation ↵rubidium
issues. Thanks to benc for providing the patch.
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).rubidium
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-03(svn r10030) -Fix [FS#823]: one could build on (some) slopes when building ↵rubidium
on slopes was disabled.
2007-05-31(svn r10006) -Fix (FS#362): allow different signal types on one tileglx
2007-05-30(svn r9988) -Codechange: remove the last direct map accesses, except the ↵rubidium
ones needed for the savegame saving/loading mechanisms.
2007-05-28(svn r9960) -Fix [FS#813]: road wasn't properly added when overbuilding a ↵rubidium
tram rails with normal rails to for a crossing.
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-05-20(svn r9892) -Codechange: lots of ground work for allowing multiple types of ↵rubidium
"road" with multiple owners on a single tile.
2007-05-07(svn r9805) -Codechange: Use HASBIT() et al for display options bits.peter1138
2007-04-18(svn r9669) -Documentation: some more doxygen fixesbelugas
2007-04-17(svn r9664) -Documentation: Doxygen corrections,errors and omissionsbelugas
2007-04-12(svn r9602) -Fix (r5833): Building rail on steep slopes ignored ↵peter1138
build_on_slopes patch setting.
2007-04-06(svn r9568) -Documentation: doxygen and comment changes: Root of src is ↵belugas
finally done. Now, time to start clearing as much as possible
2007-04-05(svn r9563) -Feature: Add more finer control to transparency options, ↵peter1138
including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-04-01(svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, ↵belugas
and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words
2007-03-28(svn r9523) -Cleanup: doxygen changes. Time to take care of "R"belugas
2007-03-24(svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail ↵celestar
functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-20(svn r9371) -Feature: Add support for variable snow lines in the arctic ↵maedhros
climate, supplied by newgrf files. When this is enabled forests cannot be built below the highest snow line, and farms can't be built above it. Houses still use the _opt.snow_line so they are all consistent, so to make them respect the snowline you may want to use some newhouses features as well.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-02(svn r8966) -Codechange: replace some if-cascades by switches.rubidium