Commit Graph

24 Commits (6fb7012bc6bb745e2dd164a42f0b516f3fc987e6)

Author SHA1 Message Date
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
belugas ba53aa91a1 (svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers 16 years ago
rubidium d87b6c3937 (svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given 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. 16 years ago
belugas d465b23ee2 (svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents 17 years ago
belugas 6a717aa49b (svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used. 17 years ago
belugas c21787238c (svn r12107) -Codechange: Add and use the typedef BridgeType 17 years ago
belugas 7f5f48281c (svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpec
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec
-Codechange: Rationalize the use of Bridge type pointer
17 years ago
belugas 23c8664593 (svn r12065) -Codechange : removed a now useless declaration ( orig_bridge ) 17 years ago
belugas 0ee48fc6d3 (svn r12064) -Codechange : Give grf bridges their own ResetBridges function, and put bridge spec in table/bridge_land.h, where it should be. 17 years ago
belugas 260b32e736 (svn r12048) -Cleanup: Move some strings in the original bridge array, adjust documentation a bit. 17 years ago
smatz 74af65e556 (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead 17 years ago
frosch 8a72af3a13 (svn r11946) -Fix: slope detection of bridge ramps.
YAPF failed for steep slopes.
  Trolly failed for a lot.
17 years ago
rubidium c08bff8931 (svn r11785) -Codechange: remove some unneeded includes. 17 years ago
rubidium 7058b2cce2 (svn r11700) -Codechange: reduce the amount of unnecessary includes. 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium 3074bca136 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 17 years ago
rubidium 903a0a08c2 (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch. 17 years ago
rubidium 59d33d0f7c (svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var. 17 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
rubidium 191a739d31 (svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header. 18 years ago
tron 5c91ec0587 (svn r8884) -Fix
Replace SetSpeedLimitOnBridge() by something simpler
18 years ago
peter1138 ca9843424b (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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.
18 years ago
rubidium 013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- 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.
18 years ago