skidd13 
							
						 
					 
					
						
						
							
						
						e36dba227b 
					 
					
						
						
							
							(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()  
						
						... 
						
						
						
						-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style 
						
						
					 
					
						2007-11-25 15:35:25 +00:00 
						 
				 
			
				
					
						
							
							
								skidd13 
							
						 
					 
					
						
						
							
						
						f92f3aec06 
					 
					
						
						
							
							(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style  
						
						
						
						
					 
					
						2007-11-20 14:11:19 +00:00 
						 
				 
			
				
					
						
							
							
								skidd13 
							
						 
					 
					
						
						
							
						
						3ae50673a3 
					 
					
						
						
							
							(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style  
						
						
						
						
					 
					
						2007-11-20 13:35:54 +00:00 
						 
				 
			
				
					
						
							
							
								skidd13 
							
						 
					 
					
						
						
							
						
						6801cceda1 
					 
					
						
						
							
							(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style  
						
						
						
						
					 
					
						2007-11-19 21:32:20 +00:00 
						 
				 
			
				
					
						
							
							
								skidd13 
							
						 
					 
					
						
						
							
						
						c0a2c0c23e 
					 
					
						
						
							
							(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style  
						
						
						
						
					 
					
						2007-11-19 21:02:30 +00:00 
						 
				 
			
				
					
						
							
							
								skidd13 
							
						 
					 
					
						
						
							
						
						f4a5c80d71 
					 
					
						
						
							
							(svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define  
						
						
						
						
					 
					
						2007-11-19 18:58:04 +00:00 
						 
				 
			
				
					
						
							
							
								skidd13 
							
						 
					 
					
						
						
							
						
						98f66552be 
					 
					
						
						
							
							(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style  
						
						
						
						
					 
					
						2007-11-19 18:38:10 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						9fcf6e7a43 
					 
					
						
						
							
							(svn r11431) -Codechange: [NewGRF] Add support for changing rail vehicle user-defined bit mask (prop 25) via callback 36  
						
						
						
						
					 
					
						2007-11-15 00:13:12 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						b935a74782 
					 
					
						
						
							
							(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13)  
						
						
						
						
					 
					
						2007-11-04 23:06:39 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						6120d02751 
					 
					
						
						
							
							(svn r11352) -Codechange: cache callback 2D result (vehicle color mapping) instead calling it every time the vehicle is drawn  
						
						
						
						
					 
					
						2007-10-28 15:40:18 +00:00 
						 
				 
			
				
					
						
							
							
								maedhros 
							
						 
					 
					
						
						
							
						
						5712da734f 
					 
					
						
						
							
							(svn r11333) -Fix: Train engines still had a value of 0.  
						
						
						
						
					 
					
						2007-10-21 16:52:01 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						b4e7203b0a 
					 
					
						
						
							
							(svn r11332) -Fix: vehicles getting a value of 0 on construction.  
						
						... 
						
						
						
						-Fix: assertion when selling vehicles. 
						
						
					 
					
						2007-10-21 16:45:00 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						c8df832678 
					 
					
						
						
							
							(svn r11230) -Fix [FS#1228]: one could construct trains out of crashed wagons and engines. Based on a patch by SmatZ.  
						
						
						
						
					 
					
						2007-10-08 20:16:25 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						2e8f93a821 
					 
					
						
						
							
							(svn r11229) -Fix [FS#1307]: one could sell vehicles that were crashed in a depot, which would still yield money.  
						
						
						
						
					 
					
						2007-10-08 20:06:37 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						a28b307c95 
					 
					
						
						
							
							(svn r11173) -Codechange: rename some callback enums so they are more uniform.  
						
						
						
						
					 
					
						2007-09-26 17:33:32 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						26310769dd 
					 
					
						
						
							
							(svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains.  
						
						
						
						
					 
					
						2007-09-21 17:56:55 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						f41c8ab3aa 
					 
					
						
						
							
							(svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes.  
						
						
						
						
					 
					
						2007-09-17 04:23:03 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						a18f3f25a9 
					 
					
						
						
							
							(svn r11120) -Codechange: remove the arbitrary limit of 10 articulated parts for a vehicle.  
						
						
						
						
					 
					
						2007-09-16 20:48:00 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d651f6b9ed 
					 
					
						
						
							
							(svn r11086) -Fix/Revert (r11053, r10984): "fixing" r11053 made the acceleration code use the wrong speed, which can be fixed by reverting a small piece of r10984.  
						
						
						
						
					 
					
						2007-09-10 17:13:37 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						634aba16a7 
					 
					
						
						
							
							(svn r11072) -Fix [FS#1045]: when a vehicle had a service order, the goto-depot button did not make it possible to stop the vehicle at that depot.  
						
						
						
						
					 
					
						2007-09-09 17:42:59 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						c97804461e 
					 
					
						
						
							
							(svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ.  
						
						
						
						
					 
					
						2007-09-08 09:52:02 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						0db524e175 
					 
					
						
						
							
							(svn r11048) -Fix [FS#1206]: several cases where (re)moving eninges on a train would corrupt the vehicle counts for the groups.  
						
						
						
						
					 
					
						2007-09-05 21:05:12 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						7cd2aeb1c9 
					 
					
						
						
							
							(svn r11045) -Codechange: added a function to tell if a vehicle is the rear part of a dualheaded train engine  
						
						
						
						
					 
					
						2007-09-05 10:15:23 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						cadc470da5 
					 
					
						
						
							
							(svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more.  
						
						
						
						
					 
					
						2007-08-31 17:13:39 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						732845440a 
					 
					
						
						
							
							(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game state while being marked const.  
						
						... 
						
						
						
						-Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game. 
						
						
					 
					
						2007-08-30 21:11:12 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						f830699971 
					 
					
						
						
							
							(svn r11004) -Codechange: some reworks of the saveload mechanism to be able to save and load private and protected variables in the vehicle struct.  
						
						
						
						
					 
					
						2007-08-30 13:09:44 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						235ad4ab6b 
					 
					
						
						
							
							(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.  
						
						
						
						
					 
					
						2007-08-30 13:03:56 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						dc80195754 
					 
					
						
						
							
							(svn r10999) -Codechange: unify the way the running cost of a vehicle is determined. Patch by nycom.  
						
						
						
						
					 
					
						2007-08-29 21:27:16 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						a6a9968d16 
					 
					
						
						
							
							(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.  
						
						
						
						
					 
					
						2007-08-29 20:50:58 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						91d18ebd17 
					 
					
						
						
							
							(svn r10984) -Codechange: unify the way one can get the current speed in the same forwat so we can display it.  
						
						
						
						
					 
					
						2007-08-26 20:43:22 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						39f17c9de4 
					 
					
						
						
							
							(svn r10983) -Codechange: use vehstatus & VS_CRASHED instead of some other "methods" custom to each vehicle to determine whether the vehicle is crashed.  
						
						
						
						
					 
					
						2007-08-26 20:16:02 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						495bc4ecf4 
					 
					
						
						
							
							(svn r10823) -Fix r8610 [FS#1097]: the autoreplace window vehicle count didn't always update correctly) (Matthias)  
						
						
						
						
					 
					
						2007-08-07 23:07:10 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						b21f29c38f 
					 
					
						
						
							
							(svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.  
						
						... 
						
						
						
						-Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots. 
						
						
					 
					
						2007-08-03 19:36:00 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						9b9bca40b9 
					 
					
						
						
							
							(svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for collision detection on bridges/tunnels.  
						
						
						
						
					 
					
						2007-07-30 08:49:41 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						a67957866a 
					 
					
						
						
							
							(svn r10697) -Codechange: give a more sensible names to some of the unkX variables.  
						
						
						
						
					 
					
						2007-07-26 15:37:19 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						df009178d4 
					 
					
						
						
							
							(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h  
						
						
						
						
					 
					
						2007-07-16 09:16:58 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						7cb7488836 
					 
					
						
						
							
							(svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments.  
						
						
						
						
					 
					
						2007-07-09 19:38:12 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						4b70a97fde 
					 
					
						
						
							
							(svn r10474) -Fix [FS#995]: wrong group count after train crash.  
						
						
						
						
					 
					
						2007-07-08 09:29:28 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						ec137f60ed 
					 
					
						
						
							
							(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.  
						
						
						
						
					 
					
						2007-07-01 19:24:54 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						c0e341ee05 
					 
					
						
						
							
							(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.  
						
						
						
						
					 
					
						2007-07-01 19:11:47 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						5c1aff5ce6 
					 
					
						
						
							
							(svn r10381) -Fix [FS#951]: skipping an order made train reverse immediatelly. Patch by boekabart.  
						
						
						
						
					 
					
						2007-06-28 22:03:34 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						85fb4eb94b 
					 
					
						
						
							
							(svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take account of vehicle group (Matthias Wolf)  
						
						
						
						
					 
					
						2007-06-27 20:40:20 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						f8a5b61f4e 
					 
					
						
						
							
							(svn r10344) -Fix (r10317): confusion between TRACK_n and TRACK_BIT_n stopped NW/SE slopes being picked up, and compare middle of tile against current z, not previous.  
						
						
						
						
					 
					
						2007-06-26 20:03:17 +00:00 
						 
				 
			
				
					
						
							
							
								maedhros 
							
						 
					 
					
						
						
							
						
						9fce70ac21 
					 
					
						
						
							
							(svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable.  
						
						
						
						
					 
					
						2007-06-25 23:14:13 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						e68892dcd4 
					 
					
						
						
							
							(svn r10317) -Fix [FS#786]: acceleration not calculated properly when a train goes up a hill between tunnels.  
						
						
						
						
					 
					
						2007-06-25 08:24:03 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						872ba4e659 
					 
					
						
						
							
							(svn r10288) -Fix [FS#202]: also age engines that aren't front-engines (based on a patch by kaan)  
						
						
						
						
					 
					
						2007-06-22 22:42:18 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						37e3cbb980 
					 
					
						
						
							
							(svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...  
						
						
						
						
					 
					
						2007-06-22 22:28:15 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						fc201d4ad8 
					 
					
						
						
							
							(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.  
						
						
						
						
					 
					
						2007-06-22 11:58:59 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d0fa4eb9de 
					 
					
						
						
							
							(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.  
						
						... 
						
						
						
						-Fix: some displays of money were wrong. 
						
						
					 
					
						2007-06-21 17:25:17 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						1b27095c83 
					 
					
						
						
							
							(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.  
						
						
						
						
					 
					
						2007-06-21 14:54:51 +00:00