Commit Graph

77 Commits

Author SHA1 Message Date
rubidium 6371b75bcc (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 2011-01-18 21:28:07 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
michi_cc 34f32cbbf4 (svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype. 2010-07-02 16:34:11 +00:00
smatz 53aaabe6e9 (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 2010-03-23 22:25:43 +00:00
peter1138 0dd8110484 (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. 2010-03-16 06:30:31 +00:00
alberth 777123c228 (svn r19414) -Doc: Several doxygen additions and corrections. 2010-03-14 12:39:24 +00:00
alberth b8d6e893cb (svn r19413) -Codechange: Merging RailtypeFlag enum (a bit number) with RailTypeFlags enum (had values only). 2010-03-14 12:04:10 +00:00
alberth 29b79e03e8 (svn r19365) -Codechange: Move EnsureNoTrainOnTrackProc() to src/vehicle.cpp. 2010-03-07 15:54:58 +00:00
peter1138 1025d003b3 (svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet. 2010-03-03 19:07:34 +00:00
peter1138 c3d3e7d383 (svn r19306) -Change: Railtype cost factor from byte to word value 2010-03-03 18:58:32 +00:00
peter1138 898e879bd9 (svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...) 2010-02-07 22:22:54 +00:00
peter1138 2b820780a1 (svn r18972) -Add: [NewGRF] Per-rail type speed limits. 2010-01-31 13:17:29 +00:00
peter1138 32ef582c37 (svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties. 2010-01-30 21:49:22 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
peter1138 1382964fa0 (svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property 2010-01-09 15:33:41 +00:00
peter1138 7b136d1fdd (svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted. 2009-12-15 13:59:20 +00:00
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
frosch ba1fc280e3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 2009-11-07 22:47:54 +00:00
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 861a2163f6 (svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations 2009-07-18 10:01:31 +00:00
smatz 8343340acb (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() 2009-06-24 17:39:54 +00:00
rubidium da5661a0c8 (svn r16393) -Codechange: move VehicleRail to Train. 2009-05-22 22:55:41 +00:00
peter1138 a68e0ee42f (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 2009-02-08 18:11:06 +00:00
peter1138 56b91b582e (svn r15050) -Codechange: Use one absolute SpriteID with offsets to draw track fences. 2009-01-13 08:39:25 +00:00
smatz 1906aa2bbb (svn r14448) -Codechange [FS#2328]: rename a few variables (based on a patch by planetmaker) 2008-10-07 20:57:41 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
peter1138 6e4d8a273e (svn r14162) -Fix: Allow rail type conversion if the rail type cost multipliers are the same. 2008-08-24 23:29:58 +00:00
peter1138 b45ced35ee (svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct. 2008-08-24 23:10:23 +00:00
peter1138 2f80a277eb (svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed. 2008-08-24 23:00:11 +00:00
peter1138 ff07598ce2 (svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs. 2008-08-24 21:31:24 +00:00
rubidium ad36ea6b29 (svn r13912) -Codechange: remove some casts by returning the proper type instead of void*. 2008-08-01 15:07:31 +00:00
rubidium 3d5fe9bfc1 (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. 2008-06-11 14:55:02 +00:00
smatz 386a3f1d20 (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 2008-05-08 16:48:29 +00:00
rubidium d03994098b (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. 2008-05-06 15:11:33 +00:00
smatz 459259aeec (svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases 2008-04-23 19:47:23 +00:00
peter1138 310170364f (svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly. 2008-04-08 07:19:29 +00:00
peter1138 6184676ec7 (svn r12410) -Codechange: abstract out the test for catenary on electric rails 2008-03-25 12:10:13 +00:00
smatz ac4ec8c2d2 (svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot 2008-03-19 20:50:19 +00:00
smatz f44a9a5d5b (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
2008-01-09 23:00:59 +00:00
rubidium 998d7644f6 (svn r11800) -Codechange: move some functions to a more logical location + some type safety. 2008-01-09 21:05:03 +00:00
rubidium b0ac283aec (svn r11774) -Change: do not include variables.h in a header when it is not needed. 2008-01-07 00:57:19 +00:00
peter1138 a967a7287f (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. 2008-01-01 14:00:31 +00:00
rubidium aac835171e (svn r11700) -Codechange: reduce the amount of unnecessary includes. 2007-12-25 23:42:52 +00:00
rubidium a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 2007-12-23 10:56:02 +00:00
rubidium 8f0e68285b (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. 2007-12-22 23:30:28 +00:00
rubidium 6a9e77e079 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 2007-12-21 22:50:51 +00:00
rubidium 9e9cfe6e59 (svn r11677) -Codechange: move price and command related types/functions to their respective places. 2007-12-21 21:50:46 +00:00
rubidium 01e20c9140 (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 2007-12-21 19:21:21 +00:00