Darkvater
80814dbb1d
(svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
...
DiagDirections, and add TileOffsByDir that handles Directions.
-Codechange: Make the treeloop use TileOffsByDir().
18 years ago
tron
7ec704564a
(svn r5582) Add and use AxisToTrack{Bits,}()
18 years ago
truelight
15e959d520
(svn r5494) -Fix: [ #241 ] an enum with 2 equal numbers is rarely a good idea ;) (RichK67)
18 years ago
richk
1423445050
(svn r5362) - Fix: Updated sprites in New Airports to be allow cleaner replacement by newgrf graphics. All tiles now use SPR_AIRPORT_APRON as the tarmac. Created two new sprites in airports.grf for half-grass half-tarmac tiles on Intercontinental airport.
18 years ago
richk
a832ca51fe
(svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.
...
Commuter airport: Small. 5x4. 3 terminals, 2 helipads.
Intercontinental: massive. 9x11. 8 terminals, 2 helipads, 4 runways.
Helidepot: a small heliport with a depot for helis only.
Helistation: a large heliport with 3 helipads and a depot.
18 years ago
tron
1ad425e802
(svn r5309) Partially fix the rail header dependency fiasco: rail_map.h now depends on rail.h and not the other way round anymore
18 years ago
KUDr
5e73dce0e7
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
18 years ago
tron
65c06663ba
(svn r4938) Remove STATION_HANGAR, because it isn't really a station type of its own
19 years ago
peter1138
6e2b98b060
(svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass.
19 years ago
peter1138
530b413612
(svn r4724) - Newstations: Add per-tile random data for station tiles.
19 years ago
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.
19 years ago
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
19 years ago
belugas
26f7c1c764
(svn r4404) Reverted part of r4403. GetRailStationAxis need assertion on IsRailwayStation. Thanks glx for spotting it
19 years ago
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
19 years ago
celestar
9760d3dccf
(svn r4319) -Codechange: Station map accessors
19 years ago
celestar
c0cb020c80
(svn r4317) -Codechange: More map accessors for ship_cmd. it is now map-access free, but still requires a huge cleanup
19 years ago
celestar
a281b0ebd3
(svn r4275) -Codechange: Use of map accessor functions inside station_map.h when possible
19 years ago
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
19 years ago
celestar
8b151d8faa
(svn r4272) -Codechange: Moved the map-accessing stuff from station.h into station_map.h
19 years ago
celestar
446493149c
(svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency
19 years ago
celestar
ac7c9b6051
(svn r4169) -Codechange: Removed an include which accidently slipped into a commit
19 years ago
celestar
d7a6b26c39
(svn r4168) -Fix: Fixed a typo in previous commit
19 years ago
tron
7ad0d787e2
(svn r4166) Sprinkle several map accessors with assert()s
19 years ago
celestar
3ae99e17bb
(svn r4155) -Changed GetRoadStopByTile to use GetStationType and moved it. TODO: unify RS_TRUCK and STATION_TRUCK (same for bus)
19 years ago
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)
19 years ago
tron
cda8934a55
(svn r4120) Use the new station functions where appropriate
19 years ago
tron
8f60df1817
(svn r4119) There's one more possible hangar tile. Check for this in IsHangar(), too
19 years ago
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
19 years ago
tron
9be713f1ae
(svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile
19 years ago