summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
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
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-15(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of ↵rubidium
the box. -Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5. -Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5. Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-04(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to ↵truelight
Rubidium and skidd13)
2007-10-26(svn r11343) -Fix[FS#1368]: Autoslope did not work correctly for single ↵belugas
track on higher part of steep slopes. (frosch)
2007-10-20(svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by ↵rubidium
frosch.
2007-10-20(svn r11319) -Add: halftile- and anti-zig-zag-foundations. Patch by frosch.rubidium
2007-10-20(svn r11313) -Codechange: prepare several pieces of code so the can handle ↵rubidium
some new slopes. Patch by frosch.
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-10-14(svn r11265) -Feature: Make more advanced rail types more expensive to build.maedhros
2007-10-09(svn r11237) -Codechange: reduce code duplication between ↵rubidium
GetRailFoundation() and CheckRailSlope(). Patch by frosch.
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-09-26(svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in ↵rubidium
depots when converting it from elrail -> normal rail. Patch by smatz.
2007-09-19(svn r11128) -Fix: a lot of graphical glitches by changing some bounding ↵rubidium
boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-14(svn r11107) -Feature: some tool so one can still build tunnels under rails ↵rubidium
(and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
2007-09-08(svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions ↵rubidium
of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ.
2007-08-30(svn r11005) -Codechange: move the tiletype specific terraforming checks to ↵rubidium
the functions for those tile types. -Codechange: barren the rail grounds on terraforming.
2007-08-30(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and ↵rubidium
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-16(svn r10922) -Codechange: Allow building and removing tracks and signals ↵maedhros
when there is a train on a parallel diagonal track that doesn't interact with this one. (frosch)
2007-08-02(svn r10758) -Codechange: make the depot struct use the pool item class as ↵rubidium
super class.
2007-07-30(svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for ↵peter1138
collision detection on bridges/tunnels.
2007-07-29(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word ↵rubidium
"road" everywhere except in the tile type.
2007-07-26(svn r10698) -Codechange [FS#1082]: simplify the code related to ↵rubidium
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-07-26(svn r10696) -Codechange: remove duplication of the "make sprite ↵rubidium
transparent" code.
2007-07-23(svn r10659) -Codechange: updated documentation around ↵truelight
RAIL_GROUND_FENCE_VERT[12] (frosch) -Codechange: added documentation and SPR_ enums for track fences (frosch)
2007-07-16(svn r10601) -Codechange: store (and use) the type of stations instead of ↵rubidium
hardcoding station types by graphics IDs.
2007-07-04(svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl ↵peter1138
when dragging signals. Signals will continue following track until an existing signal, junction or station are reached. This currently replaces the existing use of ctrl-drag for changing existing signal type.