rubidium
2d30e02ba2
(svn r6013) -Fix: some newgrf properties returned the date in the new format where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch.
2006-08-20 20:21:00 +00:00
rubidium
243872b4fd
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
...
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-08-14 14:21:15 +00:00
tron
179cd84cc3
(svn r5690) Factor common code to reduce code duplication
2006-08-01 06:08:11 +00:00
tron
92c2793b39
(svn r5689) Default a station tile to be electrifiable if there is no other information available. I suppose this was a copy&paste error
2006-08-01 06:04:50 +00:00
tron
801bf631b0
(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
2006-07-29 17:39:58 +00:00
tron
2bb9fd3901
(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
2006-07-27 05:30:53 +00:00
peter1138
ae8f4f8d9a
(svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1.
2006-05-23 19:36:50 +00:00
glx
56862a8997
(svn r4856) - Newstations: catenary was not drawn on some station tiles
2006-05-12 23:44:20 +00:00
rubidium
9b1bbf72ee
(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
2006-05-09 08:17:33 +00:00
peter1138
6e3b7f40be
(svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are only four bits
2006-05-09 06:52:28 +00:00
glx
cd3c141336
(svn r4785) - Newstations: don't draw catenary on non-track tiles
2006-05-08 21:59:36 +00:00
peter1138
288ffe7f50
(svn r4783) - Newstations: fix graphical bug that affected some stations when a station has a high amount of cargo waiting.
2006-05-08 17:13:48 +00:00
peter1138
7d41c0d7cf
(svn r4782) - Newstations: fix issue with saving/loading games with newstations on big endian architectures.
2006-05-08 13:35:25 +00:00
peter1138
5c3887cdb4
(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)
2006-05-07 12:58:45 +00:00
peter1138
31a54a6835
(svn r4767) - Newstations: fix loading / use of custom ground sprites
2006-05-07 10:58:53 +00:00
peter1138
6e2b98b060
(svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass.
2006-05-06 22:08:14 +00:00
peter1138
10992deeb3
(svn r4757) - Newstations: add saveload support for custom station speclists
2006-05-06 21:46:26 +00:00
peter1138
a7a194c4df
(svn r4755) - Newstations: add a gui station tile drawing routine and use it in place of the existing one for waypoints.
2006-05-06 20:48:40 +00:00
peter1138
e63634d332
(svn r4749) - Newstations: add snowline support to variable 42.
2006-05-06 09:43:38 +00:00
peter1138
0197d7d683
(svn r4747) - Newstations: implement support for variables 40, 41, 46, 47 and 49.
2006-05-06 09:31:06 +00:00
KUDr
1512d86e35
(svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c
2006-05-05 19:30:09 +00:00
peter1138
34668ff09d
(svn r4740) - Newstations: add function to evaluate station callbacks
2006-05-04 19:27:41 +00:00
peter1138
4963eb80b7
(svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally
2006-05-04 19:21:16 +00:00
peter1138
a55ac6efac
(svn r4738) - Newstations: attach all sprite group cargo types, not just the default and purchase pseudo types, to a station spec.
2006-05-04 19:15:02 +00:00
peter1138
0a16393ffe
(svn r4737) - Newstations: 'real' groups picked the wrong set of loading or loaded sprites
2006-05-04 18:10:17 +00:00
peter1138
263281ef82
(svn r4736) - Newstations: use the correct value for PBS status (No PBS)
2006-05-04 18:07:18 +00:00
peter1138
d8ea65dc82
(svn r4734) - Newstations: add more variables and fix a division by zero.
2006-05-04 07:26:30 +00:00
peter1138
fe6801bb57
(svn r4729) - Newstations: replace old station resolver with new resolver code (as has happened for vehicles)
2006-05-03 21:35:33 +00:00
peter1138
be5744ae50
(svn r4723) - Newstations: add TileIndex parameter to station resolver.
2006-05-03 21:19:21 +00:00
peter1138
102ca98c1c
(svn r4707) - NewGRF: minor code duffage; return early and less indentation.
2006-05-03 11:19:17 +00:00
belugas
187013b6a3
(svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.
...
This is following the same scheme as for IndustrySpec
2006-04-27 18:28:56 +00:00
peter1138
2f01c7d990
(svn r4583) - NewGRF: Revamp sprite group loading to support advanced varadjusts and variable size. These are not yet processed, however.
2006-04-26 20:44:28 +00:00
peter1138
70bd867d71
(svn r4551) - NewGRF: add string handling for newstations.
2006-04-23 18:37:06 +00:00
peter1138
fe6dadad7b
(svn r4484) - Newstations: Use StringIDs instead of char*s to reference our custom names.
2006-04-20 17:04:08 +00:00
peter1138
de84d6338d
(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.
2006-04-19 07:17:00 +00:00
peter1138
71b530dfe2
(svn r4459) - Newstations: check pointer for NULL before using it.
2006-04-17 18:35:44 +00:00
peter1138
05d7d046c7
(svn r3530) - NewGRF: Move station resolver to newgrf_station
2006-02-03 23:02:01 +00:00
peter1138
ea4c5bbd2d
(svn r3525) - Rename station_newgrf.[ch] to newgrf_station.[ch], and update project files.
2006-02-03 15:51:00 +00:00