| 
							
							
								 smatz | 8841f3be40 | (svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes | 2008-05-23 16:08:58 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 9e2490abb2 | (svn r13221) -Fix (r8747): old AI failed to build oil rig routes | 2008-05-23 15:57:18 +00:00 |  | 
			
				
					| 
							
							
								 smatz | baeb6e5395 | (svn r13217) -Fix: old AI was building small airports in years when they were not available in original game, causing small planes and helis everywhere | 2008-05-23 00:28:13 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 2be223fc03 | (svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits | 2008-05-14 18:31:21 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 1ce0b03bf0 | (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. | 2008-05-06 15:11:33 +00:00 |  | 
			
				
					| 
							
							
								 peter1138 | 45034bc522 | (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. | 2008-04-29 21:31:29 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | f4b07a78c4 | (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). | 2008-04-18 04:54:09 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | ca1f8fbe2e | (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. | 2008-04-18 04:37:06 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 6d063c3ad6 | (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. | 2008-04-17 19:10:30 +00:00 |  | 
			
				
					| 
							
							
								 smatz | ec588da9e8 | (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used | 2008-04-17 18:24:45 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 966e476df8 | (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() | 2008-04-17 00:44:20 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 973997e896 | (svn r12617) -Codechange: add type safety to the Order's load and unload types. | 2008-04-07 20:03:46 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 53d101cc99 | (svn r12593) -Codechange: hide Order's flags in most of the code. | 2008-04-06 15:09:45 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 935b562074 | (svn r12588) -Codechange: do not access the destination of an order directly. | 2008-04-06 07:48:51 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | a3224512cc | (svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order. | 2008-04-06 07:22:26 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 3b0e3d8d30 | (svn r12584) -Codechange: do not access the order type directly. | 2008-04-05 23:36:54 +00:00 |  | 
			
				
					| 
							
							
								 frosch | ae01e263ad | (svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable. | 2008-04-02 13:57:25 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 15b2f07587 | (svn r12533) -Cleanup: Remove some wizardry from default ai by using existings enums and helper functions. | 2008-04-01 15:03:59 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | df1d9bd880 | (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. | 2008-03-31 00:17:39 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | c51b81c247 | (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. | 2008-03-31 00:06:17 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | b84b16cfcd | (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. | 2008-03-30 23:24:18 +00:00 |  | 
			
				
					| 
							
							
								 peter1138 | a729283a3c | (svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops | 2008-03-27 19:02:18 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 988b5a9111 | (svn r12200) -Fix: force AI to build rail or road instead of bridges if possible, so it doesn't build bridges everywhere | 2008-02-20 17:56:36 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 7f3d56041b | (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). | 2008-02-20 17:49:50 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 9bdb194b2a | (svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income -Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form | 2008-02-20 17:06:58 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 1d120c51b8 | (svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'. | 2008-02-20 15:13:42 +00:00 |  | 
			
				
					| 
							
							
								 smatz | a53594ebd4 | (svn r12184) -Fix: take into account possible loan when AI is deciding which bridge to build, so it won't build wooden bridges everytime | 2008-02-18 22:50:58 +00:00 |  | 
			
				
					| 
							
							
								 glx | d7924424ac | (svn r12155) -Fix (r12154): some warnings (always compile before commit) | 2008-02-16 00:10:03 +00:00 |  | 
			
				
					| 
							
							
								 glx | a148985087 | (svn r12154) -Codechange: removed a magic number | 2008-02-15 23:57:03 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 514df81e27 | (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. | 2008-02-14 15:59:16 +00:00 |  | 
			
				
					| 
							
							
								 smatz | fe48d0be21 | (svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window | 2008-02-13 19:24:40 +00:00 |  | 
			
				
					| 
							
							
								 peter1138 | 1268a70466 | (svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains. | 2008-01-30 10:27:45 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 773446df5e | (svn r11972) -Fix: old AI shouldn't build fast planes with a small airport in orders | 2008-01-24 14:22:10 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 74af65e556 | (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead | 2008-01-23 22:34:04 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 881b74e882 | (svn r11962) -Cleanup: OPF is no longer used to update signals | 2008-01-23 17:30:28 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 8be486c27e | (svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions | 2008-01-23 14:51:36 +00:00 |  | 
			
				
					| 
							
							
								 peter1138 | 622f251197 | (svn r11959) -Codechange: Use macro to loop for specific engine types instead of using specific indexes each time. -Codechange: Minor scope changes in said loops. | 2008-01-23 13:20:51 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 66a0fafc93 | (svn r11917) -Fix (r3677): AI was reading wrong tile slope while building road bridge | 2008-01-18 14:48:57 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | c141639bcc | (svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI. | 2008-01-17 02:09:34 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 736640fd87 | (svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*. | 2008-01-15 18:44:22 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 9c0c798dd8 | (svn r11834) -Codechange: only include settings_type.h if needed. | 2008-01-13 14:37:30 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 90acd52f22 | (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. | 2008-01-13 01:21:35 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 2fc62eab05 | (svn r11818) -Codechange: split player.h into smaller pieces. | 2008-01-12 14:10:35 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 2d2e1e3863 | (svn r11800) -Codechange: move some functions to a more logical location + some type safety. | 2008-01-09 21:05:03 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 0365c1f33b | (svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114). | 2008-01-09 16:55:48 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 98b4fa7c07 | (svn r11792) -Codechange: move some (virtually) globally included AI related structs to a place where they are only included a few times. | 2008-01-09 16:40:02 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 722613f7f3 | (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. | 2007-12-27 13:35:39 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | db73addb43 | (svn r11702) -Codechange: move all date related stuff to date*. | 2007-12-26 13:50:40 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | f82aeb82c5 | (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). | 2007-12-26 11:45:43 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 81bf9f8503 | (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' | 2007-12-25 11:26:07 +00:00 |  |