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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						723e789b2f 
					 
					
						
						
							
							(svn r3154) - Fix: Last value of an array is lengthof-1; let's keep this at a typo, shall we :P  
						
						
						
						
					 
					
						2005-11-07 17:31:21 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						947fc8a8ec 
					 
					
						
						
							
							(svn r3153) - Feature: [ 1276827 ] Drag and drop rocky areas in scenario editor (MeusH-ish)  
						
						
						
						
					 
					
						2005-11-07 16:19:45 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						7304bbe500 
					 
					
						
						
							
							(svn r3152) - NewGRF: [ 1340189 ] Action 7/9 new value : is it TTDPatch or OpenTTD? (belugas)  
						
						
						
						
					 
					
						2005-11-07 14:34:23 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						f816b74536 
					 
					
						
						
							
							(svn r3151) - Fix: showing the highscore might crash the game with an invalid string message in the case when a highscore file was used before certain strings were added.  
						
						... 
						
						
						
						- Codechange: protect _endgame_perf_titles from out-of-bounds access. 
						
						
					 
					
						2005-11-07 13:30:43 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						8bcfa23d29 
					 
					
						
						
							
							(svn r3150) Unify some code duplication in HandleLocomotiveSmokeCloud()  
						
						
						
						
					 
					
						2005-11-07 13:02:33 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						bc25cd89bf 
					 
					
						
						
							
							(svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.  
						
						
						
						
					 
					
						2005-11-06 13:42:26 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						220b4c27c1 
					 
					
						
						
							
							(svn r3147) Fix crash when building dual-head rail vehicles...  
						
						
						
						
					 
					
						2005-11-06 13:29:28 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						b58cfc36da 
					 
					
						
						
							
							(svn r3146) Avoid use of variable size declared arrays when allocating articulated rail vehicles.  
						
						
						
						
					 
					
						2005-11-06 12:39:30 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						de76933337 
					 
					
						
						
							
							(svn r3145) Fix two off-by-one errors in building articulated rail vehicles.  
						
						
						
						
					 
					
						2005-11-06 10:17:20 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						63842939ed 
					 
					
						
						
							
							(svn r3144) -Fix: a new train is now made if the front unit is an engine and the former front engine is moved away (Meush)  
						
						
						
						
					 
					
						2005-11-06 01:15:10 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						b6d1f81635 
					 
					
						
						
							
							(svn r3143) -Codechange: greatly increased speed when allocating vehicles  
						
						... 
						
						
						
						This increases the speed greatly when allocating more than one at a time
        (planes, artic engines, cloning...) and when adding another block of 
        vehicles to the vehicle pool (adding 512 vehicles each time) 
						
						
					 
					
						2005-11-05 19:58:16 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						58785904a6 
					 
					
						
						
							
							(svn r3142) Remove a now invalid case fall-through and use helper function instead of map access.  
						
						
						
						
					 
					
						2005-11-05 18:32:21 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						49335b4daa 
					 
					
						
						
							
							(svn r3141) Replace incorrect railtype bitmask in CmdRailTrackHelper with appropriate GB()  
						
						
						
						
					 
					
						2005-11-05 18:21:28 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						0412040bcc 
					 
					
						
						
							
							(svn r3140) Building/removing a waypoint could leave old PBS reservations behind. This ensures they are cleared.  
						
						
						
						
					 
					
						2005-11-05 18:13:40 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						267314b4d0 
					 
					
						
						
							
							(svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.  
						
						
						
						
					 
					
						2005-11-05 16:07:26 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						d86829d0e0 
					 
					
						
						
							
							(svn r3138) -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars  
						
						... 
						
						
						
						Now it gives "too many vehicles" error message instead
	To make this work, AllocateVehicles() needed to be moved to vehicle.c (from aircraft_cmd.c) and made non-static 
						
						
					 
					
						2005-11-05 14:01:00 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						7d4d13df35 
					 
					
						
						
							
							(svn r3137) -Fix: [autoreplace] fixed assert that was triggerable when a vehicle entered a depot even though the goto depot was canceled  
						
						... 
						
						
						
						this assert could be reached by clicking on the goto depot button to cancel goto depot from the orders and the vehicle
	still entered the depot. The flags in that case would not be "normal" anymore. An additional check is added to prevent this 
						
						
					 
					
						2005-11-04 22:10:49 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						c8ea743e47 
					 
					
						
						
							
							(svn r3136) -Fix: [autoreplace] all cargo in engines that consists of more than one vehicle will try to move cargo from all vehicles  
						
						... 
						
						
						
						currently this applies to planes and multiheaded train engines (no more lost airmail)
	added GetNextEnginePart() that returns the next vehicle in an engine nomatter what type it is
	when more types of multivehicle engines are added, they will have to be added here too or autoreplace will not remove all cargo 
						
						
					 
					
						2005-11-04 20:52:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d42b7649a4 
					 
					
						
						
							
							(svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers  
						
						
						
						
					 
					
						2005-11-04 16:12:48 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a21762980d 
					 
					
						
						
							
							(svn r3134) Forgot to commit one file in r3133  
						
						
						
						
					 
					
						2005-11-04 14:57:53 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						62d7732273 
					 
					
						
						
							
							(svn r3133) - static, const  
						
						... 
						
						
						
						- remove long unused stuff and bogus comments
- complement struct typedefs
- remove read-only (_demo_mode) and unused (_fix_mouse_at) global variables 
						
						
					 
					
						2005-11-04 14:01:44 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						081bae03d9 
					 
					
						
						
							
							(svn r3132) -NewGRF: support positioning of rail vehicle visual effects.  
						
						
						
						
					 
					
						2005-11-04 12:58:18 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						04134d1481 
					 
					
						
						
							
							(svn r3131) Enable panning of audio relative to screen position.  
						
						
						
						
					 
					
						2005-11-04 10:02:50 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						c8ea909811 
					 
					
						
						
							
							(svn r3130) Calculate shorter wagon lengths more precisely in train depot window. This affects wagon position, the scroll bar, and the train length counter. No trial and error is required to get the correct length now.  
						
						
						
						
					 
					
						2005-11-04 07:38:26 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						ea720689a3 
					 
					
						
						
							
							(svn r3129) -Fix: [autoreplace] fixed bug that made the player pay twice for autoreplacing and could end up with negative money  
						
						... 
						
						
						
						this is not the same bug as in rev 3128, which means you actually paid 3 times. Now it pays correctly 
						
						
					 
					
						2005-11-03 21:22:38 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						b950fee119 
					 
					
						
						
							
							(svn r3128) -Fix: [autoreplace] fixed bug that made the player pay twice for autoreplacing and could end up with negative money  
						
						
						
						
					 
					
						2005-11-03 20:19:15 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						80af1ebca8 
					 
					
						
						
							
							(svn r3127) -Fix: [autoreplace] fixed a condition where a vehicle could fail to stop when autoreplacing  
						
						... 
						
						
						
						this would result in the construction of a new vehicle while the old one just continued
	added an assert to make sure it's always stopped before trying to sell the old vehicle 
						
						
					 
					
						2005-11-03 19:51:28 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						01b6109751 
					 
					
						
						
							
							(svn r3126) Autoreplace: Only the first vehicle in a chain should be marked as entering a depot, so call moved out of DoVehicleTrigger loop.  
						
						
						
						
					 
					
						2005-11-03 18:27:29 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7c40462d24 
					 
					
						
						
							
							(svn r3125) Symbolic names for skiping sprites and the end of the sprite list  
						
						
						
						
					 
					
						2005-11-03 15:25:45 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						e80d448478 
					 
					
						
						
							
							(svn r3124) Alter train loading/unloading time to use the actual length of the train instead of the number of wagons. The actual length is cached in the first vehicle of the train.  
						
						
						
						
					 
					
						2005-11-03 09:22:24 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						689006ee73 
					 
					
						
						
							
							(svn r3123) eh, don't press enter after typing text, previous patch wasn't finished. Now strgen really behaves correctly. Thanks again glx  
						
						
						
						
					 
					
						2005-11-02 23:55:10 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						9d786d3e53 
					 
					
						
						
							
							(svn r3122) - Fix (regression): recent change to strgen which 'fixed' all strings with wrong plural forms. Thanks for glx for pointing this out (after I changed his original patch which was correct..whohoo braindeadness; here I come)  
						
						
						
						
					 
					
						2005-11-02 23:31:04 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						b850806205 
					 
					
						
						
							
							(svn r3121) [Translations] Moved turkish.txt from unfinished to stable  
						
						
						
						
					 
					
						2005-11-02 19:20:48 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						9bcf0cd1e2 
					 
					
						
						
							
							(svn r3120) Update the turkish translation, about 2000 strings.  
						
						... 
						
						
						
						Many thanks to jnmbk for his effort! 
						
						
					 
					
						2005-11-02 19:16:33 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						422a8654e3 
					 
					
						
						
							
							(svn r3119) Don't pretend to be the Windows version of TTD all the time. When being asked answer according to _use_dos_palette. (Suggestion by Belugas)  
						
						
						
						
					 
					
						2005-11-02 16:05:45 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						94e09ba605 
					 
					
						
						
							
							(svn r3118) Name 3 palette modifiers properly (belugas)  
						
						
						
						
					 
					
						2005-11-02 13:06:07 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						7e03f1cc3c 
					 
					
						
						
							
							(svn r3117) [Translations] Updated french  
						
						
						
						
					 
					
						2005-11-01 18:33:47 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						59913ae719 
					 
					
						
						
							
							(svn r3116) -Fix: [autoreplace] fixed issue where autorenewing/autoreplacing a plane could lock up an airport  
						
						... 
						
						
						
						this will not fix already locked up airports
        this bug was introduced in rev 3111 
						
						
					 
					
						2005-11-01 17:20:06 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						6390bcc636 
					 
					
						
						
							
							(svn r3115) Fix typos, remove untranslated strings, use the correct charset  
						
						
						
						
					 
					
						2005-11-01 09:34:42 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						f6fdb150e7 
					 
					
						
						
							
							(svn r3114) Close two gaps in the sprite array when loading openttd.grf. That's seven more free sprite slots, yay!  
						
						
						
						
					 
					
						2005-11-01 06:38:23 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						8ea1639603 
					 
					
						
						
							
							(svn r3113) -Fix: The Makefile had 64bit code which was obsolete, not to say wrong.  
						
						... 
						
						
						
						This removes all the 64bit stuff from the Makefile. Everything should 
  work just fine. Also removed the warning on amd64, 64bit OpenTTD is 
  stable. Tnx to dst for commenting and testing on this subject. 
						
						
					 
					
						2005-10-31 18:29:21 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						35217570a9 
					 
					
						
						
							
							(svn r3112) -Feature: [autoreplace] profit counters are now remembered too (request by Darkvater)  
						
						
						
						
					 
					
						2005-10-31 14:30:45 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						682b9ee8e4 
					 
					
						
						
							
							(svn r3111) -Fix: [autoreplace] [ 1341783 ] Assertion failure in vehicle.c line 378  
						
						... 
						
						
						
						running MaybeReplaceVehicle() is now delayed until after the loop in CallVehicleTicks()
	This avoids selling the vehicle the loop currently works with (and continues to work with afterwards) 
						
						
					 
					
						2005-10-31 12:59:47 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						95d1c43565 
					 
					
						
						
							
							(svn r3110) Replace another 256 with TOTAL_NUM_ENGINES.  
						
						
						
						
					 
					
						2005-10-31 12:01:41 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						7298b0b31b 
					 
					
						
						
							
							(svn r3109) Replace two occurrences of '256' with TOTAL_NUM_ENGINES  
						
						
						
						
					 
					
						2005-10-31 11:22:52 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c1c086d9a0 
					 
					
						
						
							
							(svn r3108) Confine the use of SPR_OPENTTD_BASE to table/sprites.h by adding/using some sprite enums  
						
						
						
						
					 
					
						2005-10-31 10:23:58 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						1a2ad83b00 
					 
					
						
						
							
							(svn r3107) -NewGRF: Move train y-position offset adjustment to remove code duplication, and make it apply only to vehicles with a custom image.  
						
						
						
						
					 
					
						2005-10-30 21:47:42 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						328158395b 
					 
					
						
						
							
							(svn r3106) -Autoreplace feature: Continue to show old vehicles in replace window after all player's vehicles of that type have been replaced. This allows the replacement to be removed. These vehicles are shown in grey instead of the player's colour.  
						
						
						
						
					 
					
						2005-10-30 21:35:48 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						1ef02f8cca 
					 
					
						
						
							
							(svn r3105) readded 2 line that should not have been removed in last commit(3104). Now cargo are removed when refitting (like it should)  
						
						
						
						
					 
					
						2005-10-30 15:50:08 +00:00