summaryrefslogtreecommitdiff
path: root/newgrf_station.c
AgeCommit message (Collapse)Author
2006-11-28(svn r7282) -Fix (r625): ttdpatch vars are little endianpeter1138
2006-10-11(svn r6741) - Codechange: Simplify and unify resolving of station groups, ↵peter1138
and use the first available cargo type instead of only the default.
2006-08-20(svn r6013) -Fix: some newgrf properties returned the date in the new format ↵rubidium
where the newgrf's expect the original format. Thanks to michi_cc for finding these and providing the initial patch.
2006-08-14(svn r5887) -Cleanup: move date related functions, defines and variables to ↵rubidium
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-01(svn r5690) Factor common code to reduce code duplicationtron
2006-08-01(svn r5689) Default a station tile to be electrifiable if there is no other ↵tron
information available. I suppose this was a copy&paste error
2006-07-29(svn r5632) Replace a boolean variable in DeallocateSpecFromStation() by a ↵tron
return Also set the return type to void, because the caller doesn't care about it
2006-07-27(svn r5624) Use {IsPlainRailTile,IsRailDepot,IsRailWaypoint,HasSignals}() ↵tron
instead of GetRailTile{T,Subt}ype() - this is more concise and a bit more flexible if/when the rail tile encoding changes
2006-05-23(svn r4960) - NewGRF: explicitly handle unsupported variables, instead of ↵peter1138
returning -1.
2006-05-12(svn r4856) - Newstations: catenary was not drawn on some station tilesglx
2006-05-09(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and ↵rubidium
RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
2006-05-09(svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are ↵peter1138
only four bits
2006-05-08(svn r4785) - Newstations: don't draw catenary on non-track tilesglx
2006-05-08(svn r4783) - Newstations: fix graphical bug that affected some stations ↵peter1138
when a station has a high amount of cargo waiting.
2006-05-08(svn r4782) - Newstations: fix issue with saving/loading games with ↵peter1138
newstations on big endian architectures.
2006-05-07(svn r4772) - Newstations: when allocating a custom station (via action ↵peter1138
0x03) check if the station has already been allocated. (Fixes duplicate waypoints in newstatsw in non-temperate climate)
2006-05-07(svn r4767) - Newstations: fix loading / use of custom ground spritespeter1138
2006-05-06(svn r4758) - Newstations: add support for 'blocked' station tiles, which no ↵peter1138
train can pass.
2006-05-06(svn r4757) - Newstations: add saveload support for custom station speclistspeter1138
2006-05-06(svn r4755) - Newstations: add a gui station tile drawing routine and use it ↵peter1138
in place of the existing one for waypoints.
2006-05-06(svn r4749) - Newstations: add snowline support to variable 42.peter1138
2006-05-06(svn r4747) - Newstations: implement support for variables 40, 41, 46, 47 ↵peter1138
and 49.
2006-05-05(svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains ↵KUDr
about missing sprite.c
2006-05-04(svn r4740) - Newstations: add function to evaluate station callbackspeter1138
2006-05-04(svn r4739) - Newstations: remove cargo type parameter of ↵peter1138
GetCustomStationRelocation() as we can determine it internally
2006-05-04(svn r4738) - Newstations: attach all sprite group cargo types, not just the ↵peter1138
default and purchase pseudo types, to a station spec.
2006-05-04(svn r4737) - Newstations: 'real' groups picked the wrong set of loading or ↵peter1138
loaded sprites
2006-05-04(svn r4736) - Newstations: use the correct value for PBS status (No PBS)peter1138
2006-05-04(svn r4734) - Newstations: add more variables and fix a division by zero.peter1138
2006-05-03(svn r4729) - Newstations: replace old station resolver with new resolver ↵peter1138
code (as has happened for vehicles)
2006-05-03(svn r4723) - Newstations: add TileIndex parameter to station resolver.peter1138
2006-05-03(svn r4707) - NewGRF: minor code duffage; return early and less indentation.peter1138
2006-04-27(svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.belugas
This is following the same scheme as for IndustrySpec
2006-04-26(svn r4583) - NewGRF: Revamp sprite group loading to support advanced ↵peter1138
varadjusts and variable size. These are not yet processed, however.
2006-04-23(svn r4551) - NewGRF: add string handling for newstations.peter1138
2006-04-20(svn r4484) - Newstations: Use StringIDs instead of char*s to reference our ↵peter1138
custom names.
2006-04-19(svn r4473) - Newstations:peter1138
- 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-17(svn r4459) - Newstations: check pointer for NULL before using it.peter1138
2006-02-03(svn r3530) - NewGRF: Move station resolver to newgrf_stationpeter1138
2006-02-03(svn r3525) - Rename station_newgrf.[ch] to newgrf_station.[ch], and update ↵peter1138
project files.