summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
AgeCommit message (Collapse)Author
2007-06-18(svn r10210) -Codechange: make all money related variables 64 bits, so ↵rubidium
overflowing them should become a little harder.
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).rubidium
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-16(svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying ↵rubidium
over it.
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-08(svn r10062) -Codechange: Don't redraw all station tiles when cargo is added ↵peter1138
or removed if the station has no custom graphics.
2007-05-31(svn r9996) -Fix: be more strict when building/upgrading roads and/or road ↵rubidium
stops.
2007-05-28(svn r9965) -Fix: the ownership of drive through road stops on town owned ↵rubidium
roads wasn't properly reset when the road stop was removed.
2007-05-27(svn r9952) -Fix r9951: it was not possible to build a drive-through station ↵glx
over a road/tram
2007-05-27(svn r9951) -Fix: slope check was incomplete when building road over tram ↵glx
track (and vice-versa) -Fix: you could build a drive-through station over a sloped road/tram track
2007-05-26(svn r9935) -Fix: could not build a drive through station when there when ↵rubidium
you own the tram bits and the town owns the road.
2007-05-25(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.rubidium
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-05-24(svn r9908) -Codechange: prepare the station picker for more road types.rubidium
2007-05-23(svn r9905) -Feature: Allow building new stations adjacent to existing ↵maedhros
stations by holding down control. Based on a patch by Wolf01.
2007-05-21(svn r9895) -Fix: assertion when removing roadstop.rubidium
2007-05-20(svn r9893) -Fix (r9892): various small bugs that only act up when using ↵rubidium
something different than plain roads.
2007-05-20(svn r9892) -Codechange: lots of ground work for allowing multiple types of ↵rubidium
"road" with multiple owners on a single tile.
2007-05-07(svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01)peter1138
2007-05-01(svn r9758) -Fix (FS#756): Ignore bit 1 (axis) of station tile layoutspeter1138
2007-04-20(svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of ↵rubidium
processing power anymore when having a lot of trains.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-18(svn r9669) -Documentation: some more doxygen fixesbelugas
2007-04-18(svn r9665) -Documentation: Doxygen corrections,errors, corrections of ↵belugas
corrections...
2007-04-17(svn r9664) -Documentation: Doxygen corrections,errors and omissionsbelugas
2007-04-15(svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo ↵peter1138
flag in NewGRF loader.
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-04-05(svn r9563) -Feature: Add more finer control to transparency options, ↵peter1138
including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-31(svn r9532) -Fix (r8741) [FS#708]: Make errors when building drive through ↵maedhros
road stops more descriptive.
2007-03-29(svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for ↵celestar
stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts)
2007-03-24(svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail ↵celestar
functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-21(svn r9388) -Codechange: variable scope and type, and standardify all ↵peter1138
CargoID loops.
2007-03-18(svn r9301) -Codechange: Use cargo class to determine if a road vehicle can ↵peter1138
stop in bus or truck stops.
2007-03-14(svn r9178) -Fix (r7573) [FS#679]: Don't allow building docks or buoys under ↵maedhros
bridges.
2007-03-13(svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and ↵peter1138
enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios.
2007-03-09(svn r9076) -Fix [FS#529]: the intercontinental airport used 'T-junction' ↵rubidium
runway sprites when there is no exit in the middle of the runway as in the city airport (skidd13).
2007-03-08(svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, ↵truelight
you wouldn't ever be able to do so for a given station
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-03(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing ↵belugas
tags and (more than just) a few comments style.
2007-03-02(svn r8978) -Feature: Rewrite of transfer system.richk
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D. When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route. You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
2007-02-24(svn r8876) -Fixtron
Replace tests with magic numbers by a simple extraction template for command parameters
2007-02-24(svn r8875) -Fixtron
Remove unnecessary EnsureNoVehicle() checks because they are - pointless per se (f.e. there are no vehicles on house tiles) - done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
2007-02-23(svn r8852) -Fix (r8735): make the dynamite tool for drive through road ↵rubidium
stops as if it were removing a normal road tile (consider the local authority and such). -Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed.
2007-02-23(svn r8851) -Fix [FS#643] (r8735): crash on removing town owned roads ↵rubidium
outside of the local authority.