tron 
							
						 
					 
					
						
						
							
						
						453b30e387 
					 
					
						
						
							
							(svn r3564) Several smaller changes:  
						
						... 
						
						
						
						- Don't treat non-booleans as booleans
- Reduce variable scope
- Bracing
- Use DeMorgan's law to make conditionals easier to read
- if cascade -> switch
- Replace some magic numbers by symbolic names
- Avoid assignments within other statements 
						
						
					 
					
						2006-02-06 09:18:04 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						05d7d046c7 
					 
					
						
						
							
							(svn r3530) - NewGRF: Move station resolver to newgrf_station  
						
						
						
						
					 
					
						2006-02-03 23:02:01 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						84fb96fe85 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						22dc05faf2 
					 
					
						
						
							
							(svn r3510) Fiddle with whitespace and parentheses  
						
						
						
						
					 
					
						2006-02-01 06:32:03 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						4e09974975 
					 
					
						
						
							
							(svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)  
						
						... 
						
						
						
						- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals. 
						
						
					 
					
						2006-01-29 18:57:26 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						183f6f6d07 
					 
					
						
						
							
							(svn r3372) - Fix: update signal states when building or removing rail station blocks  
						
						
						
						
					 
					
						2006-01-06 17:45:43 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						e272b03fee 
					 
					
						
						
							
							(svn r3365) Staticise 36 functions  
						
						
						
						
					 
					
						2006-01-05 12:40:50 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						246c126d25 
					 
					
						
						
							
							(svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length  
						
						
						
						
					 
					
						2005-12-29 12:42:59 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						8ffe9da482 
					 
					
						
						
							
							(svn r3341) -Codechange: make mingw32 happy, and renamed Rectangle, because it already exists on that platform  
						
						
						
						
					 
					
						2005-12-25 15:05:59 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b06b3e2ca2 
					 
					
						
						
							
							(svn r3313) Remove GPMI related changes from trunk  
						
						... 
						
						
						
						Revisions in detail: 2542, 3226 (partial), 3229, 3231, 3232, 3238, 3242-3245, 3251, 3253, 3260, 3263, 3265, 3266, 3269, 3277, 3278, 3279, 3283 (partial), 3304, 3305, 3306 
						
						
					 
					
						2005-12-18 12:10:46 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						531073bea0 
					 
					
						
						
							
							(svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_  
						
						
						
						
					 
					
						2005-12-14 15:54:23 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						23bfc03054 
					 
					
						
						
							
							(svn r3297) Staticise  
						
						
						
						
					 
					
						2005-12-14 06:20:23 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						809b03c81a 
					 
					
						
						
							
							(svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()  
						
						
						
						
					 
					
						2005-12-10 12:05:39 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						8733f49e88 
					 
					
						
						
							
							(svn r3232) -Add: implemented the event-system for AIs  
						
						... 
						
						
						
						-Add: added several hooks (event-callbacks) for road-related-stuff 
						
						
					 
					
						2005-11-23 15:08:29 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						4845ff063b 
					 
					
						
						
							
							(svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'major' version to just: version.  
						
						
						
						
					 
					
						2005-11-22 19:33:29 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						22a4679837 
					 
					
						
						
							
							(svn r3218) -Feature: Multiheaded train engines will now stay in the same train  
						
						... 
						
						
						
						This means that any user attempt to remove a rear engine will tell the user to move the front engine instead
	This fixes the assert when moving multiheaded engines (introduced in r3144)
	Note: to make old savegames use this feature, some engines might be turned around in order to link engines in pairs
-Codechange: train subtype is now a bitmask
	This allows fast access to info like if it is a wagon or engine and if it is in front and so on
	Note: savegame version bump 
						
						
					 
					
						2005-11-18 23:41:03 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						3e702afc08 
					 
					
						
						
							
							(svn r3213) - Codechange: Clean up handling of road stops, avoiding unnecessary use of pointers and using the *BIT() macros.  
						
						
						
						
					 
					
						2005-11-17 10:12:21 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d177e5da67 
					 
					
						
						
							
							(svn r3202) If cascade -> switch  
						
						
						
						
					 
					
						2005-11-16 12:29:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b9729fb72e 
					 
					
						
						
							
							(svn r3185) const  
						
						
						
						
					 
					
						2005-11-15 09:00:02 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						1b0091e0d2 
					 
					
						
						
							
							(svn r3184) GB/SB  
						
						
						
						
					 
					
						2005-11-15 08:49:46 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7b7593d092 
					 
					
						
						
							
							(svn r3182) Fix braino in r3181  
						
						
						
						
					 
					
						2005-11-14 20:20:24 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						f7abff5f96 
					 
					
						
						
							
							(svn r3181) -Bracing  
						
						... 
						
						
						
						-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if 
						
						
					 
					
						2005-11-14 19:48:04 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						4a14a586e2 
					 
					
						
						
							
							(svn r3173) Use the trinary operator and switch to improve readability  
						
						... 
						
						
						
						Also align short cases nicely 
						
						
					 
					
						2005-11-13 14:54:09 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ee15e3de13 
					 
					
						
						
							
							(svn r3172) static, const  
						
						
						
						
					 
					
						2005-11-13 13:43:55 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						ff8223150a 
					 
					
						
						
							
							(svn r3167) - NewGRF: Start moving custom station code to separate files.  
						
						... 
						
						
						
						Rewrite handling of station classes.
          Allow for more than 8 station tile layouts.
          Start of code to unload custom stations. 
						
						
					 
					
						2005-11-12 00:19:34 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						b1075ca7a4 
					 
					
						
						
							
							(svn r3166) Constify read-only accesses of custom stations  
						
						
						
						
					 
					
						2005-11-11 20:34:16 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						5481dcd191 
					 
					
						
						
							
							(svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains  
						
						... 
						
						
						
						-Trains will now remember the length of stations it visits and sell cars
        when being autoreplaced if they became too long
        -If it needs to remove cars, then it starts from the front and sells
        all it can find until the train is short enough
        -This only works for trains, that knows the station length of the route
        so a full uninterrupted run is needed
        -a train needs 1-2 runs to detect if the shortest station is expanded
        -This feature can be turned on and off in the train replace window
        and each company can have it's own setting
        -NOTE: minor savegame version bump 
						
						
					 
					
						2005-11-07 23:20:47 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						47137cefb7 
					 
					
						
						
							
							(svn r3078) Some more stuff, which piled up:  
						
						... 
						
						
						
						- const, whitespace, indentation, bracing, GB/SB, pointless casts
- use the trinary operator where appropriate
- data types (uint[] -> AcceptedCargo, ...)
- if cascade -> switch
- if (ptr) -> if (ptr != NULL)
- DeMorgan's Law
- Fix some comments
- 0 -> '\0', change magic numbers to symbolic constants 
						
						
					 
					
						2005-10-23 13:04:44 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2cc2154ad2 
					 
					
						
						
							
							(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes  
						
						... 
						
						
						
						nothing spectacular, just some stuff, which piled up 
						
						
					 
					
						2005-10-22 06:39:32 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ece9b9b2b6 
					 
					
						
						
							
							(svn r3066) Constify the parameter of GetSlopeZ_*()  
						
						
						
						
					 
					
						2005-10-19 14:49:46 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						66bf4f863d 
					 
					
						
						
							
							(svn r3049) Replace byte/int/uint by RailType where appropriate  
						
						
						
						
					 
					
						2005-10-16 09:13:04 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d5042d4ab2 
					 
					
						
						
							
							(svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list  
						
						
						
						
					 
					
						2005-10-15 11:06:54 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						9fea263c77 
					 
					
						
						
							
							(svn r3030) More work for GB/SB, this time concerning the waiting_acceptance attribute of stations  
						
						
						
						
					 
					
						2005-10-11 13:54:21 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						76db75d81a 
					 
					
						
						
							
							(svn r3028) s/255/OWNER_SPECTATOR/  
						
						
						
						
					 
					
						2005-10-10 10:36:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						3397e202c8 
					 
					
						
						
							
							(svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants  
						
						
						
						
					 
					
						2005-10-07 07:35:15 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ae4a1f3675 
					 
					
						
						
							
							(svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB  
						
						
						
						
					 
					
						2005-10-05 07:20:26 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						d1591e864d 
					 
					
						
						
							
							(svn r3015) -NewGRF: Add a new sprite group result type, and support loading of callbacks results within random and "real" groups. (Not fully supported yet.)  
						
						
						
						
					 
					
						2005-10-04 20:38:26 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						9fabe008a0 
					 
					
						
						
							
							(svn r3014) -NewGRF, Codechange: Make all sprite group references be pointers instead of copying the data around.  
						
						
						
						
					 
					
						2005-10-04 19:52:26 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ce1c72cf6e 
					 
					
						
						
							
							(svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate  
						
						
						
						
					 
					
						2005-09-28 19:35:36 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						8e6a911700 
					 
					
						
						
							
							(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters  
						
						... 
						
						
						
						- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending 
						
						
					 
					
						2005-09-18 20:56:44 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						7164ff86f9 
					 
					
						
						
							
							(svn r2953) - Fix: [ 1257766 ] Cannot make ships go to an oil platform (oilrig has no station). While it is still possible that oilrigs end up without a station, it is only the case where no more stations can be built at all  
						
						
						
						
					 
					
						2005-09-14 22:03:27 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2131f68ae2 
					 
					
						
						
							
							(svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone  
						
						... 
						
						
						
						- Add IsLocalPlayer() which substitutes _local_player == _current_player 
						
						
					 
					
						2005-09-14 18:03:38 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						2e87864d0b 
					 
					
						
						
							
							(svn r2948) -Fix: the old AI needs a special flag that triggers all kind of special  
						
						... 
						
						
						
						abilities you really don't want to know about (free bridges, etc..)
       I removed this flag some revisions ago, but the Aircraft part
       depends on it, so I re-enabled it again.. 
						
						
					 
					
						2005-09-13 12:19:27 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						991d5c6234 
					 
					
						
						
							
							(svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c)  
						
						... 
						
						
						
						-Fix: removed the ability for the oldAI to cheat (this will criple him somewhat)
-Add: base-code for many improvements to come in the AI-system
-Add: added base-code for multiplayer AIs (DOES NOT WORK YET!) 
						
						
					 
					
						2005-09-07 15:10:11 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						03e860d06d 
					 
					
						
						
							
							(svn r2819) Make variables, which are exclusive for internal use of the save/load code, static in saveload.c  
						
						
						
						
					 
					
						2005-08-06 17:40:21 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						fcf5ace08f 
					 
					
						
						
							
							(svn r2774) -Codechange: Removed TRACKTYPE_SPRITE_PITCH globally and replaced it by a member of RailtypeInfo  
						
						
						
						
					 
					
						2005-07-31 22:53:57 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						502718caa6 
					 
					
						
						
							
							(svn r2731) -Fix [ 1244171 ]: Hangar orders are now properly invalidated as soon as the airport is removed  
						
						
						
						
					 
					
						2005-07-28 05:47:54 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						238e47cd42 
					 
					
						
						
							
							(svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers  
						
						... 
						
						
						
						by enums. There remains work in gfx.c to move the "transparency" and
"recolor" bits around to make space for more sprites. However, 2800
additional sprites can now be loaded. There also remains cleanup and
Doxygen work on many of the header files. 
						
						
					 
					
						2005-07-24 15:56:31 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a227065ab7 
					 
					
						
						
							
							(svn r2701) Insert Id tags into all source files  
						
						
						
						
					 
					
						2005-07-24 14:12:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						559babcdc9 
					 
					
						
						
							
							(svn r2673) Include functions.h directly, not globally via openttd.h  
						
						
						
						
					 
					
						2005-07-22 07:02:20 +00:00