summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
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).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-04(svn r9009) -Fix (r1): Determine whether to play a sound or not when ↵Darkvater
entering a tunnel based on engine type (only steam engines) instead of on spritenum which can be invalid for newgrf trains. DBSet(XL) or any other steam trains without newsounds should sound their horn now.
2007-02-24(svn r8884) -Fixtron
Replace SetSpeedLimitOnBridge() by something simpler
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-22(svn r8841) -Fixtron
Remove {,u}intswap() and replace them by Swap()
2007-02-14(svn r8732) -Codechange/Fix(r8705): Turned the bit-handling macros into ↵celestar
template functions. Fixes a problem with MSVC and 64-bit shifts.
2007-02-13(svn r8715) -Codechange/cleanup: replace magic numbers related to state of ↵rubidium
road vehicles with enums. Original patch by mart3p.
2007-02-13(svn r8701) -Codechange: replace magic numbers with enums for u.rail.track.rubidium
2007-02-13(svn r8698) -Codechange: enumify the returns of VehicleEnterTilerubidium
2007-02-03(svn r8567) -Feature: Allow upgrading bridges by building a new bridge over ↵maedhros
the top. (Based on a patch by gigajum) - The replacement bridge must be the same transport type, and if it's a rail bridge it must have the same railtype. - Town owned bridges can also be upgraded, but only to a bridge with a higher top speed.
2007-01-27(svn r8426) -Fixtron
Slightly simplify the code which determines whether to build a rail or a road bridge
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)