summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
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 r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
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 r12801) -Codechange: remove the dependency of function.h in town_map.hrubidium
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-17(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler ↵smatz
function can be used
2008-04-17(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()smatz
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-25(svn r12410) -Codechange: abstract out the test for catenary on electric railspeter1138
2008-03-19(svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed ↵smatz
while partially in a depot
2008-03-05(svn r12342) -Fix(r12340): In order to avoid confusion, SIGN should be used ↵belugas
for signs and SIGNAL for signals :) Always check your terms with your nearest british ;)
2008-03-05(svn r12340) -Codechange: Remove some magic numbers (sprite IDs here) with ↵belugas
some more meaningful values. This allows to remove an unnecessary subtraction in the MAYBE_DAW_SIGNAL macro, who was waiting for an offset, at the first place.
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.