summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
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-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
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-14(svn r11633) -Codechange: merge CheckTunnelEmpty and IsVehicleOnBridge into ↵smatz
GetVehicleTunnelBridge
2007-12-08(svn r11603) -Fix [FS#1481]: make price for railtype conversion more realisticsmatz
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-19(svn r11476) -Codechange: rename the function myabs to abs to get rid of an ↵skidd13
unneeded define
2007-11-11(svn r11407) -Fix: do not allow building of tram-tracks when they are not ↵truelight
available (SmatZ)
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-09(svn r11395) -Fix: allow town-bridges to be build on slopes (Rafal Rzepecki)truelight
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.