waypoint.c
Sun, 09 Sep 2007 22:35:21 +0000 rubidium (svn r11077) [0.5] -Fix: Possible NULL pointer dereference. 0.5
Thu, 28 Jun 2007 14:31:46 +0000 rubidium (svn r10374) [0.5] -Backport from trunk (r10333, r10336, r10337, r10345, 10346, 10368): 0.5
Thu, 21 Dec 2006 00:13:56 +0000 Darkvater (svn r7521) -Codechange: Rename UpdateAllWaypointCustomGraphics to AfterLoadWaypoints to be more conforming with other such functions.
Wed, 20 Dec 2006 23:41:24 +0000 KUDr (svn r7519) -Fix: [YAPF] Cache was not deleted when waypoint was built or removed (frosch)
Sun, 03 Dec 2006 17:27:43 +0000 matthijs (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
Sat, 28 Oct 2006 11:59:10 +0000 tron (svn r6987) Use the pool macros for the Waypoint pool
Sun, 03 Sep 2006 08:25:27 +0000 tron (svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as large as any type of destinataion (StationID, DepotID, WaypointID) it can hold
Thu, 31 Aug 2006 19:29:24 +0000 truelight (svn r6285) -Fix r6143: of course deleting a waypoint should call the Delete wrapper, not the Destroy function (/me slaps hisself)
Sat, 26 Aug 2006 17:34:48 +0000 truelight (svn r6148) -Fix r6146: mostly it is useful to declare a variable in the function you use it (tnx Tron)
Sat, 26 Aug 2006 17:31:47 +0000 truelight (svn r6146) -Fix: MSVC doesn't know how to cast to an union.. so fix it via an indirect (and btw the old) way
Sat, 26 Aug 2006 16:46:32 +0000 truelight (svn r6143) -Codechange: DeleteWaypoint removes a waypoint from the pool
Sat, 26 Aug 2006 16:34:03 +0000 truelight (svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore)
Tue, 22 Aug 2006 18:15:17 +0000 truelight (svn r6053) -Codechange: renamed all IsXXXIndex to IsValidXXXID
Tue, 22 Aug 2006 17:13:49 +0000 truelight (svn r6052) -Codechange: change OrderType (order->type) in a typedef
Tue, 22 Aug 2006 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Sun, 20 Aug 2006 18:40:57 +0000 rubidium (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Wed, 21 Jun 2006 11:30:28 +0000 tron (svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information
Wed, 21 Jun 2006 11:13:02 +0000 tron (svn r5325) Don't test something if we already know the result true, because the same test was performed just a few lines before
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
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.
Tue, 09 May 2006 08:17:33 +0000 rubidium (svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
Sat, 06 May 2006 20:48:40 +0000 peter1138 (svn r4755) - Newstations: add a gui station tile drawing routine and use it in place of the existing one for waypoints.
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:19:21 +0000 peter1138 (svn r4723) - Newstations: add TileIndex parameter to station resolver.
Thu, 27 Apr 2006 18:28:56 +0000 belugas (svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.
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
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 06:42:14 +0000 celestar (svn r4464) -Codechange: Oops, forgot one file in last commit
Mon, 17 Apr 2006 18:47:50 +0000 peter1138 (svn r4460) - Newstations: remove unused class_id / stat_id variables from the
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 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
Wed, 05 Apr 2006 05:22:42 +0000 celestar (svn r4280) -Codechange: Add and make use of map accessors concerning railway waypoints
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, 26 Mar 2006 22:58:11 +0000 Darkvater (svn r4133) - Some miscellaneous changes (unconverted TownID in function definition, Owner instead of byte, remove obsolete member and compare waypoint index with 0 not STR_NULL)
Sun, 19 Mar 2006 12:06:12 +0000 tron (svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles
Fri, 17 Mar 2006 10:10:31 +0000 tron (svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}()
Wed, 08 Mar 2006 06:55:33 +0000 tron (svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
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
Wed, 01 Mar 2006 08:56:38 +0000 tron (svn r3696) Add functions to turn a tile into a normal rail tile/depot/waypoint. This is just a tiny step, the rail code needs way more love and caring
Mon, 20 Feb 2006 19:43:26 +0000 Darkvater (svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION
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)
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Wed, 14 Dec 2005 06:20:23 +0000 tron (svn r3297) Staticise
Wed, 16 Nov 2005 22:20:15 +0000 peter1138 (svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct.
Wed, 16 Nov 2005 14:41:01 +0000 truelight (svn r3210) -Codechange: use IsRailWaypoint where possible (instead of magicnumbers)
Sat, 12 Nov 2005 00:19:34 +0000 peter1138 (svn r3167) - NewGRF: Start moving custom station code to separate files.
Fri, 11 Nov 2005 20:34:16 +0000 peter1138 (svn r3166) Constify read-only accesses of custom stations
Sat, 05 Nov 2005 18:13:40 +0000 peter1138 (svn r3140) Building/removing a waypoint could leave old PBS reservations behind. This ensures they are cleared.
Fri, 21 Oct 2005 06:04:17 +0000 peter1138 (svn r3075) -PBS: Keep track reservation state while building and removing a waypoint.
Sun, 16 Oct 2005 09:13:04 +0000 tron (svn r3049) Replace byte/int/uint by RailType where appropriate
Mon, 01 Aug 2005 16:31:19 +0000 ludde (svn r2781) Fix some of the issues with variables in .h files.
Sun, 31 Jul 2005 22:53:57 +0000 celestar (svn r2774) -Codechange: Removed TRACKTYPE_SPRITE_PITCH globally and replaced it by a member of RailtypeInfo
Sun, 24 Jul 2005 15:56:31 +0000 celestar (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files