celestar 
							
						 
					 
					
						
						
							
						
						e3fb01a350 
					 
					
						
						
							
							(svn r4502) -Cleanup: Remove code unused since rev1. (Rubidium)  
						
						
						
						
					 
					
						2006-04-21 17:51:01 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						65f759cbac 
					 
					
						
						
							
							(svn r4463) -Codechange. Include vehicle.h directly instead of implicitly via station.h in a number of source files  
						
						
						
						
					 
					
						2006-04-18 05:16:13 +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 
							
						 
					 
					
						
						
							
						
						df0b45d608 
					 
					
						
						
							
							(svn r4333) Revert back to a direct map access in one case until the exact conditions for this piece of code are investigated. The IsRoad() function is causing me headaches...  
						
						
						
						
					 
					
						2006-04-09 10:24:57 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						c146c8b667 
					 
					
						
						
							
							(svn r4318) CodeChange : Remove last direct map access on ai/default/default.c  
						
						
						
						
					 
					
						2006-04-08 01:07:32 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						2ab5b8e666 
					 
					
						
						
							
							(svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency  
						
						
						
						
					 
					
						2006-03-31 19:10:54 +00:00 
						 
				 
			
				
					
						
							
							
								orudge 
							
						 
					 
					
						
						
							
						
						ff3c61b011 
					 
					
						
						
							
							(svn r4204) - Get trunk compiling again on OS/2  
						
						
						
						
					 
					
						2006-03-31 16:01:59 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						c442586676 
					 
					
						
						
							
							(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...  
						
						
						
						
					 
					
						2006-03-29 19:03:47 +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 
							
						 
					 
					
						
						
							
						
						f77bb24d93 
					 
					
						
						
							
							(svn r4132) - Missed 3 CargoID's  
						
						
						
						
					 
					
						2006-03-26 22:56:58 +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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c40740e058 
					 
					
						
						
							
							(svn r4120) Use the new station functions where appropriate  
						
						
						
						
					 
					
						2006-03-26 19:20:15 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						369cba3230 
					 
					
						
						
							
							(svn r4116) -Fix: The AI should send a plane into a hangar if it's not in a hangar _or_ not stopped, not when it's not in a hangar _and_ not stopped  
						
						
						
						
					 
					
						2006-03-26 18:48:23 +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 
							
						 
					 
					
						
						
							
						
						a90e46bf03 
					 
					
						
						
							
							(svn r3981) More work for the rail accessing functions and enums  
						
						
						
						
					 
					
						2006-03-19 13:48:08 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						6e988259a4 
					 
					
						
						
							
							(svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX  
						
						
						
						
					 
					
						2006-03-16 15:16:27 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						626109f3f9 
					 
					
						
						
							
							(svn r3887) Add a function to get the other bridge end when you're at a bridge ramp  
						
						
						
						
					 
					
						2006-03-15 16:44:50 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						273533d4c7 
					 
					
						
						
							
							(svn r3857) Add and use GetBridgeRampDirection()  
						
						... 
						
						
						
						Note: This slightly changes the behavior of GetAnyRoadBits() to only return a road piece for the start of the bridge ramp instead of a full ROAD_[XY] 
						
						
					 
					
						2006-03-14 12:00:11 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						eeb5bf41a1 
					 
					
						
						
							
							(svn r3831) Add and use GetRailDepotDirection()  
						
						
						
						
					 
					
						2006-03-12 16:13:16 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0100871412 
					 
					
						
						
							
							(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does  
						
						
						
						
					 
					
						2006-03-12 15:04:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						25606a2e0b 
					 
					
						
						
							
							(svn r3816) Use existing accessors  
						
						
						
						
					 
					
						2006-03-11 09:10:46 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						fca5823238 
					 
					
						
						
							
							(svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai)  
						
						
						
						
					 
					
						2006-03-09 20:37:51 +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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						49cb8eb470 
					 
					
						
						
							
							(svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends  
						
						
						
						
					 
					
						2006-03-06 20:28:28 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						4efa560ffc 
					 
					
						
						
							
							(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme  
						
						
						
						
					 
					
						2006-03-05 10:19:33 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						223aa411a7 
					 
					
						
						
							
							(svn r3677) Remove the FindLandscapeHeightByTile()s from the default AI.  
						
						... 
						
						
						
						The corresponding TileInfos look like global variables at the first glance, but always get written to before reading in each function they are used in. 
						
						
					 
					
						2006-02-27 08:08:10 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b26d54585f 
					 
					
						
						
							
							(svn r3660) Convert further road bits and type references to the functions/enums  
						
						
						
						
					 
					
						2006-02-23 12:24:19 +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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7f6953fb58 
					 
					
						
						
							
							(svn r3614) turn 2 do-while-loop with 2 induction variables each into canocical for loops  
						
						
						
						
					 
					
						2006-02-18 14:52:42 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7692556c62 
					 
					
						
						
							
							(svn r3613) Some more const, indentation, whitespace and similar stuff  
						
						
						
						
					 
					
						2006-02-18 14:41:24 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						ee9f64ecf4 
					 
					
						
						
							
							(svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and remove global variable to return data as we can now access this directly.  
						
						
						
						
					 
					
						2006-02-13 22:13:02 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						087fe86ed2 
					 
					
						
						
							
							(svn r3564) Several smaller changes:  
						
						... 
						
						
						
						- Don't treat non-booleans as booleans
- Reduce variable scope
- Bracing
- Use DeMorgan's law to make conditionals easier to read
- if cascade -> switch
- Replace some magic numbers by symbolic names
- Avoid assignments within other statements 
						
						
					 
					
						2006-02-06 09:18:04 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1c3e8630fe 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						44131d5416 
					 
					
						
						
							
							(svn r3481) - Try and fix an svn discrepancy of trolly.h  #2  
						
						
						
						
					 
					
						2006-01-29 21:38:24 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						d774ae91ae 
					 
					
						
						
							
							(svn r3480) - Try and fix an svn discrepancy of trolly.h  
						
						
						
						
					 
					
						2006-01-29 21:37:39 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						4014e36aec 
					 
					
						
						
							
							(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)  
						
						... 
						
						
						
						- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals. 
						
						
					 
					
						2006-01-29 18:57:26 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2053685fb5 
					 
					
						
						
							
							(svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.  
						
						... 
						
						
						
						As side effect this is a
-Fix: The default AI tried to change the service intervals of vehicles via the CMD_CHANGE_TRAIN_SERVICE_INT command - regardless of the type of the vehicle - which of course failed for non-trains 
						
						
					 
					
						2006-01-05 21:35:54 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						318fe153eb 
					 
					
						
						
							
							(svn r3365) Staticise 36 functions  
						
						
						
						
					 
					
						2006-01-05 12:40:50 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d5aa95b87e 
					 
					
						
						
							
							(svn r3313) Remove GPMI related changes from trunk  
						
						... 
						
						
						
						Revisions in detail: 2542, 3226 (partial), 3229, 3231, 3232, 3238, 3242-3245, 3251, 3253, 3260, 3263, 3265, 3266, 3269, 3277, 3278, 3279, 3283 (partial), 3304, 3305, 3306 
						
						
					 
					
						2005-12-18 12:10:46 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						e88942f490 
					 
					
						
						
							
							(svn r3306) -Fix: forgot sometimes to switch to the right current_player for AIs  
						
						
						
						
					 
					
						2005-12-14 19:21:56 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						6ca528ec82 
					 
					
						
						
							
							(svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_  
						
						
						
						
					 
					
						2005-12-14 15:54:23 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						607e518ab8 
					 
					
						
						
							
							(svn r3304) -Add: allow AI-events to see the UID of the command  
						
						... 
						
						
						
						-Fix: improved the logic of the UID code for AIs 
						
						
					 
					
						2005-12-14 14:38:23 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a2533d5ee6 
					 
					
						
						
							
							(svn r3298) Remove unused and write-only variables  
						
						
						
						
					 
					
						2005-12-14 06:28:48 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						9822b4d755 
					 
					
						
						
							
							(svn r3297) Staticise  
						
						
						
						
					 
					
						2005-12-14 06:20:23 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						573ce05eb8 
					 
					
						
						
							
							(svn r3294) - Fix: use INVALID_STRING_ID instead of -1.  
						
						... 
						
						
						
						- Fix: savegames only give back one message, show this by ignoring the first argument. Perhaps make the message more verbose in the future by adding STR_ equivalents next to the already existing debug messages. 
						
						
					 
					
						2005-12-13 21:21:57 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						ad756fff55 
					 
					
						
						
							
							(svn r3285) -Codechange: Tron was confused by a name, so let's make him happy,  
						
						... 
						
						
						
						prefixed it with 'tmp', so now we know it is a temp char* :) 
						
						
					 
					
						2005-12-10 18:50:07 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						af1531db4a 
					 
					
						
						
							
							(svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron)  
						
						
						
						
					 
					
						2005-12-10 18:47:40 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						d8721d33e6 
					 
					
						
						
							
							(svn r3283) -Fix: decode_parameters was still used, while _cmd_text is the way  
						
						... 
						
						
						
						-Fix: _cmd_text is cleared after a command, so we need to store it 
  temporaray in order to first test the command, before executing 
						
						
					 
					
						2005-12-10 18:43:49 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						80986fcd32 
					 
					
						
						
							
							(svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()  
						
						
						
						
					 
					
						2005-12-10 12:05:39 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						b450e0228b 
					 
					
						
						
							
							(svn r3279) -Fix: do not try to execute something that is not set to execute  
						
						... 
						
						
						
						-Fix: do not increase an uid number if it isn't returned 
						
						
					 
					
						2005-12-09 19:29:11 +00:00