Commit Graph

38 Commits (3803cec1f25be2268562be5fed281a60bad49051)

Author SHA1 Message Date
rubidium 29c8097986 (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. 18 years ago
rubidium 9fc837ad85 (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
18 years ago
tron 2ee4ebfa39 (svn r5690) Factor common code to reduce code duplication 18 years ago
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. 18 years ago
glx e9fcaf1227 (svn r4856) - Newstations: catenary was not drawn on some station tiles 18 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 18 years ago
peter1138 dd69f010b3 (svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are only four bits 18 years ago
glx 8bb61ca472 (svn r4785) - Newstations: don't draw catenary on non-track tiles 18 years ago
peter1138 9c1282d283 (svn r4783) - Newstations: fix graphical bug that affected some stations when a station has a high amount of cargo waiting. 18 years ago
peter1138 e4aed98827 (svn r4782) - Newstations: fix issue with saving/loading games with newstations on big endian architectures. 18 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) 18 years ago
peter1138 9d6ddd364e (svn r4767) - Newstations: fix loading / use of custom ground sprites 18 years ago
peter1138 c778716264 (svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass. 18 years ago
peter1138 6b8b8395e4 (svn r4757) - Newstations: add saveload support for custom station speclists 18 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. 18 years ago
peter1138 9b7ac6acb6 (svn r4749) - Newstations: add snowline support to variable 42. 18 years ago
peter1138 bd839bd52e (svn r4747) - Newstations: implement support for variables 40, 41, 46, 47 and 49. 18 years ago
KUDr 607f88410e (svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c 18 years ago
peter1138 c22e79d551 (svn r4740) - Newstations: add function to evaluate station callbacks 18 years ago
peter1138 e5d936d0fe (svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally 18 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. 18 years ago
peter1138 7b7c476555 (svn r4737) - Newstations: 'real' groups picked the wrong set of loading or loaded sprites 18 years ago
peter1138 786f9992be (svn r4736) - Newstations: use the correct value for PBS status (No PBS) 18 years ago
peter1138 1b255c09a1 (svn r4734) - Newstations: add more variables and fix a division by zero. 18 years ago
peter1138 3c8db0683f (svn r4729) - Newstations: replace old station resolver with new resolver code (as has happened for vehicles) 18 years ago
peter1138 c722c88f43 (svn r4723) - Newstations: add TileIndex parameter to station resolver. 18 years ago
peter1138 a364ec2397 (svn r4707) - NewGRF: minor code duffage; return early and less indentation. 18 years ago
belugas 3ac1832fd1 (svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.
This is following the same scheme as for IndustrySpec
18 years ago
peter1138 60cc7337e5 (svn r4583) - NewGRF: Revamp sprite group loading to support advanced varadjusts and variable size. These are not yet processed, however. 18 years ago
peter1138 b4ba26bce7 (svn r4551) - NewGRF: add string handling for newstations. 18 years ago
peter1138 c8b1ff8654 (svn r4484) - Newstations: Use StringIDs instead of char*s to reference our custom names. 18 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.
18 years ago
peter1138 712499fc8f (svn r4459) - Newstations: check pointer for NULL before using it. 18 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