celestar 
							
						 
					 
					
						
						
							
						
						a3739aecdf 
					 
					
						
						
							
							(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 
							
						 
					 
					
						
						
							
						
						647cbd6bdd 
					 
					
						
						
							
							(svn r2701) Insert Id tags into all source files  
						
						
						
						
					 
					
						2005-07-24 14:12:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						54cbd01825 
					 
					
						
						
							
							(svn r2673) Include functions.h directly, not globally via openttd.h  
						
						
						
						
					 
					
						2005-07-22 07:02:20 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						71140a5768 
					 
					
						
						
							
							(svn r2669) Shuffle some more stuff around to reduce dependencies  
						
						
						
						
					 
					
						2005-07-21 22:15:02 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						6ad3895306 
					 
					
						
						
							
							(svn r2660) Get rid of some more shifting/anding/casting  
						
						
						
						
					 
					
						2005-07-21 06:31:02 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						1fed0046ac 
					 
					
						
						
							
							(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite  
						
						
						
						
					 
					
						2005-07-20 22:05:13 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						f09638ad3d 
					 
					
						
						
							
							(svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read  
						
						
						
						
					 
					
						2005-07-20 15:29:28 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7269771544 
					 
					
						
						
							
							(svn r2643) Get rid of some unnecessary casts  
						
						
						
						
					 
					
						2005-07-19 21:49:35 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						de19186be3 
					 
					
						
						
							
							(svn r2595) -Codechange: Introduced "IsSteepTileh" to find whether a tile is steep  
						
						... 
						
						
						
						(i.e. spans two height levels) and use it throughout the code.
-Codechange: Add CanBuildDepotByTileh to find if a tile is suitable to
build a depot on it. Wraps some bitmagic which seems quite unreadable at
first glance 
						
						
					 
					
						2005-07-16 23:47:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a4bf608d40 
					 
					
						
						
							
							(svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.  
						
						
						
						
					 
					
						2005-07-13 18:04:01 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						ab9c6f126d 
					 
					
						
						
							
							(svn r2516)  - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal.  
						
						... 
						
						
						
						- Feature: [pbs] Implement autoplacement of pbs blocks, when a block has an entry and an exit pbs signal, covert the entire block to pbs. Can be turned off in the patch settings.
 - Feature: [pbs] Allow showing of reserved status by making the tracks darker, when the pbs debug level is at least 1. 
						
						
					 
					
						2005-07-04 14:58:55 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						9617614b04 
					 
					
						
						
							
							(svn r2487) Replace TILE_XY by TileXY/TileDiffXY  
						
						
						
						
					 
					
						2005-06-25 16:44:57 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a733fede9b 
					 
					
						
						
							
							(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"  
						
						
						
						
					 
					
						2005-06-24 12:38:35 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						6e052ccca2 
					 
					
						
						
							
							(svn r2436) - Fix: Deleting canals under bridges removes bridges first in certain configurations (peter1138)  
						
						
						
						
					 
					
						2005-06-09 13:54:08 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ff0030936e 
					 
					
						
						
							
							(svn r2408) Introduce SetTileOwner() and use it  
						
						
						
						
					 
					
						2005-06-04 12:13:24 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a9b95b3cbb 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						ba8c649fac 
					 
					
						
						
							
							(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.  
						
						
						
						
					 
					
						2005-06-02 19:30:21 +00:00 
						 
				 
			
				
					
						
							
							
								hackykid 
							
						 
					 
					
						
						
							
						
						2f1a224ea9 
					 
					
						
						
							
							(svn r2390)  - Codechange: Fix some warnings on GCC 4.0.0  
						
						
						
						
					 
					
						2005-06-01 11:52:44 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						6d349b6284 
					 
					
						
						
							
							(svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).  
						
						... 
						
						
						
						- CodeChange: changed the airport gui airport-type checking. Added function GetValidAirports() that returns bitmasked availibility, is also used for checking.
- CodeChange: to check tree-planting, 2 const arrays have been moved to table/tree_land.h (type and count)
- CodeChange: added IsTownIndex() in following of IsStationIndex(), etc.
- Fix (regression): road tunnels did not work anymore, forgot that their type was 0x200 (documented now) 
						
						
					 
					
						2005-05-09 22:33:00 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						84b0d2d19d 
					 
					
						
						
							
							(svn r2286) - CodeChange: paramcheck the next batch of commands.  
						
						... 
						
						
						
						- Fix (regression): fix up terraform land where every player can terraform land (towns, map generation), and player can terraform different corners; used for building tunnels 
						
						
					 
					
						2005-05-09 16:37:40 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						da1a7587af 
					 
					
						
						
							
							(svn r2285) - Codechange: Fix up some of the missing things from server-checking; namely bridge-type, bridge-length, dragged end-tile (bridge/station), station_spread  
						
						... 
						
						
						
						- Fix: [ 1197256 ] max station spread patch < 7 does not work. Station spread was not taking into account when not using drag&drop. Fix this up, and add a callback to the settings window to immediately reflect the changes. 
						
						
					 
					
						2005-05-09 13:26:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						419af5cece 
					 
					
						
						
							
							(svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()  
						
						
						
						
					 
					
						2005-05-07 10:26:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						c6b211d0aa 
					 
					
						
						
							
							(svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile()  
						
						
						
						
					 
					
						2005-03-27 16:40:01 +00:00 
						 
				 
			
				
					
						
							
							
								pasky 
							
						 
					 
					
						
						
							
						
						730986eeb9 
					 
					
						
						
							
							(svn r2089) - Codechange: Simplify slopes check in CmdBuildBridge(). Inspired by st3wis' patch 1144746.  
						
						
						
						
					 
					
						2005-03-27 15:56:54 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						4089c85653 
					 
					
						
						
							
							(svn r2066) - Fix: [ 1164248 ] game crash while AI builds bridge. Also protect bridge building against invalid bridges and some safeguards when drawing.  
						
						
						
						
					 
					
						2005-03-25 17:30:54 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						d1e158d6f7 
					 
					
						
						
							
							(svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h  
						
						... 
						
						
						
						-Codechange: rewrote some functions while moving waypoint-stuff
-Add: added support for 64k waypoints
-Fix: made the waypoint struct a bit more logic (no bit-fucking) 
						
						
					 
					
						2005-03-24 17:03:37 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						3892aece72 
					 
					
						
						
							
							(svn r1934) Small cleanup (uint -> TileIndex, (uint)-1 -> INVALID_TILE  and similar stuff)  
						
						
						
						
					 
					
						2005-03-06 12:31:07 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						4713b11ffe 
					 
					
						
						
							
							(svn r1923) - Fix: [ 1155696 ] Crash with german umlauts in station names. The width was not calculated using unsigned values, so all characters above 128 were "negative"  
						
						... 
						
						
						
						- Codechange: a more proper check for a null pointer in tunnelbridge_cmd.c should have gone in with the previous commit 
						
						
					 
					
						2005-03-04 00:14:28 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						830565514c 
					 
					
						
						
							
							(svn r1867) Include tables/sprites.h only in files which need it  
						
						
						
						
					 
					
						2005-02-13 11:18:02 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						7d56d1d841 
					 
					
						
						
							
							(svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters  
						
						
						
						
					 
					
						2005-02-07 10:41:45 +00:00 
						 
				 
			
				
					
						
							
							
								matthijs 
							
						 
					 
					
						
						
							
						
						cc0966405b 
					 
					
						
						
							
							(svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO  
						
						... 
						
						
						
						- Add: asserts to find the v->u.rail.track == 0 problem.
- Add: IsValidDepot(), IsValidTown(), IsValidSign(), IsValidVehicle(), IsValidStation()
- Add: GetTileOwner(), IsTileOwner()
- Codechange: Replaced IsShipDepotTile(), IsTrainDepotTile(), IsRoadDepotTile() by IsTileDepotType().
- Codechange: typedeffed the MAP_OWNERS as Owner. Should be used as variable type.
- Codechange: Replaced a few uint by TileIndex. 
						
						
					 
					
						2005-02-06 22:36:08 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						39858e696b 
					 
					
						
						
							
							(svn r1713) Split off several functions which query/set information about a single tile from map.h and put them into a seperate file tile.h  
						
						
						
						
					 
					
						2005-01-29 12:19:05 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						372b9cb827 
					 
					
						
						
							
							(svn r1696) Use GetTileSlope() instead of FindLandscapeHeightByTile() where it is sufficient. FindLandscapeHeightByTile() uses GetTileSlope() internally and adds some more info, which is discarded in these cases.  
						
						... 
						
						
						
						While touching the code make a bit more clear how GetBridgeHeight() works. 
						
						
					 
					
						2005-01-27 12:52:20 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						81ee2d931b 
					 
					
						
						
							
							(svn r1610) Remove trailing whitespace (last time ever, i hope)  
						
						
						
						
					 
					
						2005-01-23 13:09:35 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						97f893ae2f 
					 
					
						
						
							
							(svn r1596) Add some more statics  
						
						
						
						
					 
					
						2005-01-22 22:47:58 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ba79ff1210 
					 
					
						
						
							
							(svn r1592) -Fix: [1090495] Slopes under high bridges weren't flooded  
						
						
						
						
					 
					
						2005-01-22 19:05:30 +00:00 
						 
				 
			
				
					
						
							
							
								darkvater 
							
						 
					 
					
						
						
							
						
						0d43eb3ab8 
					 
					
						
						
							
							(svn r1583) -Fix: You should no longer be able to delete bridges on any type of underground when there is a vehicle on it  
						
						
						
						
					 
					
						2005-01-21 19:52:32 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						fea6e43b7c 
					 
					
						
						
							
							(svn r1574) -Fix [ 1105281 ] upgrade rail fails when train under bridge  
						
						
						
						
					 
					
						2005-01-20 09:12:20 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						467e4b82bf 
					 
					
						
						
							
							(svn r1568) made an enum of train subtypes to make the code more readable  
						
						
						
						
					 
					
						2005-01-19 19:15:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						90cafa9b15 
					 
					
						
						
							
							(svn r1560) Introduce SetTileType() and SetTileHeight()  
						
						... 
						
						
						
						Replace direct references to _map_type_and_height with these 
						
						
					 
					
						2005-01-18 18:41:56 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ca8eb44828 
					 
					
						
						
							
							(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns  
						
						
						
						
					 
					
						2005-01-16 14:06:22 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						61a6bc544d 
					 
					
						
						
							
							(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts  
						
						
						
						
					 
					
						2005-01-16 11:24:58 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						957635121c 
					 
					
						
						
							
							(svn r1504) enummed town ratings (Jango)  
						
						
						
						
					 
					
						2005-01-14 09:20:12 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						4450ff105c 
					 
					
						
						
							
							(svn r1451) Fix some of the signed/unsigned comparison warnings  
						
						
						
						
					 
					
						2005-01-09 21:25:44 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						414ac3286b 
					 
					
						
						
							
							(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]  
						
						
						
						
					 
					
						2005-01-07 17:02:43 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						e4cf2ba1b3 
					 
					
						
						
							
							(svn r1386) Move TileIndexDiff to map.h  
						
						... 
						
						
						
						Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir() 
						
						
					 
					
						2005-01-05 13:32:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						181e9b6cf9 
					 
					
						
						
							
							(svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of TILE_MAX_[XY]  
						
						... 
						
						
						
						While here replace one erroneous TILE_MAX_X with MapMaxY() 
						
						
					 
					
						2005-01-03 12:56:22 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						a148ff4e0d 
					 
					
						
						
							
							(svn r1117) Move map arrays and some related macros into their own files map.c and map.h  
						
						
						
						
					 
					
						2004-12-15 22:18:54 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						291d25a88b 
					 
					
						
						
							
							(svn r925) Use sound enums  
						
						... 
						
						
						
						Also play the correct sound when a toyland road vehicle breaks down 
						
						
					 
					
						2004-12-04 09:26:39 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						265ac67183 
					 
					
						
						
							
							(svn r901) Small step in the process to clean up the DPARAM mess:  
						
						... 
						
						
						
						- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest)
- use inline functions instead of macros
- add assert()s to check for buffer overruns 
						
						
					 
					
						2004-12-02 22:53:07 +00:00