summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
2007-10-19(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both ↵rubidium
used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
2007-10-16(svn r11276) -Codechange: be more consistent with naming of some accessors.rubidium
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
2007-10-14(svn r11265) -Feature: Make more advanced rail types more expensive to build.maedhros
2007-10-14(svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars ↵rubidium
and HasFoundation{NW|NE}. Patch by frosch.
2007-10-08(svn r11231) -Fix [FS#1311] (r11128): Someone misplaced a "static". This ↵rubidium
results in wrong bounding boxes for tunnels in X direction. Patch by frosch.
2007-10-05(svn r11213) -Fix [FS#1298]: confusing messages when trying to build a bridge.rubidium
2007-10-05(svn r11208) -Fix [FS#1300]: tunnel excavation could disown somebody elses ↵rubidium
owned land. Patch by frosch.
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-15(svn r11112) -Fix (r11107) [FS#1229]: in some cases one could destroy (parts ↵rubidium
of) buildings when building tunnels.
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-09(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the ↵rubidium
Vehicle::first pointer correctly set.
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-25(svn r10979) -Fix [FS#1157]: catenary on tunnel tiles was drawn ↵rubidium
non-transparant when the other catenary was drawn transparant. Patch by smatz.
2007-08-03(svn r10776) -Fix [FS#1081]: you would not pay for some foundations of ↵rubidium
bridges whereas you would pay for others.
2007-08-02(svn r10758) -Codechange: make the depot struct use the pool item class as ↵rubidium
super class.
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 r10660) -Codechange: simplified tunnel cost algorithm (bilbo)truelight
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-13(svn r10549) -Fix [FS#1031]: wrong tram catenary poles drawn in some bridge ↵rubidium
directions.
2007-06-27(svn r10362) -Codechange: make tunnel costs less exponential for (very) long ↵rubidium
tunnels.
2007-06-24(svn r10309) -Revert (part of r10308): "fixing" the bounding box for bridge ↵rubidium
entrances reveals one of the bugs that will be fixed when FS#119 is fixed.
2007-06-24(svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on ↵rubidium
fixing FS#119.
2007-06-24(svn r10306) -Fix [FS#890]: the fix in r10219 was not enough to stop this ↵rubidium
bug from happening.
2007-06-21(svn r10259) -Fix (r10258): committed a little too much.. would've made ↵rubidium
pretty cheap tunnels though :)
2007-06-21(svn r10258) -Codechange: as we are now using int64 all over the place, it's ↵rubidium
better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong.
2007-06-21(svn r10248) -Codechange: don't limit the cost of tunnels. rubidium
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
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-05-28(svn r9966) -Fix: bridges and tunnels were not always removed on bankruptcy, ↵rubidium
thus leaving tunnels/bridges with an invalid owner that would crash the game when clicking with the query tool on them.
2007-05-26(svn r9944) -Fix: tile selection drawn on the wrong height for some road ↵rubidium
bridges.
2007-05-26(svn r9940) -Fix [FS#805]: upgrading a bridge removed roadtypes.rubidium
2007-05-26(svn r9931) -Fix: some glitches with catenary and bridges. rubidium
2007-05-25(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.rubidium
2007-05-25(svn r9919) -Codechange: prepare some more places for more road types.rubidium
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-05-20(svn r9894) -Fix (r9892): catenary was drawn on road bridges ;)rubidium
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-04-27(svn r9726) -Fix [FS#738]: crash when destroying bridge with train partially ↵rubidium
one it.
2007-04-18(svn r9665) -Documentation: Doxygen corrections,errors, corrections of ↵belugas
corrections...
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 r9558) -Documentation: doxygen and comment changes: 'T' now. Almost donebelugas
2007-04-01(svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, ↵belugas
and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words
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-20(svn r9371) -Feature: Add support for variable snow lines in the arctic ↵maedhros
climate, supplied by newgrf files. When this is enabled forests cannot be built below the highest snow line, and farms can't be built above it. Houses still use the _opt.snow_line so they are all consistent, so to make them respect the snowline you may want to use some newhouses features as well.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).