Commit Graph

81 Commits (5cab5203f51a5b902ec2c70854350d75c74daf6d)

Author SHA1 Message Date
planetmaker 182d351959 (svn r21919) -Fix: Converting an expensive rail type to a cheap one could give more money than removing and rebuilding cost 14 years ago
rubidium 95e0695e02 (svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list 14 years ago
rubidium 0cf2ef83f0 (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 14 years ago
rubidium abc1828d30 (svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available 14 years ago
rubidium dc94c94599 (svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
michi_cc e94f75095a (svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype. 14 years ago
smatz d2e99657fa (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
peter1138 369975964a (svn r19433) -Codechange: Limit rail clearance earnings to 3/4s of rail build cost, to avoid money making loophole when rail build cost is less than rail removal earnings. 14 years ago
alberth 19dff3a6b2 (svn r19414) -Doc: Several doxygen additions and corrections. 15 years ago
alberth 130f9f96b3 (svn r19413) -Codechange: Merging RailtypeFlag enum (a bit number) with RailTypeFlags enum (had values only). 15 years ago
alberth 014f651e65 (svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp. 15 years ago
peter1138 73fdfa40e0 (svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet. 15 years ago
peter1138 82f09c6ed8 (svn r19306) -Change: Railtype cost factor from byte to word value 15 years ago
peter1138 7cc76dcbda (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 15 years ago
peter1138 8ef348311d (svn r18972) -Add: [NewGRF] Per-rail type speed limits. 15 years ago
peter1138 91c42bb596 (svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
peter1138 8651144bee (svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property 15 years ago
peter1138 10753a6199 (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 15 years ago
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 15 years ago
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 15 years ago
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 16 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