| 
							
							
								 smatz | 059e94e355 | (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used | 2008-04-17 18:24:45 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 9488db56d4 | (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() | 2008-04-17 00:44:20 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | d74c6ffb62 | (svn r12617) -Codechange: add type safety to the Order's load and unload types. | 2008-04-07 20:03:46 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | f1cd7ef5ee | (svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness. | 2008-04-07 19:18:56 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | fb1c4eccd8 | (svn r12593) -Codechange: hide Order's flags in most of the code. | 2008-04-06 15:09:45 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | d6623cf654 | (svn r12588) -Codechange: do not access the destination of an order directly. | 2008-04-06 07:48:51 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 8cd1795fe3 | (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 | 5b47f81b0f | (svn r12584) -Codechange: do not access the order type directly. | 2008-04-05 23:36:54 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 5e5e074a5d | (svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable. | 2008-04-02 13:57:25 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 4329223476 | (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 | ef2be7d0fc | (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 | 2edd403656 | (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. | 2008-03-31 00:06:17 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 4a1035ab95 | (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. | 2008-03-30 23:24:18 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 93d59fe448 | (svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h. | 2008-03-28 18:00:38 +00:00 |  | 
			
				
					| 
							
							
								 peter1138 | 5ddb78af9f | (svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops | 2008-03-27 19:02:18 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 767e1cc37e | (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 | b7993793c8 | (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). | 2008-02-20 17:49:50 +00:00 |  | 
			
				
					| 
							
							
								 smatz | a190606f2e | (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 | f5929d413b | (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 | 578e833284 | (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 | 044ca2bbf6 | (svn r12155) -Fix (r12154): some warnings (always compile before commit) | 2008-02-16 00:10:03 +00:00 |  | 
			
				
					| 
							
							
								 glx | 3e70ee6ed7 | (svn r12154) -Codechange: removed a magic number | 2008-02-15 23:57:03 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 43c0f7ea8e | (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. | 2008-02-14 15:59:16 +00:00 |  | 
			
				
					| 
							
							
								 smatz | a0ddc43e92 | (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 | 1cdee354b4 | (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 |  | 
			
				
					| 
							
							
								 frosch | 6f6708e844 | (svn r11983) -Codechange: Add some helper functions for slopes and use them. | 2008-01-25 15:47:58 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 5f9a877376 | (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 | 5a7c903770 | (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead | 2008-01-23 22:34:04 +00:00 |  | 
			
				
					| 
							
							
								 smatz | d6eaf1a11a | (svn r11962) -Cleanup: OPF is no longer used to update signals | 2008-01-23 17:30:28 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 0b888ccc00 | (svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions | 2008-01-23 14:51:36 +00:00 |  | 
			
				
					| 
							
							
								 peter1138 | 9515328962 | (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 | a31ebdb2be | (svn r11958) -Fix (r11204): NewAI couldn't build any road vehicles when there were any tram grfs loaded | 2008-01-23 13:06:00 +00:00 |  | 
			
				
					| 
							
							
								 frosch | b99c83246b | (svn r11946) -Fix: slope detection of bridge ramps. YAPF failed for steep slopes.
  Trolly failed for a lot. | 2008-01-22 16:08:17 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 22a7b95c10 | (svn r11917) -Fix (r3677): AI was reading wrong tile slope while building road bridge | 2008-01-18 14:48:57 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | f658b79e15 | (svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI. | 2008-01-17 02:09:34 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 9556623281 | (svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station | 2008-01-16 01:18:15 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 576f8ad93e | (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 | dc87b05e8c | (svn r11834) -Codechange: only include settings_type.h if needed. | 2008-01-13 14:37:30 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 5c4150d304 | (svn r11832) -Codechange: get rid of (quite) some VARDEFs. | 2008-01-13 13:36:01 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | d4e6a6bf57 | (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 | ac528411df | (svn r11818) -Codechange: split player.h into smaller pieces. | 2008-01-12 14:10:35 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 998d7644f6 | (svn r11800) -Codechange: move some functions to a more logical location + some type safety. | 2008-01-09 21:05:03 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 46650c54b6 | (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 | b4337eba83 | (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 | b0ac283aec | (svn r11774) -Change: do not include variables.h in a header when it is not needed. | 2008-01-07 00:57:19 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 384503e7d3 | (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. | 2007-12-27 13:35:39 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | b9046c97fb | (svn r11702) -Codechange: move all date related stuff to date*. | 2007-12-26 13:50:40 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 2786d789a1 | (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). | 2007-12-26 11:45:43 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 429521a7d1 | (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 |  | 
			
				
					| 
							
							
								 rubidium | bf98e25e43 | (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. | 2007-12-25 09:48:53 +00:00 |  |