summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
2008-08-07(svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in ↵rubidium
any direction other than the track direction.
2008-08-07(svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals.peter1138
2008-08-06(svn r14005) -Codechange: minor coding style fixsmatz
2008-08-03(svn r13973) -Codechange [YAPP]: Improve the behavior when changing signals ↵smatz
to not cause stale reservations. (michi_cc)
2008-08-02(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing ↵rubidium
some tracks and reroute trains afterwards. (michi_cc)
2008-08-02(svn r13937) -Codechange [YAPP]: Don't cycle through two-sided PBS signals ↵rubidium
during build. (michi_cc)
2008-08-02(svn r13936) -Codechange [YAPP]: Enable the auto-signal tool to build PBS ↵rubidium
signals and honor the default signal type. (michi_cc)
2008-08-02(svn r13935) -Codechange [YAPP]: PBS signals can now be built with the ↵rubidium
normal signal tools. (michi_cc)
2008-08-02(svn r13933) -Codechange [YAPP]: Handle through and PBS signals correctly in ↵rubidium
the signal code. (michi_cc)
2008-08-02(svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals ↵rubidium
are drawn using the old Patch-like PBS sprites. (michi_cc)
2008-08-02(svn r13930) -Codechange [YAPP]: Clear track reservation when removing a ↵rubidium
rail track. (michi_cc)
2008-08-02(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch ↵rubidium
setting. (michi_cc)
2008-08-01(svn r13912) -Codechange: remove some casts by returning the proper type ↵rubidium
instead of void*.
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-06-24(svn r13626) -Fix (r11871): signals were not updated when player removed ↵smatz
signals from nonexistent track sharing bits with existing track So disallow removing signals from nonexistent track
2008-06-18(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences ↵smatz
are now drawn until first non-opaque sprite is found (bit 14 not set) This is to balance performance, code complexity and NewGRF requirements
2008-06-12(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when ↵smatz
there was a ship on lower halftile
2008-06-12(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail ↵rubidium
tiles.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
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