Commit Graph

37 Commits

Author SHA1 Message Date
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
2006-08-14 14:21:15 +00:00
tron
2ee4ebfa39 (svn r5690) Factor common code to reduce code duplication 2006-08-01 06:08:11 +00:00
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 2006-08-01 06:04:50 +00:00
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
2006-07-29 17:39:58 +00:00
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 2006-07-27 05:30:53 +00:00
peter1138
1ed3c5778b (svn r4960) - NewGRF: explicitly handle unsupported variables, instead of returning -1. 2006-05-23 19:36:50 +00:00
glx
e9fcaf1227 (svn r4856) - Newstations: catenary was not drawn on some station tiles 2006-05-12 23:44:20 +00:00
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 2006-05-09 08:17:33 +00:00
peter1138
dd69f010b3 (svn r4786) - Newstations: in GetPlatformInfo() ensure negative values are only four bits 2006-05-09 06:52:28 +00:00
glx
8bb61ca472 (svn r4785) - Newstations: don't draw catenary on non-track tiles 2006-05-08 21:59:36 +00:00
peter1138
9c1282d283 (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
e4aed98827 (svn r4782) - Newstations: fix issue with saving/loading games with newstations on big endian architectures. 2006-05-08 13:35:25 +00:00
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) 2006-05-07 12:58:45 +00:00
peter1138
9d6ddd364e (svn r4767) - Newstations: fix loading / use of custom ground sprites 2006-05-07 10:58:53 +00:00
peter1138
c778716264 (svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass. 2006-05-06 22:08:14 +00:00
peter1138
6b8b8395e4 (svn r4757) - Newstations: add saveload support for custom station speclists 2006-05-06 21:46:26 +00:00
peter1138
db77493ac0 (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
9b7ac6acb6 (svn r4749) - Newstations: add snowline support to variable 42. 2006-05-06 09:43:38 +00:00
peter1138
bd839bd52e (svn r4747) - Newstations: implement support for variables 40, 41, 46, 47 and 49. 2006-05-06 09:31:06 +00:00
KUDr
607f88410e (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
c22e79d551 (svn r4740) - Newstations: add function to evaluate station callbacks 2006-05-04 19:27:41 +00:00
peter1138
e5d936d0fe (svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally 2006-05-04 19:21:16 +00:00
peter1138
7a91a966ea (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
7b7c476555 (svn r4737) - Newstations: 'real' groups picked the wrong set of loading or loaded sprites 2006-05-04 18:10:17 +00:00
peter1138
786f9992be (svn r4736) - Newstations: use the correct value for PBS status (No PBS) 2006-05-04 18:07:18 +00:00
peter1138
1b255c09a1 (svn r4734) - Newstations: add more variables and fix a division by zero. 2006-05-04 07:26:30 +00:00
peter1138
3c8db0683f (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
c722c88f43 (svn r4723) - Newstations: add TileIndex parameter to station resolver. 2006-05-03 21:19:21 +00:00
peter1138
a364ec2397 (svn r4707) - NewGRF: minor code duffage; return early and less indentation. 2006-05-03 11:19:17 +00:00
belugas
3ac1832fd1 (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
60cc7337e5 (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
b4ba26bce7 (svn r4551) - NewGRF: add string handling for newstations. 2006-04-23 18:37:06 +00:00
peter1138
c8b1ff8654 (svn r4484) - Newstations: Use StringIDs instead of char*s to reference our custom names. 2006-04-20 17:04:08 +00:00
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.
2006-04-19 07:17:00 +00:00
peter1138
712499fc8f (svn r4459) - Newstations: check pointer for NULL before using it. 2006-04-17 18:35:44 +00:00
peter1138
a3c14182d3 (svn r3530) - NewGRF: Move station resolver to newgrf_station 2006-02-03 23:02:01 +00:00
peter1138
50ff85428b (svn r3525) - Rename station_newgrf.[ch] to newgrf_station.[ch], and update project files. 2006-02-03 15:51:00 +00:00