peter1138 
							
						 
					 
					
						
						
							
						
						65c43cb425 
					 
					
						
						
							
							(svn r4473) - Newstations:  
						
						... 
						
						
						
						- Alter parameters of CMD_BUILD_RAILROAD_STATION to accept a custom station class and id.
  - Add a dynamically allocated list of custom stations that the SpecIndex (m4) references. 
						
						
					 
					
						2006-04-19 07:17:00 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						100cc6fea7 
					 
					
						
						
							
							(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.  
						
						
						
						
					 
					
						2006-04-18 18:48:50 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						277f8cbda2 
					 
					
						
						
							
							(svn r4466) -Fix: (FS#71) Game no longer crashes when the last vehicle serving a station has been deleted.  
						
						... 
						
						
						
						-Negative side effect: upon loading old games, stations whose last vehicle was a station have (temporarily) lower ratings.
   -Positive side effect: station.h no longer includes vehicle.h (breaks the station.h->vehicle.h->rail.h chain) 
						
						
					 
					
						2006-04-18 08:50:17 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						49160bde23 
					 
					
						
						
							
							(svn r4462) - Newstations: ensure the chosen tile layout is available from a custom station  
						
						
						
						
					 
					
						2006-04-17 19:26:18 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						7331bfd36a 
					 
					
						
						
							
							(svn r4460) - Newstations: remove unused class_id / stat_id variables from the  
						
						... 
						
						
						
						Station struct. 
						
						
					 
					
						2006-04-17 18:47:50 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						f52f3fa55d 
					 
					
						
						
							
							(svn r4450) - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics.  
						
						
						
						
					 
					
						2006-04-16 17:29:37 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						6ac73b104e 
					 
					
						
						
							
							(svn r4426) Code Cleaning : replacing tabs with spaces, removing obvious comments, aligning arrays etc...  
						
						
						
						
					 
					
						2006-04-15 03:08:14 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						ccfeb13047 
					 
					
						
						
							
							(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.  
						
						... 
						
						
						
						Thanks to Richk67 for finding it.
Also, more Gfx define and use. 
						
						
					 
					
						2006-04-15 01:06:53 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						c09109cc67 
					 
					
						
						
							
							(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 
						
						
					 
					
						2006-04-14 01:54:07 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						e09b87f56e 
					 
					
						
						
							
							(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  
						
						
						
						
					 
					
						2006-04-12 20:01:52 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						7b6e932d82 
					 
					
						
						
							
							(svn r4383) - Codechange: Remove extraneous code from 4354; no need to get RailTypeInfo when we already have it...  
						
						
						
						
					 
					
						2006-04-12 12:33:21 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						6f708b2efe 
					 
					
						
						
							
							(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  
						
						
						
						
					 
					
						2006-04-11 22:09:21 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						b87b68842a 
					 
					
						
						
							
							(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.  
						
						
						
						
					 
					
						2006-04-11 10:45:06 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						35e93e451f 
					 
					
						
						
							
							(svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex  
						
						... 
						
						
						
						Remove DoCommandByTile(), because now it does the same as DoCommand() 
						
						
					 
					
						2006-04-10 07:15:58 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						25366909ae 
					 
					
						
						
							
							(svn r4331) Replace some direction calculation magic with DiagDirection to make a bit more clear what's going on  
						
						
						
						
					 
					
						2006-04-09 08:25:43 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						78a74a94a6 
					 
					
						
						
							
							(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.  
						
						
						
						
					 
					
						2006-04-08 13:58:19 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a0e471a025 
					 
					
						
						
							
							(svn r4324) Remove the unused road stop type attribute from struct RoadStop  
						
						
						
						
					 
					
						2006-04-08 13:50:01 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d3f3f9ff3c 
					 
					
						
						
							
							(svn r4323) -Regression: Clear the slot assignments of all vehicles heading twoards a road stop if that road stop gets removed  
						
						... 
						
						
						
						This issue was fixed in r2210 and reintroduced in r4259 when the multistop handling was overhauled. 
						
						
					 
					
						2006-04-08 13:32:38 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						a12466403b 
					 
					
						
						
							
							(svn r4320) -Fix/Codechange: rs->num_vehicles is no longer saved or loaded, but computed on the fly. Partly fixes FS#101  
						
						
						
						
					 
					
						2006-04-08 05:44:37 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						75fa1601f2 
					 
					
						
						
							
							(svn r4319) -Codechange: Station map accessors  
						
						
						
						
					 
					
						2006-04-08 05:24:29 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						59c8408ccf 
					 
					
						
						
							
							(svn r4316) -Codechange: finished r4257 (forgot one variable there)  
						
						
						
						
					 
					
						2006-04-07 09:37:04 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						b02fc3b62b 
					 
					
						
						
							
							(svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)  
						
						
						
						
					 
					
						2006-04-03 18:11:42 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						8cbe98a3fd 
					 
					
						
						
							
							(svn r4259) -[multistop] Fix/Feature/Codechange:  
						
						... 
						
						
						
						1) Improved the road vehicle allocation (aka slotting) for multistop. Stops can now accept unlimited, er... 256, vehicles.
2) Removed the "wait for stop" feature, because it did not work in practise.
3) Slotting now ignores unreachable stations. Uses NPF at the moment because the old pathfinder cannot do it (yet)
4) Now matter how many vehicles approach a station, they will always be distributed evenly over existing stops.
5) Hopefully the last fundamental change to multistop 
						
						
					 
					
						2006-04-03 14:25:32 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						c6aac81a9d 
					 
					
						
						
							
							(svn r4257) -Codechange: Renamed the airport_map5_tiles_* variables into airport_sections_*  
						
						
						
						
					 
					
						2006-04-03 13:02:33 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						69e1c716e8 
					 
					
						
						
							
							(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  
						
						
						
						
					 
					
						2006-04-03 09:07:21 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7163a64c25 
					 
					
						
						
							
							(svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfo  
						
						
						
						
					 
					
						2006-04-02 12:49:18 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						45f65b1788 
					 
					
						
						
							
							(svn r4173) -Codechange: Use IsClearWaterTile for buoy construction  
						
						
						
						
					 
					
						2006-03-30 12:00:35 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						1cadf4ea53 
					 
					
						
						
							
							(svn r4157) CodeChange : Keep on cleaning up Celestar's elrail merge  
						
						
						
						
					 
					
						2006-03-29 20:35:39 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						6c44bf5012 
					 
					
						
						
							
							(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.  
						
						
						
						
					 
					
						2006-03-29 16:30:26 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						e91fa54a15 
					 
					
						
						
							
							(svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.  
						
						
						
						
					 
					
						2006-03-26 22:23:32 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						9b3b545259 
					 
					
						
						
							
							(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 
						
						
					 
					
						2006-03-26 14:41:39 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d0a445db41 
					 
					
						
						
							
							(svn r4111) Fix/Remove some stale comments  
						
						
						
						
					 
					
						2006-03-26 11:08:44 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						f6285a659c 
					 
					
						
						
							
							(svn r4079) Add GetSation{Index,ByTile}() to get the station index resp. the station from a tile  
						
						
						
						
					 
					
						2006-03-24 08:55:08 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						4d3364d811 
					 
					
						
						
							
							(svn r3996) -Fix: Slope and height information returned for some tile types is wrong  
						
						... 
						
						
						
						This leads to graphical glitches when drawing foundations.
This doesn't fix all problems, but at least some of them. 
						
						
					 
					
						2006-03-21 20:02:05 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						480ea7c671 
					 
					
						
						
							
							(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  
						
						
						
						
					 
					
						2006-03-18 08:00:27 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7b1c7c31fb 
					 
					
						
						
							
							(svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}()  
						
						
						
						
					 
					
						2006-03-17 10:10:31 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						650b1b0c93 
					 
					
						
						
							
							(svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used  
						
						... 
						
						
						
						- Also add this capability to settings 
						
						
					 
					
						2006-03-16 00:20:33 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7a0071cc53 
					 
					
						
						
							
							(svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable  
						
						
						
						
					 
					
						2006-03-12 12:19:25 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ab9af3b05d 
					 
					
						
						
							
							(svn r3787) Use DirToDiagDir() instead of >> 1  
						
						
						
						
					 
					
						2006-03-08 08:28:48 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						8cfcdaa733 
					 
					
						
						
							
							(svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends  
						
						
						
						
					 
					
						2006-03-08 06:55:33 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						db4777c818 
					 
					
						
						
							
							(svn r3730) Multistop modifications:  
						
						... 
						
						
						
						-Codechange: Completely rewritten the slot assignment system. It now consumes less CPU cycles and memory
-Codechange: Increased maximum number of roadstops to 16.
-Fix: Several conditions where a slot becomes unliked from a vehicle
-Codechange: ClearSlot now only takes one parameter, the vehicle
-Feature: Console command 'clearslots' to clear ALL currently assinged slots. debug usage only
-Feature: vehicles that cannot get a slot now wait on the road instead of planlessly blocking stops or circling around
-Codechange: Adjusted debug levels
TODO: Make the slot finder compatible with (a) pathfinder(s). 
						
						
					 
					
						2006-03-02 08:55:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						116fb6dff6 
					 
					
						
						
							
							(svn r3714) Add functions to turn tiles into water and shore tiles  
						
						
						
						
					 
					
						2006-03-01 21:00:44 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7b106a3d8f 
					 
					
						
						
							
							(svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes  
						
						
						
						
					 
					
						2006-03-01 09:40:34 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b8b6084da2 
					 
					
						
						
							
							(svn r3644) Don't use FindLandscapeHeightByTile() when it's overkill - often it was just a complicated way of writing GetTileSlope(tile, NULL)  
						
						
						
						
					 
					
						2006-02-21 07:41:54 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						bf27f0c77b 
					 
					
						
						
							
							(svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION  
						
						
						
						
					 
					
						2006-02-20 19:43:26 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7692556c62 
					 
					
						
						
							
							(svn r3613) Some more const, indentation, whitespace and similar stuff  
						
						
						
						
					 
					
						2006-02-18 14:41:24 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						95ce125633 
					 
					
						
						
							
							(svn r3612) - RoadStop->slot[] stores a vehicle index. Adjust its type and use INVALID_VEHICLE instead of nonsense INVALID_SLOT.  
						
						
						
						
					 
					
						2006-02-18 14:11:23 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d9a5483d1a 
					 
					
						
						
							
							(svn r3582) Restructure MoveGoodsToStation() to avoid double bookkeeping of StationIDs and station pointers  
						
						
						
						
					 
					
						2006-02-09 06:33:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d0a84a4cb9 
					 
					
						
						
							
							(svn r3581) Just noticed the indentation was totally off, fix it  
						
						
						
						
					 
					
						2006-02-09 06:24:53 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0a7b664ae5 
					 
					
						
						
							
							(svn r3580) Some small cleanups before the real change, especially reduce the indentation by one by using continue  
						
						
						
						
					 
					
						2006-02-09 06:15:12 +00:00