summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
2009-05-22(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.rubidium
2009-05-18(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'smatz
2009-05-18(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), ↵smatz
introduce shiny new IsPlainRailTile()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-15(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL ↵frosch
and _SIGNALS.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15709) -Change [FS#2729]: be a tad more specific about the fact that ↵rubidium
you're building incompatible tracks when building incompatible track types on the same tile.
2009-03-12(svn r15687) -Fix [FS#2723]: wrong/misleading error message when autorail ↵rubidium
builds nothing when trying to build over signals in the wrong way.
2009-03-02(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making ↵rubidium
it possible to remove someone's tram tracks. -Feature: allow building road stops on road/tram tracks of competitors.
2009-02-24(svn r15567) -Fix [FS#2674]: When building signals by dragging from a ↵yexo
pre/entry/combo block signal, the signal you started at became a normal block signal.
2009-02-21(svn r15548) -Fix: incorrect error message when removing non-existing ↵rubidium
diagonal rail (TRACK_X/Y) with the single directional rail tool (i.e. not autorail).
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-13(svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw ↵peter1138
track fences.
2009-01-12(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hacksmatz
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-02(svn r14789) -Feature: allow scrolling with the left mouse button pressed ↵rubidium
(if enabled). Primarily useful for systems with touch screen (aapo)
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-14(svn r14676) -Fix: Do not copy the signal type of parallel ↵frosch
vertical/horizontal track, when dragging signals.
2008-11-22(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and ↵frosch
PALETTE_MODIFIER_COLOR in spritelayout drawing. -Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-16(svn r14581) -Fix: make rail, road and canal building behave the same when ↵rubidium
overbuilding already built stretches.
2008-11-07(svn r14567) -Revert (part of 14566): don't commit testing stuff...rubidium
2008-11-07(svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the ↵rubidium
'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali)
2008-11-02(svn r14558) -Fix (r13957): Converting the track type of a tunnel/bridge ↵michi_cc
could cause trains to get stuck.
2008-10-19(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)rubidium
2008-10-18(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout ↵frosch
(Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint). Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-10-02(svn r14434) -Fix (r14432): compile warning.rubidium
2008-10-02(svn r14432) -Fix: tile description of tiles with only one signal that is ↵rubidium
not the normal signal showing "normal signal and <signal type on tile>".
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-20(svn r14365) -Backport (r14364 from NoAI): add the ability do ↵glx
CmdBuildSingleSignal to directly place the correct signal, instead requiring multiple inputs before doing so
2008-09-17(svn r14356) -Fix [FS#2307](r14258): converting of railtype was broken for ↵smatz
tunnels and bridges
2008-09-16(svn r14350) -Fix (r13927): do not draw PBS reservation for NW and NE ↵smatz
depots, it is drawn through depot walls
2008-09-11(svn r14293) -Change: do not show PBS track reservation in the intro gamesmatz
2008-09-07(svn r14258) -Codechange: rework the way to query the vehicle hash to make ↵rubidium
sure it always results in the same irregardless of the order of the hash-linked-list. -Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
2008-08-25(svn r14176) -Fix: better 'safe' than ... 'save'smatz
2008-08-25(svn r14165) -Codechange: When over-building rail with a different type, ↵peter1138
don't convert the rail if the engines of the new type are powered on the existing type.
2008-08-24(svn r14158) -Codechange: Initialization of rail type data from static ↵peter1138
source, so data can be changed.
2008-08-22(svn r14129) -Fix (r13935) [FS#2247]: Signal state for PBS signals was not ↵frosch
updated when cycling the signal side. Patch by michi_cc with a small addition from me.
2008-08-20(svn r14104) -Feature: Add a window for waypoints, allowing to view all the ↵belugas
trains having the selected waypoint in their orders. Changing its name is also supported from the same new window. Gui based on work done by Satyap, on FS#2025.
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)