station_cmd.c
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)
Mon, 03 Apr 2006 18:11:42 +0000 Darkvater (svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)
Mon, 03 Apr 2006 14:25:32 +0000 celestar (svn r4259) -[multistop] Fix/Feature/Codechange:
Mon, 03 Apr 2006 13:02:33 +0000 celestar (svn r4257) -Codechange: Renamed the airport_map5_tiles_* variables into airport_sections_*
Mon, 03 Apr 2006 09:07:21 +0000 celestar (svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
Sun, 02 Apr 2006 12:49:18 +0000 tron (svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo
Thu, 30 Mar 2006 12:00:35 +0000 celestar (svn r4173) -Codechange: Use IsClearWaterTile for buoy construction
Wed, 29 Mar 2006 20:35:39 +0000 belugas (svn r4157) CodeChange : Keep on cleaning up Celestar's elrail merge
Wed, 29 Mar 2006 16:30:26 +0000 celestar (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
Sun, 26 Mar 2006 22:23:32 +0000 Darkvater (svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Sun, 26 Mar 2006 14:41:39 +0000 celestar (svn r4113) Moved all relevant map functions for stations to station_map.[ch]
Sun, 26 Mar 2006 11:08:44 +0000 tron (svn r4111) Fix/Remove some stale comments
Fri, 24 Mar 2006 08:55:08 +0000 tron (svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile
Tue, 21 Mar 2006 20:02:05 +0000 tron (svn r3996) -Fix: Slope and height information returned for some tile types is wrong
Sat, 18 Mar 2006 08:00:27 +0000 celestar (svn r3939) -Fix: No longer assume that the number of slots is 2. It was not a problem up to now, but it's not The Right Thing (TM) to do either
Fri, 17 Mar 2006 10:10:31 +0000 tron (svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}()
Thu, 16 Mar 2006 00:20:33 +0000 Darkvater (svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used
Sun, 12 Mar 2006 12:19:25 +0000 tron (svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable
Wed, 08 Mar 2006 08:28:48 +0000 tron (svn r3787) Use DirToDiagDir() instead of >> 1
Wed, 08 Mar 2006 06:55:33 +0000 tron (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
Thu, 02 Mar 2006 08:55:12 +0000 celestar (svn r3730) Multistop modifications:
Wed, 01 Mar 2006 21:00:44 +0000 tron (svn r3714) Add functions to turn tiles into water and shore tiles
Wed, 01 Mar 2006 09:40:34 +0000 tron (svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes
Tue, 21 Feb 2006 07:41:54 +0000 tron (svn r3644) Don't use FindLandscapeHeightByTile() when it's overkill - often it was just a complicated way of writing GetTileSlope(tile, NULL)
Mon, 20 Feb 2006 19:43:26 +0000 Darkvater (svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION