rubidium 
							
						 
					 
					
						
						
							
						
						ee96d737b2 
					 
					
						
						
							
							(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.  
						
						
						
						
					 
					
						2009-06-16 13:31:06 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						c9eac207ea 
					 
					
						
						
							
							(svn r16498) -Codechange: Remove hardly used HASBITS.  
						
						
						
						
					 
					
						2009-06-01 15:01:54 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						580e478e4e 
					 
					
						
						
							
							(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.  
						
						
						
						
					 
					
						2009-06-01 11:43:36 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						6e06b592ad 
					 
					
						
						
							
							(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.  
						
						
						
						
					 
					
						2009-05-31 12:03:14 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						749c976e47 
					 
					
						
						
							
							(svn r16479) -Fix (r5146): Call callbacks after initialisation of vehicle variables.  
						
						
						
						
					 
					
						2009-05-31 11:31:10 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						e419fe6d3f 
					 
					
						
						
							
							(svn r16442) -Codechange: use new Vehicle accessors at more places  
						
						
						
						
					 
					
						2009-05-26 22:45:48 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						0c53f04c07 
					 
					
						
						
							
							(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types  
						
						
						
						
					 
					
						2009-05-26 22:10:13 +00:00 
						 
				 
			
				
					
						
							
							
								yexo 
							
						 
					 
					
						
						
							
						
						f044ad6f80 
					 
					
						
						
							
							(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.  
						
						
						
						
					 
					
						2009-05-26 21:59:49 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						82cdacb20c 
					 
					
						
						
							
							(svn r16427) -Codechange: replace a few magic numbers with an existing constant and unduplicate a few lines.  
						
						
						
						
					 
					
						2009-05-26 08:53:16 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						eeb3f75cfe 
					 
					
						
						
							
							(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.  
						
						
						
						
					 
					
						2009-05-24 16:52:42 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						cd382b28a3 
					 
					
						
						
							
							(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.  
						
						
						
						
					 
					
						2009-05-23 09:10:56 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						4ae19b7451 
					 
					
						
						
							
							(svn r16388) -Codechange: move u.air to Aircraft  
						
						
						
						
					 
					
						2009-05-22 20:07:26 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						1e853b1226 
					 
					
						
						
							
							(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate  
						
						
						
						
					 
					
						2009-05-22 20:03:26 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						50624d5c0f 
					 
					
						
						
							
							(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved  
						
						
						
						
					 
					
						2009-05-22 15:13:50 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						70d3ed15c8 
					 
					
						
						
							
							(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted  
						
						
						
						
					 
					
						2009-05-22 13:53:14 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						512db5248e 
					 
					
						
						
							
							(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()  
						
						
						
						
					 
					
						2009-05-18 16:21:28 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						0c10daa243 
					 
					
						
						
							
							(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)  
						
						
						
						
					 
					
						2009-05-17 01:00:56 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						d495dc5dbc 
					 
					
						
						
							
							(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)  
						
						
						
						
					 
					
						2009-05-16 23:34:14 +00:00 
						 
				 
			
				
					
						
							
							
								yexo 
							
						 
					 
					
						
						
							
						
						d489f93473 
					 
					
						
						
							
							(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct  
						
						
						
						
					 
					
						2009-05-15 23:55:06 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						2431cc099e 
					 
					
						
						
							
							(svn r16303) -Codechange: Use the question mark as default sprite when creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)  
						
						
						
						
					 
					
						2009-05-13 21:45:56 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						53b8d13878 
					 
					
						
						
							
							(svn r16300) -Codechange: reduce usage of Vehicle::AllocateList  
						
						
						
						
					 
					
						2009-05-13 19:26:47 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						8a8ec3001a 
					 
					
						
						
							
							(svn r16296) -Codechange: silence some ICC warnings  
						
						
						
						
					 
					
						2009-05-13 16:52:51 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						5c5b357043 
					 
					
						
						
							
							(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.  
						
						
						
						
					 
					
						2009-04-21 23:40:56 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						c3e87f345d 
					 
					
						
						
							
							(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too  
						
						
						
						
					 
					
						2009-03-15 00:32:18 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						b003536ea8 
					 
					
						
						
							
							(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove.  
						
						
						
						
					 
					
						2009-03-11 20:43:14 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						812f6b8676 
					 
					
						
						
							
							(svn r15665) -Fix (r8973): Handling of aircraft crash counter did not take account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1.  
						
						
						
						
					 
					
						2009-03-10 18:54:33 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						abe4692da2 
					 
					
						
						
							
							(svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, which cannot accept CT_INVALID.  
						
						... 
						
						
						
						-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
  Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
  Note: It is intentional that you cannot control refittability by CB 36. 
						
						
					 
					
						2009-02-21 12:52:41 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						5c8cf85613 
					 
					
						
						
							
							(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.  
						
						
						
						
					 
					
						2009-02-09 21:20:05 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						89e1afdaa0 
					 
					
						
						
							
							(svn r15428) -Codechange: consistently use colour instead of having both color and colour.  
						
						
						
						
					 
					
						2009-02-09 02:57:15 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						283b3d16ab 
					 
					
						
						
							
							(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.  
						
						
						
						
					 
					
						2009-02-08 12:25:13 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						f6fa77d5f9 
					 
					
						
						
							
							(svn r15358) -Add [NoAI]: AIEventVehicleCrashed::GetCrashReason()  
						
						
						
						
					 
					
						2009-02-05 17:28:37 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						55728d9e18 
					 
					
						
						
							
							(svn r15326) -Fix: Old-ai-ishm when refitting vehicles.  
						
						
						
						
					 
					
						2009-02-03 20:39:06 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						9021c20b5e 
					 
					
						
						
							
							(svn r15299) -Cleanup: remove many redundant includes  
						
						
						
						
					 
					
						2009-01-31 20:16:06 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						9a0d88176b 
					 
					
						
						
							
							(svn r15286) -Fix: Refitting did not invalidate vehicle-colour-maps of road-vehicles, ships and aircraft, as well vehicle-length of road-vehicles.  
						
						
						
						
					 
					
						2009-01-27 19:44:36 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						470da22ac3 
					 
					
						
						
							
							(svn r15263) -Codechange: added Engine::GetCost() to remove some code duplication.  
						
						
						
						
					 
					
						2009-01-25 00:57:03 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						12c89708cb 
					 
					
						
						
							
							(svn r15210) -Fix: Vehicle::GetRunningCost() was wrong for ships and aircraft  
						
						
						
						
					 
					
						2009-01-22 21:33:08 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						9ef3ff992e 
					 
					
						
						
							
							(svn r15131) -Fix: Indentifluxation combobulated  
						
						
						
						
					 
					
						2009-01-17 21:01:15 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						ca45774160 
					 
					
						
						
							
							(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR  
						
						... 
						
						
						
						-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore 
						
						
					 
					
						2009-01-13 22:58:03 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						c2406cd42d 
					 
					
						
						
							
							(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.  
						
						... 
						
						
						
						NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page 
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks 
						
						
					 
					
						2009-01-12 17:11:45 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						0543f50181 
					 
					
						
						
							
							(svn r14952) -Codechange: unify the "can vehicle go to station" tests  
						
						
						
						
					 
					
						2009-01-10 09:51:14 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						28ea38ae55 
					 
					
						
						
							
							(svn r14949) -Cleanup: pointer coding style  
						
						
						
						
					 
					
						2009-01-10 00:31:47 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						c61674221c 
					 
					
						
						
							
							(svn r14840) -Cleanup: remove duplicate includes  
						
						
						
						
					 
					
						2009-01-04 21:02:59 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						ec7ebf2170 
					 
					
						
						
							
							(svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too  
						
						
						
						
					 
					
						2009-01-04 18:34:23 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						91233ea596 
					 
					
						
						
							
							(svn r14828) -Codechange: move most of save/load-specific code to separate files  
						
						
						
						
					 
					
						2009-01-04 15:32:25 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						e83cca7d13 
					 
					
						
						
							
							(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.  
						
						
						
						
					 
					
						2008-12-28 14:37:19 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						931bdb9626 
					 
					
						
						
							
							(svn r14749) -Codechange: replace a few wrapper functions that only called delete by a direct delete instead.  
						
						
						
						
					 
					
						2008-12-26 21:16:15 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						0c6c3311c9 
					 
					
						
						
							
							(svn r14748) -Codechange: unduplicate window updating when deleting vehicles.  
						
						
						
						
					 
					
						2008-12-26 21:08:51 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						c34ce32f26 
					 
					
						
						
							
							(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types.  
						
						
						
						
					 
					
						2008-12-26 20:45:02 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						c88a6199a7 
					 
					
						
						
							
							(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo)  
						
						
						
						
					 
					
						2008-12-26 18:01:15 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						c1d1ba22cc 
					 
					
						
						
							
							(svn r14672) -Fix [FS#2444]: Property 7 and callback 12 were broken for aircraft.  
						
						... 
						
						
						
						Now callback 12 is properly called also for 'mail'.
If the callback is not used, 'mail' uses 1/4 of property 7 (rounded up). 
						
						
					 
					
						2008-12-13 18:25:42 +00:00