summaryrefslogtreecommitdiff
path: root/src/road_cmd.cpp
AgeCommit message (Collapse)Author
2008-05-14(svn r13090) -Codechange: add functions for direct conversion from ↵smatz
DiagDirection to Track and Trackbits
2008-05-08(svn r13016) -Codechange: unify the detection if rail catenary should be drawnsmatz
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works ↵smatz
in progress
2008-04-23(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station ↵rubidium
code.
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
2008-04-20(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpprubidium
2008-04-20(svn r12801) -Codechange: remove the dependency of function.h in town_map.hrubidium
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-13(svn r12682) -Fix [FS#1920]: removing road pieces from a town gave you twice ↵rubidium
the intended penalty.
2008-04-07(svn r12622) -Fix: infinite loop in case your compiler decides that enums ↵rubidium
are unsigned by default. Patch by Dominik.
2008-04-04(svn r12569) -Cleanup: variable scope and coding style in road*.cppsmatz
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-03-27(svn r12443) -Add: OpenTTDs version to openttd.cfg, just so we do not need ↵rubidium
to keep to ask people for their version number because it's likely they give you the wrong answer anyway.
2008-03-27(svn r12442) -Feature: Allow build leveled roads on slopes for the old aiskidd13
2008-03-27(svn r12440) -Fix [FS#1694]: Make the road building and road removing ↵skidd13
conditions more union -Feature: Allow to build/remove more road-piece combinations directly
2008-03-25(svn r12419) -Cleanup: of the internal road-piece building and removing.skidd13
2008-03-25(svn r12410) -Codechange: abstract out the test for catenary on electric railspeter1138
2008-03-12(svn r12363) -Fix: do not allow building 'zero' road bitssmatz
2008-02-27(svn r12290) -Fix[FS#1807]: Do not draw trees nor lamps between tram ↵belugas
tracks.(Roujin)
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-18(svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless ↵smatz
(spotted by michi_cc)
2008-02-18(svn r12183) -Codechange: give a better error message when building road ↵smatz
over existing road with vehicle on it, or do not fail at all
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-17(svn r12170) -Fix: do not draw trees along road and street lights under low ↵smatz
bridges (spotted by _minime_)
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-14(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), ↵frosch
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-14(svn r12138) -Fix: do not allow adding tram to rail-road crossing when there ↵smatz
is a vehicle on it
2008-02-10(svn r12103) -Feature(tte): separate catenary transparency settings from ↵smatz
building transparency settings
2008-02-09(svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through ↵smatz
road stops, ship depots and buoys too. Update owners of water and road.
2008-02-09(svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player ↵smatz
property to allow further fixes
2008-01-28(svn r11998) -Fix [FS#1692](r10053): possible remote assert by setting bit 6 ↵smatz
of p1 for CMD_REMOVE_ROAD
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-23(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditionssmatz
2008-01-23(svn r11953) -Fix (r11172): do not allow modifying roadbits when other ↵smatz
roadtypes would need different foundation
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-16(svn r11873) -Codechange: less a few magical numbers and a tiny bit more ↵belugas
comments on town zones
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11795) -Fix [FS#1616]: take town rating into account when testing if a ↵glx
command can be executed.
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 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
2008-01-03(svn r11750) -Revert (r11749): commited too muchglx