station_cmd.c
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
Sat, 18 Feb 2006 14:41:24 +0000 tron (svn r3613) Some more const, indentation, whitespace and similar stuff
Sat, 18 Feb 2006 14:11:23 +0000 peter1138 (svn r3612) - RoadStop->slot[] stores a vehicle index. Adjust its type and use INVALID_VEHICLE instead of nonsense INVALID_SLOT.
Thu, 09 Feb 2006 06:33:37 +0000 tron (svn r3582) Restructure MoveGoodsToStation() to avoid double bookkeeping of StationIDs and station pointers
Thu, 09 Feb 2006 06:24:53 +0000 tron (svn r3581) Just noticed the indentation was totally off, fix it
Thu, 09 Feb 2006 06:15:12 +0000 tron (svn r3580) Some small cleanups before the real change, especially reduce the indentation by one by using continue
Mon, 06 Feb 2006 09:18:04 +0000 tron (svn r3564) Several smaller changes:
Fri, 03 Feb 2006 23:02:01 +0000 peter1138 (svn r3530) - NewGRF: Move station resolver to newgrf_station
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Sun, 29 Jan 2006 18:57:26 +0000 Darkvater (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
Fri, 06 Jan 2006 17:45:43 +0000 peter1138 (svn r3372) - Fix: update signal states when building or removing rail station blocks
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Thu, 29 Dec 2005 12:42:59 +0000 tron (svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length
Sun, 25 Dec 2005 15:05:59 +0000 truelight (svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform
Sun, 18 Dec 2005 12:10:46 +0000 tron (svn r3313) Remove GPMI related changes from trunk
Wed, 14 Dec 2005 15:54:23 +0000 truelight (svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_