rubidium
704a361ada
(svn r22448) [1.1] -Backport from trunk:
...
- Fix: [NewGRF] When GRFs are disabled via Action E or due to GRM failure, also display an error in the GUI (r22444, r22443)
- Fix: [NewGRF] Do not popup fatal NewGRF error messages in the intro screen. The GRFs are not going to be activated there anyway and the GRF settings GUI will not display the errors either (r22442)
- Fix: Catenary was drawn incorrectly next to level crossings with foundations (r22437)
- Fix: [NewGRF] Apply railtype property 12 (station graphics) also to station groundsprites from action 1 (r22436)
2011-05-13 17:57:07 +00:00
rubidium
bc3ce1e53b
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
2011-02-07 22:37:22 +00:00
rubidium
2f6c840ebf
(svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list
2011-01-20 12:22:38 +00:00
rubidium
9ca4b629cd
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
2011-01-18 23:09:43 +00:00
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
planetmaker
9b4beb0a5c
(svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again)
2011-01-15 22:50:49 +00:00
terkhen
48b7916458
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
2010-12-14 21:33:53 +00:00
rubidium
a1d923700f
(svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well
2010-12-12 17:21:49 +00:00
rubidium
42dc2e63f2
(svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites
2010-12-11 23:14:35 +00:00
frosch
f2c84e0120
(svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore).
2010-11-29 17:26:47 +00:00
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
2010-10-30 17:51:07 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
frosch
236737b2f2
(svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype.
2010-08-15 19:59:48 +00:00
frosch
a0520bb8bf
(svn r20500) -Fix: When converting rail all trains with a part on the converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power.
2010-08-15 15:47:07 +00:00
terkhen
78fd08c7b2
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
2010-08-09 10:59:30 +00:00
frosch
48c5091a7c
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
2010-08-09 07:10:42 +00:00
frosch
5f874b90f9
(svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays.
2010-08-08 08:52:47 +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
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
2010-07-29 14:26:28 +00:00
michi_cc
e8cabbdc56
(svn r20237) -Fix (r20049): Check for disallowed level crossings also when converting rail.
2010-07-28 22:23:28 +00:00
frosch
3767ae5196
(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.
2010-07-26 17:37:50 +00:00
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
2010-07-24 10:14:39 +00:00
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
2010-07-19 17:28:27 +00:00
rubidium
5a836cdec7
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
2010-07-19 17:00:54 +00:00
frosch
72ee11a7c6
(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
2010-07-11 17:28:19 +00:00
terkhen
066aa61a45
(svn r20116) -Add: Show an specific error message when trying to convert/remove nonexistant signals.
2010-07-10 20:18:59 +00:00
terkhen
191389fa8d
(svn r20114) -Add: Show an specific error message when trying to remove rail or build/convert/remove signals over nonexistant railways.
2010-07-10 20:15:35 +00:00
alberth
b06d18b19a
(svn r20110) -Fix [FS#3695]: Do not allow building a rail track to the water using a tree-tile.
2010-07-10 13:04:31 +00:00
terkhen
5ea472650c
(svn r20100) -Fix: Give priority to ownership errors while removing rails.
2010-07-09 16:43:00 +00:00
alberth
82fc340a0a
(svn r20097) -Codechange: Share constant bitset of safe level crossing slopes.
2010-07-09 12:14:02 +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
yexo
9cfb61adf5
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
2010-06-20 19:13:02 +00:00
frosch
1d3adb2b66
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-06-05 12:16:12 +00:00
rubidium
e7f70987a4
(svn r19925) -Fix [FS#3859]: one didn't pay for rail when building depots and stations, so with expensive railtypes building stations and then removing the station would be cheaper than just building the rail
2010-06-04 21:00:17 +00:00
frosch
9db3cde73a
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
2010-05-31 20:22:57 +00:00
rubidium
241dd9a9f5
(svn r19817) -Fix: MSVC compile warnings
2010-05-13 12:42:56 +00:00
rubidium
062dd0e24c
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
2010-05-13 10:14:29 +00:00
rubidium
93ff7d78e1
(svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named
2010-05-12 19:21:00 +00:00
rubidium
f56ebd81c3
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
2010-04-24 13:39:11 +00:00
frosch
75d4bc947d
(svn r19654) -Codechange: Use Extract<> in more places.
2010-04-17 13:31:41 +00:00
frosch
b76f0185d4
(svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits.
2010-04-13 17:29:19 +00:00
peter1138
8c4c691448
(svn r19556) -Fix (r19434): Incorrect speed limit reported for rail depots with original acceleration model.
2010-04-03 20:25:23 +00:00
alberth
05d705e077
(svn r19494) -Codechange: Remove _error_message.
2010-03-20 17:58:24 +00:00
alberth
c9b0e9d25f
(svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well.
2010-03-20 17:08:16 +00:00
alberth
f05a8635fd
(svn r19483) -Codechange: Code layout fixes, and parentheses reduction.
2010-03-20 15:30:57 +00:00
peter1138
604da97364
(svn r19434) -Add: Add rail speed limit to land area information window.
2010-03-16 06:43:41 +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
6eb0816c70
(svn r19421) -Codechange: Remove explicit use of _error_message from CmdConvertRail().
2010-03-14 16:42:55 +00:00