summaryrefslogtreecommitdiff
path: root/src/rail.h
AgeCommit message (Collapse)Author
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2008-01-01(svn r11732) -Fix (r4150): elrail merge gave elrail, monorail & maglev ↵peter1138
unintended speed bonuses for curves, as the bonus was based on the railtype index. The bonus is now specified by a property of the railtype.
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-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
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 r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11662) -Codechange: move some rail types/related functions around.rubidium
2007-12-18(svn r11661) -Codechange: some header reworks in order to try to reduce the ↵rubidium
compile time of OpenTTD by reduce the amount of circular-ish dependencies.
2007-12-08(svn r11603) -Fix [FS#1481]: make price for railtype conversion more realisticsmatz
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-04(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to ↵truelight
Rubidium and skidd13)
2007-10-20(svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by ↵rubidium
frosch.
2007-10-14(svn r11265) -Feature: Make more advanced rail types more expensive to build.maedhros
2007-10-09(svn r11237) -Codechange: reduce code duplication between ↵rubidium
GetRailFoundation() and CheckRailSlope(). 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-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-03(svn r10765) -Documentation [FS#1100]: of rail.h. Based on a patch by Progman.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-04(svn r10429) -Fix: VC8 Code Analyzer warning: buffer overrunKUDr
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-02-26(svn r8912) -Codechange: coding style cleanup and moving of two global ↵rubidium
externs into the functions that use them.
2007-02-25(svn r8901) -Fixtron
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether
2007-02-25(svn r8900) -Fixtron
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits)
2007-02-23(svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like ↵KUDr
CLRBIT() and so on (modify value of the first parameter instead or returning the result)
2007-02-13(svn r8712) -Codechange/cleanup: replace 'magic' constants with enums, use ↵rubidium
proper types instead of byte, uint etc., give variables more descriptive names and add some comments.
2007-02-13(svn r8701) -Codechange: replace magic numbers with enums for u.rail.track.rubidium
2007-01-13(svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h ↵KUDr
to gfx.h
2007-01-11(svn r8052) - Codechange: RemoveFirstTrack() and RemoveFirstTrackdir() now ↵KUDr
accept pointer to TrackBits/TrackdirBits instead of reference.
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
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.