rubidium 
							
						 
					 
					
						
						
							
						
						985608c713 
					 
					
						
						
							
							(svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:  
						
						... 
						
						
						
						* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
 * cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
 * industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money. 
						
						
					 
					
						2009-06-29 19:55:36 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						80043e688e 
					 
					
						
						
							
							(svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit.  
						
						
						
						
					 
					
						2009-06-29 19:17:23 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						18bc39d00b 
					 
					
						
						
							
							(svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen.  
						
						
						
						
					 
					
						2009-06-28 15:12:59 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						043af83a03 
					 
					
						
						
							
							(svn r16682) -Codechange: make (static) industry list used to trigger the industries' production compile unit static instead of passing it around as pointer  
						
						
						
						
					 
					
						2009-06-28 14:36:25 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						778e92cf54 
					 
					
						
						
							
							(svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered  
						
						
						
						
					 
					
						2009-06-28 14:33:10 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						eb4380f5ea 
					 
					
						
						
							
							(svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station  
						
						
						
						
					 
					
						2009-06-28 14:29:58 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						fa1ad0fd3c 
					 
					
						
						
							
							(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made  
						
						
						
						
					 
					
						2009-06-25 15:42:03 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						8343340acb 
					 
					
						
						
							
							(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()  
						
						
						
						
					 
					
						2009-06-24 17:39:54 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						bea3fe2b8b 
					 
					
						
						
							
							(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible  
						
						
						
						
					 
					
						2009-06-10 22:05:01 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						0c10006907 
					 
					
						
						
							
							(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check  
						
						
						
						
					 
					
						2009-06-06 16:54:22 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						bab70a823d 
					 
					
						
						
							
							(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.  
						
						
						
						
					 
					
						2009-06-01 11:43:36 +00:00 
						 
				 
			
				
					
						
							
							
								yexo 
							
						 
					 
					
						
						
							
						
						df7786f789 
					 
					
						
						
							
							(svn r16453) -Fix: Move some code around so a company is no longer used after deleting it  
						
						
						
						
					 
					
						2009-05-27 23:37:47 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						a4557c7da4 
					 
					
						
						
							
							(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.  
						
						
						
						
					 
					
						2009-05-24 16:52:42 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						7854e68b95 
					 
					
						
						
							
							(svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted  
						
						
						
						
					 
					
						2009-05-23 19:43:09 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						b2aed51f8e 
					 
					
						
						
							
							(svn r16403) -Codechange: move code related to subsidies to separate file  
						
						
						
						
					 
					
						2009-05-23 15:46:00 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						da5661a0c8 
					 
					
						
						
							
							(svn r16393) -Codechange: move VehicleRail to Train.  
						
						
						
						
					 
					
						2009-05-22 22:55:41 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						9f4d64bda0 
					 
					
						
						
							
							(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.  
						
						
						
						
					 
					
						2009-05-19 21:20:14 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						8808f3beea 
					 
					
						
						
							
							(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()  
						
						
						
						
					 
					
						2009-05-18 16:21:28 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						871107f529 
					 
					
						
						
							
							(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)  
						
						
						
						
					 
					
						2009-05-17 01:00:56 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						6221d74644 
					 
					
						
						
							
							(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)  
						
						
						
						
					 
					
						2009-05-16 23:34:14 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						59d45a04d6 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						8585aa71ed 
					 
					
						
						
							
							(svn r15726) -Codechange: unify coding style for const pointers  
						
						
						
						
					 
					
						2009-03-15 16:04:39 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						b25a4f8231 
					 
					
						
						
							
							(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too  
						
						
						
						
					 
					
						2009-03-15 00:32:18 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						9d018723b7 
					 
					
						
						
							
							(svn r15711) -Codechange: lots of whitespace cleanup/fixes  
						
						
						
						
					 
					
						2009-03-14 18:16:29 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						3fdac6f702 
					 
					
						
						
							
							(svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts  
						
						
						
						
					 
					
						2009-02-26 14:07:42 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d86ae1fde6 
					 
					
						
						
							
							(svn r15574) -Fix [FS#2680]: force unload not working when trying to force unload at the station where you received the cargo  
						
						
						
						
					 
					
						2009-02-25 00:12:57 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						6390ece34f 
					 
					
						
						
							
							(svn r15547) -Codechange: Eliminate all == and != comparisons between v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs.  
						
						
						
						
					 
					
						2009-02-21 15:56:02 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d846eef0b6 
					 
					
						
						
							
							(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.  
						
						
						
						
					 
					
						2009-02-09 21:20:05 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						c0a8d09ca7 
					 
					
						
						
							
							(svn r15428) -Codechange: consistently use colour instead of having both color and colour.  
						
						
						
						
					 
					
						2009-02-09 02:57:15 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						abb17d64a1 
					 
					
						
						
							
							(svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly  
						
						
						
						
					 
					
						2009-02-07 13:53:38 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						0d3f5e6e74 
					 
					
						
						
							
							(svn r15299) -Cleanup: remove many redundant includes  
						
						
						
						
					 
					
						2009-01-31 20:16:06 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						a3dd7506d3 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						11da45ee55 
					 
					
						
						
							
							(svn r14949) -Cleanup: pointer coding style  
						
						
						
						
					 
					
						2009-01-10 00:31:47 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						7368c740a6 
					 
					
						
						
							
							(svn r14828) -Codechange: move most of save/load-specific code to separate files  
						
						
						
						
					 
					
						2009-01-04 15:32:25 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						2283b8038f 
					 
					
						
						
							
							(svn r14825) -Fix: pay the correct amount of interest instead of a few percent too little a year  
						
						
						
						
					 
					
						2009-01-04 14:32:30 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						254e19da91 
					 
					
						
						
							
							(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints  
						
						
						
						
					 
					
						2009-01-03 16:06:58 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						87e5a8b52b 
					 
					
						
						
							
							(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.  
						
						
						
						
					 
					
						2008-12-28 14:37:19 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						53679122af 
					 
					
						
						
							
							(svn r14753) -Fix (r1): after buying a company, one could have more vehicles with the same UnitID  
						
						
						
						
					 
					
						2008-12-26 23:53:07 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						21fa036c21 
					 
					
						
						
							
							(svn r14750) -Fix [FS#1993]: in an MP game in SP mode no company would go bankrupt. Furthermore companies that passed the "bankrupt" period (4 quarters) wouldn't go bankrupt when loading the game back in MP. Now any company that is in MP or not "currently controlled by the player" in SP will bankrupt.  
						
						
						
						
					 
					
						2008-12-26 21:49:00 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						3ebe66a5e4 
					 
					
						
						
							
							(svn r14748) -Codechange: unduplicate window updating when deleting vehicles.  
						
						
						
						
					 
					
						2008-12-26 21:08:51 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						f18043ee21 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						5b26afbd6b 
					 
					
						
						
							
							(svn r14734) -Codechange: type of bankrupt_asked is CompanyMask, not byte  
						
						
						
						
					 
					
						2008-12-24 00:25:17 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						f1900768c0 
					 
					
						
						
							
							(svn r14705) -Fix [FS#2460]: First transfer the whole load of a vehicle chain to industries before triggering any processing.  
						
						... 
						
						
						
						This reduces callback usage and resolves critical rounding errors when using input-cargo-multipliers instead of production callbacks. 
						
						
					 
					
						2008-12-20 17:21:22 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						fab1a52963 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						28028cf755 
					 
					
						
						
							
							(svn r14670) -Codechange: use better readable (I hope) and branchless (for some archs/compilers) code for cargo value computation  
						
						
						
						
					 
					
						2008-12-13 16:16:44 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						896841403f 
					 
					
						
						
							
							(svn r14536) -Fix (r14530): Do not expect uints to become negative.  
						
						
						
						
					 
					
						2008-10-25 22:00:51 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						ac281ed35c 
					 
					
						
						
							
							(svn r14530) -Fix [FS#2138]: Do not deliver cargo to industries not inside station catchment area.  
						
						
						
						
					 
					
						2008-10-25 14:24:50 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						272b2ef0e9 
					 
					
						
						
							
							(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)  
						
						
						
						
					 
					
						2008-10-14 18:38:51 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						b650a86e58 
					 
					
						
						
							
							(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.  
						
						
						
						
					 
					
						2008-09-30 20:51:04 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						3b798599b6 
					 
					
						
						
							
							(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.  
						
						
						
						
					 
					
						2008-09-30 20:39:50 +00:00