tron
31e0bae89a
(svn r5689) Default a station tile to be electrifiable if there is no other information available. I suppose this was a copy&paste error
18 years ago
tron
9f4c19e72b
(svn r5632) Replace a boolean variable in DeallocateSpecFromStation() by a return
...
Also set the return type to void, because the caller doesn't care about it
18 years ago
tron
3c368fc05e
(svn r5624) Use {IsPlainRailTile,IsRailDepot,IsRailWaypoint,HasSignals}() instead of GetRailTile{T,Subt}ype() - this is more concise and a bit more flexible if/when the rail tile encoding changes
18 years ago
peter1138
1ed3c5778b
(svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1.
19 years ago
glx
e9fcaf1227
(svn r4856) - Newstations: catenary was not drawn on some station tiles
19 years ago
rubidium
3dae1a9bba
(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
19 years ago
peter1138
dd69f010b3
(svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are only four bits
19 years ago
glx
8bb61ca472
(svn r4785) - Newstations: don't draw catenary on non-track tiles
19 years ago
peter1138
9c1282d283
(svn r4783) - Newstations: fix graphical bug that affected some stations when a station has a high amount of cargo waiting.
19 years ago
peter1138
e4aed98827
(svn r4782) - Newstations: fix issue with saving/loading games with newstations on big endian architectures.
19 years ago
peter1138
d23e3a2fa2
(svn r4772) - Newstations: when allocating a custom station (via action 0x03) check if the station has already been allocated. (Fixes duplicate waypoints in newstatsw in non-temperate climate)
19 years ago
peter1138
9d6ddd364e
(svn r4767) - Newstations: fix loading / use of custom ground sprites
19 years ago
peter1138
c778716264
(svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass.
19 years ago
peter1138
6b8b8395e4
(svn r4757) - Newstations: add saveload support for custom station speclists
19 years ago
peter1138
db77493ac0
(svn r4755) - Newstations: add a gui station tile drawing routine and use it in place of the existing one for waypoints.
19 years ago
peter1138
9b7ac6acb6
(svn r4749) - Newstations: add snowline support to variable 42.
19 years ago
peter1138
bd839bd52e
(svn r4747) - Newstations: implement support for variables 40, 41, 46, 47 and 49.
19 years ago
KUDr
607f88410e
(svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c
19 years ago
peter1138
c22e79d551
(svn r4740) - Newstations: add function to evaluate station callbacks
19 years ago
peter1138
e5d936d0fe
(svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally
19 years ago
peter1138
7a91a966ea
(svn r4738) - Newstations: attach all sprite group cargo types, not just the default and purchase pseudo types, to a station spec.
19 years ago
peter1138
7b7c476555
(svn r4737) - Newstations: 'real' groups picked the wrong set of loading or loaded sprites
19 years ago
peter1138
786f9992be
(svn r4736) - Newstations: use the correct value for PBS status (No PBS)
19 years ago
peter1138
1b255c09a1
(svn r4734) - Newstations: add more variables and fix a division by zero.
19 years ago
peter1138
3c8db0683f
(svn r4729) - Newstations: replace old station resolver with new resolver code (as has happened for vehicles)
19 years ago
peter1138
c722c88f43
(svn r4723) - Newstations: add TileIndex parameter to station resolver.
19 years ago
peter1138
a364ec2397
(svn r4707) - NewGRF: minor code duffage; return early and less indentation.
19 years ago
belugas
3ac1832fd1
(svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.
...
This is following the same scheme as for IndustrySpec
19 years ago
peter1138
60cc7337e5
(svn r4583) - NewGRF: Revamp sprite group loading to support advanced varadjusts and variable size. These are not yet processed, however.
19 years ago
peter1138
b4ba26bce7
(svn r4551) - NewGRF: add string handling for newstations.
19 years ago
peter1138
c8b1ff8654
(svn r4484) - Newstations: Use StringIDs instead of char*s to reference our custom names.
19 years ago
peter1138
65c43cb425
(svn r4473) - Newstations:
...
- Alter parameters of CMD_BUILD_RAILROAD_STATION to accept a custom station class and id.
- Add a dynamically allocated list of custom stations that the SpecIndex (m4) references.
19 years ago
peter1138
712499fc8f
(svn r4459) - Newstations: check pointer for NULL before using it.
19 years ago
peter1138
a3c14182d3
(svn r3530) - NewGRF: Move station resolver to newgrf_station
19 years ago
peter1138
50ff85428b
(svn r3525) - Rename station_newgrf.[ch] to newgrf_station.[ch], and update project files.
19 years ago