Commit Graph

58 Commits (862b8b624744da166a737bc106aa98d36643d85c)

Author SHA1 Message Date
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium a78751ee9a (svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations 15 years ago
smatz f6a4d61cca (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 15 years ago
rubidium 4c0542c17f (svn r16393) -Codechange: move VehicleRail to Train. 15 years ago
peter1138 793eabf61e (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 16 years ago
peter1138 f382c2381b (svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences. 16 years ago
smatz b2852f88fb (svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch by planetmaker) 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
peter1138 e3fad31f31 (svn r14162) -Fix: Allow rail type conversion if the rail type cost multipliers are the same. 16 years ago
peter1138 2ea575e36c (svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct. 16 years ago
peter1138 e999f189e6 (svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed. 16 years ago
peter1138 6261063689 (svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs. 16 years ago
rubidium 2b6978e48e (svn r13912) -Codechange: remove some casts by returning the proper type instead of void*. 16 years ago
rubidium 7ccf05ff35 (svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future. 16 years ago
smatz b4968c6bea (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
smatz 112afdf7d8 (svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases 16 years ago
peter1138 d577b0504a (svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly. 16 years ago
peter1138 f0e39a7953 (svn r12410) -Codechange: abstract out the test for catenary on electric rails 17 years ago
smatz 3ab59da68a (svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot 17 years ago
smatz bc4ed3eafd (svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
17 years ago
rubidium 2d2e1e3863 (svn r11800) -Codechange: move some functions to a more logical location + some type safety. 17 years ago
rubidium 444e77d8bc (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
peter1138 a1b482973d (svn r11732) -Fix (r4150): elrail merge gave elrail, monorail & maglev 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. 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 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 3074bca136 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
rubidium 8ebdfb258f (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 17 years ago
rubidium be923601bf (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h 17 years ago
rubidium 2e2d76f445 (svn r11662) -Codechange: move some rail types/related functions around. 17 years ago
rubidium 0995194162 (svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies. 17 years ago
smatz 911273948b (svn r11603) -Fix [FS#1481]: make price for railtype conversion more realistic 17 years ago
skidd13 6801cceda1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
truelight b935a74782 (svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13) 17 years ago
rubidium d1a51ebb36 (svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by frosch. 17 years ago
maedhros ee4823857f (svn r11265) -Feature: Make more advanced rail types more expensive to build. 17 years ago
rubidium f22c5ba602 (svn r11237) -Codechange: reduce code duplication between GetRailFoundation() and CheckRailSlope(). Patch by frosch. 17 years ago
rubidium 5c9553d48b (svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch. 17 years ago
rubidium c97804461e (svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ. 17 years ago
rubidium c9c2cd8d2e (svn r10765) -Documentation [FS#1100]: of rail.h. Based on a patch by Progman. 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
KUDr 21417ebac7 (svn r10429) -Fix: VC8 Code Analyzer warning: buffer overrun 17 years ago
belugas 6a86e75870 (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near 17 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
rubidium d2a36e4c2d (svn r8912) -Codechange: coding style cleanup and moving of two global externs into the functions that use them. 18 years ago
tron 87226c519a (svn r8901) -Fix
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether
18 years ago