station_cmd.c
Sat, 05 Aug 2006 17:00:09 +0000 tron (svn r5773) Clarify why the owner is checked before a palette is chosen when drawing a station tile: some stations are not owned by players
Wed, 26 Jul 2006 10:00:33 +0000 tron (svn r5615) Move GetStationTileForVehicle() to its only user
Sat, 22 Jul 2006 08:59:52 +0000 tron (svn r5582) Add and use AxisToTrack{Bits,}()
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sun, 25 Jun 2006 13:42:37 +0000 richk (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.
Fri, 23 Jun 2006 22:05:40 +0000 richk (svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Wed, 07 Jun 2006 19:35:21 +0000 tron (svn r5155) - Remove the bridge branch merge (revision r5070)
Fri, 02 Jun 2006 13:05:41 +0000 celestar (svn r5070) Merged the bridge branch
Thu, 01 Jun 2006 09:41:35 +0000 celestar (svn r5063) -Codechange: Add a function to determine the length of a platform (request by KUDr)
Sat, 27 May 2006 16:12:16 +0000 KUDr (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Sun, 21 May 2006 13:51:36 +0000 tron (svn r4940) Remove the dubious feature of remembering the last built depot. It serves no real purpose except causing confusion
Sun, 21 May 2006 12:01:57 +0000 tron (svn r4938) Remove STATION_HANGAR, because it isn't really a station type of its own
Sat, 20 May 2006 15:13:27 +0000 tron (svn r4918) Move the information about the size of airports from an global array into the struct which describes an airport
Fri, 19 May 2006 19:36:17 +0000 KUDr (svn r4915) - Fix: SLE_UINT8 replaced by SLE_BOOL for bool variables (found by Celestar)
Thu, 11 May 2006 10:33:58 +0000 celestar (svn r4822) -Feature: Station List View can now be sorted and filtered (by waiting cargo type and facilities)
Mon, 08 May 2006 21:59:36 +0000 glx (svn r4785) - Newstations: don't draw catenary on non-track tiles
Mon, 08 May 2006 06:22:01 +0000 peter1138 (svn r4780) - Newstations: when building using a dynamic layout, add the station axis to the returned tile type. Also supply correct parameters to var 10.
Sun, 07 May 2006 10:58:53 +0000 peter1138 (svn r4767) - Newstations: fix loading / use of custom ground sprites
Sat, 06 May 2006 22:55:21 +0000 peter1138 (svn r4763) - Newstations: revert r4762, instead map bit the palette modifier from bit 14 to bit 31 on GRF load.
Sat, 06 May 2006 22:32:54 +0000 peter1138 (svn r4762) - Newstations: make child sprites transparent.
Sat, 06 May 2006 22:30:36 +0000 peter1138 (svn r4761) - Newstations: support platform information in variable 10 (callback parameter 1) when building a station
Sat, 06 May 2006 22:08:14 +0000 peter1138 (svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass.
Sat, 06 May 2006 21:46:26 +0000 peter1138 (svn r4757) - Newstations: add saveload support for custom station speclists
Sat, 06 May 2006 20:33:22 +0000 peter1138 (svn r4754) - Newstations: expose default station display data via a function so we can use it (rarely) in other places.
Thu, 04 May 2006 20:00:50 +0000 peter1138 (svn r4742) - Newstations: Add callbacks for building and drawing custom stations.
Thu, 04 May 2006 19:21:16 +0000 peter1138 (svn r4739) - Newstations: remove cargo type parameter of GetCustomStationRelocation() as we can determine it internally
Wed, 03 May 2006 21:25:49 +0000 peter1138 (svn r4724) - Newstations: Add per-tile random data for station tiles.
Wed, 03 May 2006 21:19:21 +0000 peter1138 (svn r4723) - Newstations: add TileIndex parameter to station resolver.
Wed, 03 May 2006 20:35:41 +0000 peter1138 (svn r4719) - Newstations: instead of drawing nothing, fall back to the default sprite layout if a station layout specifies so.
Mon, 01 May 2006 09:34:23 +0000 matthijs (svn r4640) - Add: IsValidDiagDirection, IsValidDirection and IsValidAxis functions.
Sat, 29 Apr 2006 09:47:43 +0000 celestar (svn r4619) -Codechange: Rename FindRoadStationSpot into FindRoadStopSpot and try to document it a little.
Fri, 28 Apr 2006 20:48:45 +0000 peter1138 (svn r4612) - NewStations: add random bits (for graphic variation) to stations
Fri, 28 Apr 2006 01:52:32 +0000 glx (svn r4602) - Fix: an assertion triggered when building a station near the south corner of the map (appeared in r4367)
Thu, 27 Apr 2006 18:28:56 +0000 belugas (svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.
Tue, 25 Apr 2006 07:32:33 +0000 tron (svn r4572) Remove vehicle_leave_tile_proc
Sun, 23 Apr 2006 19:35:36 +0000 tron (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
Sun, 23 Apr 2006 13:48:16 +0000 tron (svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums
Sat, 22 Apr 2006 13:56:16 +0000 Darkvater (svn r4529) - Codechange: Use proper naming for hex numbers in debug prints eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
Wed, 19 Apr 2006 07:17:00 +0000 peter1138 (svn r4473) - Newstations:
Tue, 18 Apr 2006 18:48:50 +0000 peter1138 (svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
Tue, 18 Apr 2006 08:50:17 +0000 celestar (svn r4466) -Fix: (FS#71) Game no longer crashes when the last vehicle serving a station has been deleted.
Mon, 17 Apr 2006 19:26:18 +0000 peter1138 (svn r4462) - Newstations: ensure the chosen tile layout is available from a custom station
Mon, 17 Apr 2006 18:47:50 +0000 peter1138 (svn r4460) - Newstations: remove unused class_id / stat_id variables from the
Sun, 16 Apr 2006 17:29:37 +0000 peter1138 (svn r4450) - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics.
Sat, 15 Apr 2006 03:08:14 +0000 belugas (svn r4426) Code Cleaning : replacing tabs with spaces, removing obvious comments, aligning arrays etc...
Sat, 15 Apr 2006 01:06:53 +0000 belugas (svn r4425) Fix bug introduced in r4411 : while IS_BYTE_INSIDE, max value is STRICKLY LESS THEN. This caused airports animations to stay unanimated. Industries were similarly affected.
Fri, 14 Apr 2006 01:54:07 +0000 belugas (svn r4411) CodeChange : Define and use some Gfx for both stations and industries. More are still to come
Wed, 12 Apr 2006 20:01:52 +0000 belugas (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
Wed, 12 Apr 2006 12:33:21 +0000 peter1138 (svn r4383) - Codechange: Remove extraneous code from 4354; no need to get RailTypeInfo when we already have it...
Tue, 11 Apr 2006 22:09:21 +0000 belugas (svn r4367) CodeChange : Remove another direct map access in station_cmd.c. Replace an array of TileIndexDiffC by a use of loop with TileDiffXY. Thanks to Rubidium
Tue, 11 Apr 2006 10:45:06 +0000 peter1138 (svn r4354) [Elrail][NewGRF] Codechange: Drawing of custom waypoints with custom ground sprites used the index of the rail type as an offset. With the introduction of elrails this offset is incorrect, so instead there is now a lookup table within the RailTypeInfo struct to explicitly list the offset.
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Sun, 09 Apr 2006 08:25:43 +0000 tron (svn r4331) Replace some direction calculation magic with DiagDirection to make a bit more clear what's going on
Sat, 08 Apr 2006 13:58:19 +0000 tron (svn r4325) When updating the vehicle count for road stops after load use the slot pointer of the vehicle instead of recalculating the road stop using the destination tile of the vehicle. Apart from being more simple this could prevent a inconsistency of slot information in the edge case when the destination tile isn't the tile of the assigned slot.
Sat, 08 Apr 2006 13:50:01 +0000 tron (svn r4324) Remove the unused road stop type attribute from struct RoadStop
Sat, 08 Apr 2006 13:32:38 +0000 tron (svn r4323) -Regression: Clear the slot assignments of all vehicles heading twoards a road stop if that road stop gets removed
Sat, 08 Apr 2006 05:44:37 +0000 celestar (svn r4320) -Fix/Codechange: rs->num_vehicles is no longer saved or loaded, but computed on the fly. Partly fixes FS#101
Sat, 08 Apr 2006 05:24:29 +0000 celestar (svn r4319) -Codechange: Station map accessors
Fri, 07 Apr 2006 09:37:04 +0000 celestar (svn r4316) -Codechange: finished r4257 (forgot one variable there)