summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
AgeCommit message (Collapse)Author
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)