celestar 
							
						 
					 
					
						
						
							
						
						0dc5d10de2 
					 
					
						
						
							
							(svn r4179) -Codechange: Add and make use of an accessor that obtains the building type  
						
						
						
						
					 
					
						2006-03-30 15:06:49 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						8310a46351 
					 
					
						
						
							
							(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...  
						
						
						
						
					 
					
						2006-03-29 19:03:47 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						88d27219b4 
					 
					
						
						
							
							(svn r4085) Add GetTown{Index,ByTile}() to get the town index resp. the town from a tile  
						
						
						
						
					 
					
						2006-03-24 12:00:24 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						541703a2f6 
					 
					
						
						
							
							(svn r4073) Add functions to make and test for (most) unmovable tiles  
						
						
						
						
					 
					
						2006-03-23 20:47:56 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						820b8ca230 
					 
					
						
						
							
							(svn r3996) -Fix: Slope and height information returned for some tile types is wrong  
						
						... 
						
						
						
						This leads to graphical glitches when drawing foundations.
This doesn't fix all problems, but at least some of them. 
						
						
					 
					
						2006-03-21 20:02:05 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						75a9419f04 
					 
					
						
						
							
							(svn r3986) Add [GS]etCrossingRoadOwner  
						
						
						
						
					 
					
						2006-03-19 19:33:19 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						d9ee10d3b8 
					 
					
						
						
							
							(svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used  
						
						... 
						
						
						
						- Also add this capability to settings 
						
						
					 
					
						2006-03-16 00:20:33 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						78083f0da7 
					 
					
						
						
							
							(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does  
						
						
						
						
					 
					
						2006-03-12 15:04:03 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						f2dc736554 
					 
					
						
						
							
							(svn r3777) Add some functions to handle tunnels  
						
						
						
						
					 
					
						2006-03-06 20:55:24 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						f3fb21c96c 
					 
					
						
						
							
							(svn r3773) Shove some semantics down ottd's throat by replacing ints and magic numbers by enums and some related changes  
						
						
						
						
					 
					
						2006-03-06 13:11:08 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						cc4f5b4e6f 
					 
					
						
						
							
							(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme  
						
						
						
						
					 
					
						2006-03-05 10:19:33 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						6a74cb2787 
					 
					
						
						
							
							(svn r3660) Convert further road bits and type references to the functions/enums  
						
						
						
						
					 
					
						2006-02-23 12:24:19 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						4b46883751 
					 
					
						
						
							
							(svn r3644) Don't use FindLandscapeHeightByTile() when it's overkill - often it was just a complicated way of writing GetTileSlope(tile, NULL)  
						
						
						
						
					 
					
						2006-02-21 07:41:54 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						45e85d2eb2 
					 
					
						
						
							
							(svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION  
						
						
						
						
					 
					
						2006-02-20 19:43:26 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ea73b46684 
					 
					
						
						
							
							(svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff  
						
						
						
						
					 
					
						2006-02-13 21:15:00 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						96c81610d1 
					 
					
						
						
							
							(svn r3561) Don't use FindLandscapeHeightByTile() when it's overkill. Also use a sprite enum instead of a magic number.  
						
						
						
						
					 
					
						2006-02-06 08:15:30 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b844aa2db3 
					 
					
						
						
							
							(svn r3520) Remove unused parameters from some functions  
						
						
						
						
					 
					
						2006-02-02 07:15:46 +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 
							
						 
					 
					
						
						
							
						
						663b1c6c00 
					 
					
						
						
							
							(svn r3445) - Fix: [ 1415379 ] Enhance documentation of lift destination  
						
						... 
						
						
						
						- Fix: wrong documentation of trees (Tron) 
						
						
					 
					
						2006-01-26 18:36:14 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						e272b03fee 
					 
					
						
						
							
							(svn r3365) Staticise 36 functions  
						
						
						
						
					 
					
						2006-01-05 12:40:50 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						fa78c057ee 
					 
					
						
						
							
							(svn r3339) Remove unnecessary includes  
						
						
						
						
					 
					
						2005-12-24 20:54:31 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						809b03c81a 
					 
					
						
						
							
							(svn r3282) - Codechange: Replace tests against CMD_ERROR with CmdFailed()  
						
						
						
						
					 
					
						2005-12-10 12:05:39 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b5dafb8f94 
					 
					
						
						
							
							(svn r3188) Use CmdFailed() to check, if a command failed, don't compare with CMD_ERROR  
						
						
						
						
					 
					
						2005-11-15 10:50:43 +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 
							
						 
					 
					
						
						
							
						
						5fa6b7eb06 
					 
					
						
						
							
							(svn r3179) - RandomRange() and RandomTile() instead of home brewed versions  
						
						... 
						
						
						
						- CHANCE*() instead of mumbling strange numbers 
						
						
					 
					
						2005-11-14 09:21:05 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						833032adc0 
					 
					
						
						
							
							(svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT  
						
						
						
						
					 
					
						2005-11-14 08:09:57 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ee15e3de13 
					 
					
						
						
							
							(svn r3172) static, const  
						
						
						
						
					 
					
						2005-11-13 13:43:55 +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 
							
						 
					 
					
						
						
							
						
						758ae7e8f6 
					 
					
						
						
							
							(svn r3064) Replace some numbers by sprite names  
						
						
						
						
					 
					
						2005-10-19 06:46:41 +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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						db3b1228bf 
					 
					
						
						
							
							(svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them  
						
						
						
						
					 
					
						2005-10-03 21:20:01 +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 
							
						 
					 
					
						
						
							
						
						180997534c 
					 
					
						
						
							
							(svn r2956) - Fix: [ 1253736 ] creating many town crash to desktop. Now it 'dies' with an ingame error message informing the gamer if it couldn't generate any towns in user-space. Still if it happens during new-game generation it crashes since we don't yet have actions to do in such a circumstance.  
						
						
						
						
					 
					
						2005-09-16 00:33:33 +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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b45aeb5c36 
					 
					
						
						
							
							(svn r2886) Rename the "owner" attribute to "m1", because when it stores an owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing.  
						
						
						
						
					 
					
						2005-08-23 18:47:04 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						9b676d2cd9 
					 
					
						
						
							
							(svn r2758) Add the AB() macro to add a value to a bit range and use it in a few places, also make use of GB and SB nearby  
						
						
						
						
					 
					
						2005-07-30 09:29:20 +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 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0762aa9ec9 
					 
					
						
						
							
							(svn r2669) Shuffle some more stuff around to reduce dependencies  
						
						
						
						
					 
					
						2005-07-21 22:15:02 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d71788c402 
					 
					
						
						
							
							(svn r2660) Get rid of some more shifting/anding/casting  
						
						
						
						
					 
					
						2005-07-21 06:31:02 +00:00 
						 
				 
			
				
					
						
							
							
								celestar 
							
						 
					 
					
						
						
							
						
						85f06d6e7b 
					 
					
						
						
							
							(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite  
						
						
						
						
					 
					
						2005-07-20 22:05:13 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						ac66e3e28f 
					 
					
						
						
							
							(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 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						3486e7e9d5 
					 
					
						
						
							
							(svn r2580) Change: Added {INDUSTRY} command for printing industry names instead of the old {TOWN} {STRING} way.  
						
						... 
						
						
						
						- The formatting of the industry name can be controlled with the string STR_INDUSTRY_FORMAT.
Change: Changed several occurences of {STRING1} into {TOWN} to get rid of townnametype being used directly. 
						
						
					 
					
						2005-07-15 18:30:13 +00:00 
						 
				 
			
				
					
						
							
							
								ludde 
							
						 
					 
					
						
						
							
						
						20e60e5411 
					 
					
						
						
							
							(svn r2574) Fix: AnimatedTile leak in town_cmd.c (this one has probably been here since day 1)  
						
						
						
						
					 
					
						2005-07-15 16:29:30 +00:00