Commit Graph

21 Commits

Author SHA1 Message Date
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
530b413612 (svn r4724) - Newstations: Add per-tile random data for station tiles. 2006-05-03 21:25:49 +00:00
peter1138
857b8b045b (svn r4450) - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics. 2006-04-16 17:29:37 +00:00
belugas
e84d878213 (svn r4411) CodeChange : Define and use some Gfx for both stations and industries. More are still to come
Also, a bit of code cleaning, as pointed by Tron
2006-04-14 01:54:07 +00:00
belugas
26f7c1c764 (svn r4404) Reverted part of r4403. GetRailStationAxis need assertion on IsRailwayStation. Thanks glx for spotting it 2006-04-12 20:33:01 +00:00
belugas
b505564ee7 (svn r4403) CodeChange : Add GetStationGfx and make use of [G|S]etStationGfx accessors. Also, use GetStationGfx instead of directly accessing the map for functions in station_map.h 2006-04-12 20:01:52 +00:00
celestar
9760d3dccf (svn r4319) -Codechange: Station map accessors 2006-04-08 05:24:29 +00:00
celestar
c0cb020c80 (svn r4317) -Codechange: More map accessors for ship_cmd. it is now map-access free, but still requires a huge cleanup 2006-04-07 15:57:03 +00:00
celestar
a281b0ebd3 (svn r4275) -Codechange: Use of map accessor functions inside station_map.h when possible 2006-04-04 11:51:16 +00:00
celestar
3ff5b879d0 (svn r4273) -Fix: Removed a problem where trains would stop in the middle of a platform if there were both elrails and convrails along the platform 2006-04-04 11:45:54 +00:00
celestar
8b151d8faa (svn r4272) -Codechange: Moved the map-accessing stuff from station.h into station_map.h 2006-04-04 11:35:52 +00:00
celestar
446493149c (svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency 2006-03-31 19:10:54 +00:00
celestar
ac7c9b6051 (svn r4169) -Codechange: Removed an include which accidently slipped into a commit 2006-03-30 11:05:05 +00:00
celestar
d7a6b26c39 (svn r4168) -Fix: Fixed a typo in previous commit 2006-03-30 10:53:31 +00:00
tron
7ad0d787e2 (svn r4166) Sprinkle several map accessors with assert()s 2006-03-30 09:29:01 +00:00
celestar
3ae99e17bb (svn r4155) -Changed GetRoadStopByTile to use GetStationType and moved it. TODO: unify RS_TRUCK and STATION_TRUCK (same for bus) 2006-03-29 19:37:18 +00:00
celestar
2aff28be2b (svn r4143) -[FS#86]: Fixed and obi-wan error in station_map.h that would lead to assertions in the airport handling (of international airports) 2006-03-29 06:51:13 +00:00
tron
cda8934a55 (svn r4120) Use the new station functions where appropriate 2006-03-26 19:20:15 +00:00
tron
8f60df1817 (svn r4119) There's one more possible hangar tile. Check for this in IsHangar(), too 2006-03-26 19:03:03 +00:00
celestar
3770ad0637 (svn r4113) Moved all relevant map functions for stations to station_map.[ch]
Some work with animated tiles remains. Thanks to Tron for parts of the code and lots of proof-reading and suggesting
2006-03-26 14:41:39 +00:00
tron
9be713f1ae (svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile 2006-03-24 08:55:08 +00:00