summaryrefslogtreecommitdiff
path: root/src/bridge.h
AgeCommit message (Collapse)Author
2008-07-15(svn r13705) -Codechange: Define and use BridgePieces enum, which will ↵belugas
remove a few more magic numbers
2008-06-23(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given ↵rubidium
length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
2008-02-12(svn r12118) -Codechange: Put the two descriptions of bridges in an array ↵belugas
instead of two single variables, following the transport type it represents
2008-02-11(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy ↵belugas
with other Specs in used.
2008-02-11(svn r12107) -Codechange: Add and use the typedef BridgeTypebelugas
2008-02-05(svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpecbelugas
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec -Codechange: Rationalize the use of Bridge type pointer
2008-02-05(svn r12065) -Codechange : removed a now useless declaration ( orig_bridge )belugas
2008-02-05(svn r12064) -Codechange : Give grf bridges their own ResetBridges function, ↵belugas
and put bridge spec in table/bridge_land.h, where it should be.
2008-02-03(svn r12048) -Cleanup: Move some strings in the original bridge array, ↵belugas
adjust documentation a bit.
2008-01-23(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use ↵smatz
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-22(svn r11946) -Fix: slope detection of bridge ramps.frosch
YAPF failed for steep slopes. Trolly failed for a lot.
2008-01-09(svn r11785) -Codechange: remove some unneeded includes.rubidium
2007-12-25(svn r11700) -Codechange: reduce the amount of unnecessary includes.rubidium
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
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-24(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> ↵rubidium
type *var.
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-02-26(svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in ↵rubidium
a map accessors header.
2007-02-24(svn r8884) -Fixtron
Replace SetSpeedLimitOnBridge() by something simpler
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-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.