matthijs 
							
						 
					 
					
						
						
							
						
						d90840f7f8 
					 
					
						
						
							
							(svn r2456) * Prettyfied npf.c using enums and wrappers from rail.h.  
						
						... 
						
						
						
						* Moved GetTileRailType() from npf.c to rail.[ch]. 
						
						
					 
					
						2005-06-17 17:11:05 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						7e9e233b37 
					 
					
						
						
							
							(svn r2455) [Translations] Updated to 2005-06-17 (100+ strs / 10+ langs)  
						
						
						
						
					 
					
						2005-06-17 13:39:59 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						958df2b229 
					 
					
						
						
							
							(svn r2454) * Codechange: Move #include "stdafx.h" and "openttd.h" from rail.h to rail.c  
						
						... 
						
						
						
						* Codechange: Move declaration of lookup arrays into the functions that need them. This doesn't pollute the global namespace with the array names.
* Add: rail.h to the openttd.vcproj and openttd.dsp for MSVC. 
						
						
					 
					
						2005-06-17 11:30:50 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						3c133f1f53 
					 
					
						
						
							
							(svn r2453) * CodeChange: Declared the lookup arrays in rail.h as extern, so the linker will complain if they are not defined (ie when rail.c is not included).  
						
						
						
						
					 
					
						2005-06-17 09:53:22 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						8c6fa13faa 
					 
					
						
						
							
							(svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed  
						
						
						
						
					 
					
						2005-06-17 07:35:10 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						c81de3e1e9 
					 
					
						
						
							
							(svn r2451) * Fix: Assertion caused by passing a trackdir where a track was expected.  
						
						
						
						
					 
					
						2005-06-17 00:46:33 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						8e53533786 
					 
					
						
						
							
							(svn r2450) * Codechange: Replaced all uses of the arrays in tile.h with calls to the associated wrapper functions.  
						
						... 
						
						
						
						* Codechange: Made npf.c use some map array accessing wrappers instead of direct access.
* Codechange/Fix: Named every enum in tile.h. Fixes a nasty bug on MSVC where arrays would be initialised with zeroes (tnx Asterix_)
* Removed magic numbers from tables in tile.c.
* Added some explicit casts in tile.h. 
						
						
					 
					
						2005-06-17 00:22:46 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						bacc5396e6 
					 
					
						
						
							
							(svn r2449) * Added an extra warning to the stopall command, "For debugging only!".  
						
						
						
						
					 
					
						2005-06-16 20:54:37 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						9cb58e0bb3 
					 
					
						
						
							
							(svn r2448) General cleanup of rail related code, more to follow.  
						
						... 
						
						
						
						* Add: rail.[ch] for rail-related enums and wrapper functions.
* Codechange: Removed dozens of magic numbers with below enums.
* Codechange: Rewrote CheckTrackCombination().
* Add: TILE_SIZE, TILE_PIXELS and TILE_HEIGHT constants.
* Add: enums RailTileType, RailTileSubtype, SignalType to mask against the map arrays.
* Add: enums Track, TrackBits, Trackdir, TrackdirBits for railway track data. (Note that the old RAIL_BIT constants are replaced by TRACK_BIT ones).
* Add: enums Direction and DiagDirection
* Codechange: Moved a bunch of track(dir) related lookup arrays from npf.[ch] to rail.[ch].
* Codechange: move RailType enum from tile.h to rail.h.
* Add: Wrapper functions for masking signal status in the map arrays: SignalAlongTrackdir, SignalAgainstTrackdir and SignalOnTrack.
* Add: Wrapper functions to access rail tiles, using above enums
* Add: Wrapper functions to modify tracks, trackdirs, directions, etc.
* Add: Wrapper functions for all lookup arrays in rail.[ch] (Arrays are still used in parts of the code)
* Codechange: Renamed some variables and arguments to better represent what they contain (railbit -> track, bits -> trackdirbits, etc.). 
* Codechange: Don't use FindLandscapeHeight() in CmdRemoveSingleRail(), since it returns way too much info. Use GetTileSlope() instead.
* Codechange: [NPF] Removed some unused globals and code from npf.c. 
						
						
					 
					
						2005-06-16 18:04:02 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						fc5784a310 
					 
					
						
						
							
							(svn r2447) * Add: [NPF] Penalty for road vehicles making turns.  
						
						
						
						
					 
					
						2005-06-16 17:53:40 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						085cc7ca0e 
					 
					
						
						
							
							(svn r2446) * Made os/debian/rules executable.  
						
						
						
						
					 
					
						2005-06-16 01:25:01 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						2e42c82793 
					 
					
						
						
							
							(svn r2445) * Add: "stopall" console command, which forcibly stops all vehicles (useful for debugging).  
						
						
						
						
					 
					
						2005-06-16 00:54:19 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						8607bbf06d 
					 
					
						
						
							
							(svn r2444)  - CodeChange: Add an enum for demagicifying the values of the 'flags' parameter of DrawFrameRect(). (_Abraxa_)  
						
						
						
						
					 
					
						2005-06-15 17:27:14 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						b73099e083 
					 
					
						
						
							
							(svn r2443) -Fix: somehow I delete one line too many :(  
						
						
						
						
					 
					
						2005-06-15 17:18:32 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						6358c91a5e 
					 
					
						
						
							
							(svn r2442) [Translations] Updated to 2005-06-15  #2 . (27+X strs / all lang)  
						
						... 
						
						
						
						[Translations] 10 strings got added, 8 strings got changed in english.txt, lots of work ahead 
						
						
					 
					
						2005-06-15 17:09:24 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						9b8cb17831 
					 
					
						
						
							
							(svn r2441) -Feature: You can now give transfer order to set up feeder systems  
						
						
						
						
					 
					
						2005-06-15 16:58:15 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						85fae22fa8 
					 
					
						
						
							
							(svn r2440)  - Fix: [newgrf] Fix the spritesorter to handle overlapping sprites properly, this fixes display problems with really short wagons. (algorithm by patchman, ported by therax)  
						
						... 
						
						
						
						- Fix: [newgrf] Too short wagons could break the 'follow next vehicle' code used in the traincontroller. Clamp better to prevent this. 
						
						
					 
					
						2005-06-15 14:04:48 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						d2869fbb5f 
					 
					
						
						
							
							(svn r2439) [Translations] Updated to 2005-06-15 (6 strs / 3 lang)  
						
						
						
						
					 
					
						2005-06-15 09:28:02 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						6533db736c 
					 
					
						
						
							
							(svn r2438)  - Feature: New display option, 'transparent station signs', makes station signs transparent instead of using a solid bar to draw text on (peter1138)  
						
						
						
						
					 
					
						2005-06-14 10:59:05 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						89bd0b50b6 
					 
					
						
						
							
							(svn r2437) [Translations] Updated to 2005-06-10 (28 strs / 5 lang)  
						
						
						
						
					 
					
						2005-06-10 07:41:26 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						65a00ea754 
					 
					
						
						
							
							(svn r2436) - Fix: Deleting canals under bridges removes bridges first in certain configurations (peter1138)  
						
						
						
						
					 
					
						2005-06-09 13:54:08 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						9ec944003b 
					 
					
						
						
							
							(svn r2435) [Translations] Updated to 2005-06-08 (11 strs / 1 lang)  
						
						
						
						
					 
					
						2005-06-08 15:13:50 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ea0f21fbcc 
					 
					
						
						
							
							(svn r2434) Fix some defects in r2433  
						
						
						
						
					 
					
						2005-06-08 09:03:29 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						0171aae109 
					 
					
						
						
							
							(svn r2433) - CodeChange: unmagicify all road/train crossings with IsLevelCrossing() function (peter1138)  
						
						
						
						
					 
					
						2005-06-07 21:37:00 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						fa8f46c0b7 
					 
					
						
						
							
							(svn r2432) Use GetEngine() instead of DEREF_ENGINE() or even _engines[]  
						
						
						
						
					 
					
						2005-06-07 18:13:49 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						d0cdb45b6c 
					 
					
						
						
							
							(svn r2431)  - Fix: [newgrf] clamp() instead of assert() on the result of the vehicle length calculation, as it can depend on external input. (thanks tron)  
						
						
						
						
					 
					
						2005-06-07 16:44:54 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						8a0f4f32ea 
					 
					
						
						
							
							(svn r2430) [Translations] Updated to 2005-06-07 (118 strs / 8 langs)  
						
						
						
						
					 
					
						2005-06-07 16:11:19 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						0d926eee37 
					 
					
						
						
							
							(svn r2429)  - Fix: Oops, forgot to increase the size of the autoreplace window to fit the extra info from powered wagons.  
						
						
						
						
					 
					
						2005-06-07 01:21:56 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						6d78b70075 
					 
					
						
						
							
							(svn r2428)  - Feature: [newgrf] Implement shorter train vehicles (Therax), and the callback that goes with it.  
						
						... 
						
						
						
						- Codechange: Remove some magic numbers (PALETTE_CRASH) 
						
						
					 
					
						2005-06-06 22:44:11 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						4184611d3a 
					 
					
						
						
							
							(svn r2427)  - Fix: CmdMoveRailVehice; Prevent possible assertion failure when moving vehicles within one chain.  
						
						
						
						
					 
					
						2005-06-06 21:32:04 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						ac1af7848e 
					 
					
						
						
							
							(svn r2426) [Translations] Updated to 2005-06-06  #2 . (133 strs / 12 langs)  
						
						
						
						
					 
					
						2005-06-06 19:18:40 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						b2b0f6f3ce 
					 
					
						
						
							
							(svn r2425) - Fix (regression): wrong sprite for level-land cursor (thx Tron)  
						
						... 
						
						
						
						- CodeChange: change MapSizeX() - 1 to MapMaxX() in the smallmap drawing code 
						
						
					 
					
						2005-06-06 17:30:52 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						7dd5578477 
					 
					
						
						
							
							(svn r2424) - Fix: backport the smallmap_gui.c changes from the map/ branch into trunk. This also implicitely fixes the bug where the game would crash in certain resolutions with certain minimap masks when dragged partly outside the game-area.  
						
						
						
						
					 
					
						2005-06-06 15:58:58 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						2d19785e43 
					 
					
						
						
							
							(svn r2423)  - CodeChange: Include first_engine in the train cache, instead of calculating it all over the place.  
						
						... 
						
						
						
						- Fix: Also recalculate the train cache values for 'wagon chains' (in the depot without an engine), to avoid possible desyncs later.
 - Fix: Make CmdMoveRailVehicle update the caches of the correct trains in all cases. 
						
						
					 
					
						2005-06-06 14:26:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						d549523f96 
					 
					
						
						
							
							(svn r2422) - Codechange: magic number fix in network window (anonymous)  
						
						
						
						
					 
					
						2005-06-06 14:11:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						fd80208af9 
					 
					
						
						
							
							(svn r2421) - how come you didn't get committed you evil file? Be gone!  
						
						
						
						
					 
					
						2005-06-06 14:07:50 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						5fed47964e 
					 
					
						
						
							
							(svn r2420) - Codechange: magic number elminitation of cursorsprites.  
						
						
						
						
					 
					
						2005-06-06 13:47:06 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						71c2a573e1 
					 
					
						
						
							
							(svn r2419) - Fix: saving no longer changes your cursor if it is in a non-mouse state.  
						
						... 
						
						
						
						- Fix: autosaving/loading; it no longer returns a fail code when saving is already in progress. In the case of a load, the game pauses to wait for the save to finish. (glx)
- Fix (regression): fix a bug in the 'buggy load' code where a wrong offset was used for the LZO format. 
						
						
					 
					
						2005-06-06 13:11:35 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						c1173657c7 
					 
					
						
						
							
							(svn r2418) - Fix: typo  
						
						
						
						
					 
					
						2005-06-06 12:27:47 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2bcb41293f 
					 
					
						
						
							
							(svn r2417) - Fix: threads on morphos are apparently unexistent, so implement stubs for them (tokai)  
						
						
						
						
					 
					
						2005-06-06 12:11:44 +00:00 
						 
				 
			
				
					
						
							
							
								miham 
							
						 
					 
					
						
						
							
						
						7992e105f9 
					 
					
						
						
							
							(svn r2416) [Translations] Updated to 2005-06-06 (lots of strings has changed in english, therefore further changes ahead..)  
						
						
						
						
					 
					
						2005-06-06 05:29:06 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						2fbb96bfa5 
					 
					
						
						
							
							(svn r2415)  - Fix: [newgrf] Powered Wagons - Don't assume an undefined callback will fail.  
						
						
						
						
					 
					
						2005-06-06 01:31:36 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						1018d3b786 
					 
					
						
						
							
							(svn r2414)  - Feature: [newgrf] Implement powered wagons, and the callback that goes with it.  
						
						
						
						
					 
					
						2005-06-06 00:19:24 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						09aadafda1 
					 
					
						
						
							
							(svn r2413)  - Codechange: Rewrite the displaying of purchase details a bit, make it easyer to add lines later.  
						
						... 
						
						
						
						- Add: In the purchase details for trains display "(refittable)" after the capacity if the vehicle is refittable. 
						
						
					 
					
						2005-06-05 23:01:10 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						ea57dee837 
					 
					
						
						
							
							(svn r2412)  - Fix: [ 1214948 ] building vehicles without depot crashes game. (Chris Huebsch)  
						
						
						
						
					 
					
						2005-06-05 20:45:04 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						eb173099e9 
					 
					
						
						
							
							(svn r2411)  - Codechange: Have trains cache stuff like consist power/weight/max speed instead of recalculating it each time.  
						
						... 
						
						
						
						- Fix: Station ratings now depends on the max speed of a consist, without being affected by other speed limits from realistic acceleration. 
						
						
					 
					
						2005-06-05 15:37:00 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						9ac03e7181 
					 
					
						
						
							
							(svn r2410)  - Fix: [newgrf] When resolving callbacks, dont ignore wagon overrides.  
						
						
						
						
					 
					
						2005-06-05 05:35:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c2e977a0b8 
					 
					
						
						
							
							(svn r2409) Missed one _map_owner -> IsTileOwner()  
						
						
						
						
					 
					
						2005-06-04 12:14:51 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						74541c1dcc 
					 
					
						
						
							
							(svn r2408) Introduce SetTileOwner() and use it  
						
						
						
						
					 
					
						2005-06-04 12:13:24 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0c4ecbe9ec 
					 
					
						
						
							
							(svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner  
						
						
						
						
					 
					
						2005-06-04 11:56:32 +00:00