summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
2008-03-04(svn r12334) -Codechange: Don't change road owner without DC_EXEC. Didn't ↵peter1138
affect anything in this case but is bad form.
2008-03-03(svn r12329) -Fix [FS#1819]: Disallow building level crossings over one-way ↵peter1138
roads as this allowed competitors to remove the one-way state.
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-18(svn r12179) -Codechange: use GetCrossingRailTrack() and ↵smatz
GetCrossingRailAxis() to improve code readability
2008-02-18(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so ↵smatz
there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-15(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of ↵frosch
DrawTileSprites into one PalSpriteID
2008-02-15(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into ↵frosch
one PalSpriteID
2008-02-15(svn r12145) -Codechange: includes should be at the top of the source filebelugas
-Codechange: undefine a defined macro once work is finished, just in case
2008-02-14(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), ↵frosch
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-12(svn r12125) -Codechange: Remove redundant signal lookup table, and document ↵peter1138
why normal electric signals are handled specially.
2008-02-10(svn r12098) -Fix: make snow appear on rail tiles dependant on track height, ↵smatz
not on height of the lowest part of the tile
2008-02-09(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player ↵smatz
property to allow further fixes
2008-01-25(svn r11984) -Fix: Also draw corner shores under rail tracks.frosch
2008-01-25(svn r11983) -Codechange: Add some helper functions for slopes and use them.frosch
2008-01-23(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use ↵smatz
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-17(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except ↵smatz
gameload and crossing construction) -Fix: crossing sound is bound to tile, not to vehicle
2008-01-17(svn r11908) -Fix: update crossing when merging a company, when building a ↵smatz
crossing and after loading older savegame
2008-01-17(svn r11898) -Fix: Update neighboured canals + signals when flooding ↵frosch
non-flat tiles, too.
2008-01-16(svn r11883) -Fix (r11864): assert when trying to remove rail from a house ↵smatz
or industry tile
2008-01-16(svn r11871) -Fix [FS#1074]: do not update signals after each tile when ↵smatz
building/removing a large block of track/signals/station
2008-01-15(svn r11864) -Codechange: pass owner whose signals we will update instead of ↵smatz
complex detection later
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very ↵smatz
long track -Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11791) -Cleanup: move railtype data into table/, like other data files.peter1138
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2008-01-04(svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is ↵smatz
determined at some places -Fix: adding road/tram to tram/road bridge was cheaper by one tile
2007-12-29(svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile ↵peter1138
layouts; forcing a sprite to always be opaque.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-28(svn r11715) -Fix: do not use GetTrackBits() for depots and waypoints while ↵smatz
converting railtype
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-17(svn r11657) -Fix: show better error message when trying to convert railsmatz
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
2007-12-16(svn r11649) -Codechange: some code can be simplified thanks to changes in ↵smatz
r11642
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-12-15(svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so ↵smatz
remove useless checks
2007-12-15(svn r11638) -Codechange: use faster check in SignalVehicleCheck for ↵smatz
tunnel/bridge
2007-12-08(svn r11603) -Fix [FS#1481]: make price for railtype conversion more realisticsmatz
2007-12-01(svn r11547) -Add: signal selection GUI for the ones that really like to use ↵rubidium
that over CTRL. Patch by BigBB.
2007-11-27(svn r11533) -Codechange: Rename some unclear clear_x prices member names.belugas
While at it, remove one unused entry on the clear_price_table array. It is based on ground type, and the unused one was referencing a non existing one.
2007-11-24(svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in ↵rubidium
non-canal water where canals should have been build.
2007-11-20(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename ↵skidd13
the remaining to fit with the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style