rubidium 
							
						 
					 
					
						
						
							
						
						9560a1d9ec 
					 
					
						
						
							
							(svn r7561) -Fix (FS#431): core and (patches) GUI were not in-sync with respect to autorenew settings. This is only a temporary fix, as the definite fix needs to move the autorenew settings to a per-company settings window.  
						
						
						
						
					 
					
						2006-12-26 12:56:48 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						80c3be09fc 
					 
					
						
						
							
							(svn r7560) -Fix (r2300): p2 is not a PlayerID when creating a new company, but the ClientID (index in _network_client_info). Therefore it was not possible to create a new company if 8 or more clients were connected. Thanks to FlashFF for noticing this bug.  
						
						
						
						
					 
					
						2006-12-26 11:47:31 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						ed46b7d380 
					 
					
						
						
							
							(svn r7138) -Fix: [vehicle list windows] fixed a rare crash where having some (not all) vehicle list windows open for a player, that goes bankrupt would crash the game  
						
						... 
						
						
						
						-Codechange: closing all windows for a player will now loop all windows and close those, which got the player as caption instead of having a list of windows to close 
						
						
					 
					
						2006-11-13 20:33:51 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						d550c47c9a 
					 
					
						
						
							
							(svn r7131) -Fix (r7126) which fixes (r2817) the activating of a function call that was  
						
						... 
						
						
						
						1. never executed before that and even if it would, it
 2. could never be executed because if it did OpenTTD would crash 
						
						
					 
					
						2006-11-11 23:08:07 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						d0e0b78a32 
					 
					
						
						
							
							(svn r7126) -Synchronize the engine-renew settings of a player when joining a multiplayer game.  
						
						
						
						
					 
					
						2006-11-10 18:34:19 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						73ca5faa2e 
					 
					
						
						
							
							(svn r7125) -Fix: Several errors/glitches related to multiplayer and bankrupcy, mainly such a  
						
						... 
						
						
						
						thing happening to a server, and non updated company-information. Also fixes FS#393. 
						
						
					 
					
						2006-11-10 17:52:51 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						929cfa6687 
					 
					
						
						
							
							(svn r6932) -Codechange: Send server messages with format NETWORK_ACTION_SERVER_MESSAGE so it is  
						
						... 
						
						
						
						general colour like the rest of the server messages. Spectators speak in grey. 
						
						
					 
					
						2006-10-24 22:23:08 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						bfad01b639 
					 
					
						
						
							
							(svn r6897) - Fix (r6884): Another wrong last parametr :)  
						
						
						
						
					 
					
						2006-10-22 19:56:26 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						ee27bb497c 
					 
					
						
						
							
							(svn r6884) -Codechange: Add strict bounds checking in string formatting system.  
						
						... 
						
						
						
						The last parameter should point to the end of the buffer (eg lastof(buf))
 Courtesy of Tron. 
						
						
					 
					
						2006-10-21 23:31:34 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						fbc724c6cb 
					 
					
						
						
							
							(svn r6814) -Codechange: For network games ci->client_playas was always p->index + 1. To  
						
						... 
						
						
						
						correctly handle this ci->client_playas - 1 was used all over the code making
 it pretty confusing at times. Use proper one-on-one values now. Special handling
 is only needed for user-output to not to confuse users. 
						
						
					 
					
						2006-10-17 22:16:46 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						fba7d2f7f3 
					 
					
						
						
							
							(svn r6803) -Codechange: Substitute magic numbers by an enum for the news windows  
						
						
						
						
					 
					
						2006-10-17 17:59:41 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						fea1f59f11 
					 
					
						
						
							
							(svn r6784) -Codechange: Change invalid PlayerID type into ClientID which it is in CmdPlayerCtrl  
						
						
						
						
					 
					
						2006-10-15 23:35:26 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						b2110cbaed 
					 
					
						
						
							
							(svn r6780) -Codechange: Remove GPMI leftovers (-b impersonisation of AI in MP).  
						
						
						
						
					 
					
						2006-10-15 17:01:19 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						6b6d908308 
					 
					
						
						
							
							(svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an  
						
						... 
						
						
						
						actual playable player (< MAX_PLAYERS) or not. 
						
						
					 
					
						2006-10-14 22:31:18 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						9732c129c1 
					 
					
						
						
							
							(svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as  
						
						... 
						
						
						
						these are used intermixed often. 
						
						
					 
					
						2006-10-14 22:22:48 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						dad5d5dd72 
					 
					
						
						
							
							(svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and  
						
						... 
						
						
						
						put it into player.h where it belongs (instead of map.h) 
						
						
					 
					
						2006-10-14 15:49:43 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						2dcdeb985d 
					 
					
						
						
							
							(svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and  
						
						... 
						
						
						
						IS_INTERACTIVE_PLAYER 
						
						
					 
					
						2006-10-14 15:15:56 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						23197f4c69 
					 
					
						
						
							
							(svn r6748) -Codechange: Use already existing function to count active players.  
						
						
						
						
					 
					
						2006-10-12 11:42:57 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						f469d3fe76 
					 
					
						
						
							
							(svn r6544) - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does.  
						
						
						
						
					 
					
						2006-09-28 07:02:55 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						3ccc87b376 
					 
					
						
						
							
							(svn r6462) -Codechange: Have GetStringWidth() return width as well as the height bounding  
						
						... 
						
						
						
						box of the string. Therefore rename the function to GetStringBoundingRect()
 and have it return a BoundingRect type of width/height 
						
						
					 
					
						2006-09-16 13:20:14 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						dc683f0fe5 
					 
					
						
						
							
							(svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium)  
						
						
						
						
					 
					
						2006-09-15 21:02:44 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						88d5472fe8 
					 
					
						
						
							
							(svn r6455) - Feature: Add 2cc (two company colours) livery schemes. This replaces the original colour selection window and bumps the saveload version. Liveries are supported for all vehicles, not just those with 2cc support. Thanks to lakie for GUI inspiration.  
						
						
						
						
					 
					
						2006-09-15 12:27:00 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						5f71c4c6c3 
					 
					
						
						
							
							(svn r6430) -Fix r6424: fixed failure to init the whole array of engines when starting a new player  
						
						
						
						
					 
					
						2006-09-08 19:38:12 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						00a08601c9 
					 
					
						
						
							
							(svn r6424) -Codechange: [autoreplace] removed a loop though all vehicles from each time the window is redrawn  
						
						... 
						
						
						
						To do this, the player struct contains an array, that contains the count of each engine type that the player owns
   Those arrays are updated each time a vehicle is build or deleted and is calculated on load (it's not saved)
   It's possible to access the arrays outside of the autoreplace GUI, so feel free to read from them in other patches as well 
						
						
					 
					
						2006-09-08 10:47:39 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						63687763e9 
					 
					
						
						
							
							(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.  
						
						... 
						
						
						
						-Cleanup: whitespace alignment of a few tables. 
						
						
					 
					
						2006-09-04 20:40:33 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						b83a3f8726 
					 
					
						
						
							
							(svn r6222) Remove struct ColorList, because the names of its attributes are plain confusing  
						
						... 
						
						
						
						All the struct holds is a simple colour gradient, so using a simple array with 8 entries is more clear
Also add the names of colour the gradients as enum 
						
						
					 
					
						2006-08-29 19:26:13 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						523519c8ec 
					 
					
						
						
							
							(svn r6183) Move GetDrawStringPlayerColor() out of gfx.[ch]  
						
						
						
						
					 
					
						2006-08-28 06:21:48 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						480af9c917 
					 
					
						
						
							
							(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.  
						
						
						
						
					 
					
						2006-08-22 14:38:37 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						28a0843707 
					 
					
						
						
							
							(svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.  
						
						... 
						
						
						
						The game date subsystem now allows someone to start in the year 0 and continue
up to the year 5 000 000. However, you currently cannot build anything before 
1920 as there is no newgrf support for dates before 1920 or after 2090 yet. 
						
						
					 
					
						2006-08-20 18:40:57 +00:00 
						 
				 
			
				
					
						
							
							
								truelight 
							
						 
					 
					
						
						
							
						
						5fb6c9e1cc 
					 
					
						
						
							
							(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)  
						
						
						
						
					 
					
						2006-08-20 12:09:32 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						3cab5f30c0 
					 
					
						
						
							
							(svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920  
						
						... 
						
						
						
						-Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year 
						
						
					 
					
						2006-08-16 11:39:55 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						8aa76f306d 
					 
					
						
						
							
							(svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.  
						
						
						
						
					 
					
						2006-08-15 14:52:17 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						243872b4fd 
					 
					
						
						
							
							(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]  
						
						... 
						
						
						
						-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments 
						
						
					 
					
						2006-08-14 14:21:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						01cd75cc10 
					 
					
						
						
							
							(svn r5886) -Fix [FS#273]: Incomplete removal of player owned property due to lack of money.  
						
						
						
						
					 
					
						2006-08-14 11:44:19 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						2b27073156 
					 
					
						
						
							
							(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular  
						
						
						
						
					 
					
						2006-06-27 21:25:53 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						d2f6cb9e2d 
					 
					
						
						
							
							(svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers  
						
						
						
						
					 
					
						2006-06-14 11:05:30 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0a72639c2d 
					 
					
						
						
							
							(svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.  
						
						
						
						
					 
					
						2006-06-10 08:37:41 +00:00 
						 
				 
			
				
					
						
							
							
								KUDr 
							
						 
					 
					
						
						
							
						
						530bc2bf91 
					 
					
						
						
							
							(svn r4915) - Fix: SLE_UINT8 replaced by SLE_BOOL for bool variables (found by Celestar)  
						
						
						
						
					 
					
						2006-05-19 19:36:17 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						81e6d68f95 
					 
					
						
						
							
							(svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex  
						
						... 
						
						
						
						Remove DoCommandByTile(), because now it does the same as DoCommand() 
						
						
					 
					
						2006-04-10 07:15:58 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						cd0a67dc65 
					 
					
						
						
							
							(svn r4201) - Codechange: Do for _engine_info[] what we do for _*_vehicle_info[]; create and use a function to retrieve data, and ensure constness.  
						
						
						
						
					 
					
						2006-03-31 12:59:43 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						1e428481b2 
					 
					
						
						
							
							(svn r4136) CodeChange : Revert part of r4092 (as spotted by Tron) and clean-up a little further  
						
						
						
						
					 
					
						2006-03-27 14:28:56 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						26a5b62865 
					 
					
						
						
							
							(svn r4092) CodeChange : Named sprites instead of magic numbers plus create/use helper macro/enum for recoloring scheme  
						
						
						
						
					 
					
						2006-03-24 18:16:39 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						6c0aa3a110 
					 
					
						
						
							
							(svn r3568) - Fix: constantizing side-effect of qsort in r3563. Ugly? Yes. Makes MSVC happy? Yes.  
						
						
						
						
					 
					
						2006-02-06 23:28:07 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						431b09ab79 
					 
					
						
						
							
							(svn r3565) - Fix: On loading a game, GetPlayerRailtypes() didn't account for the fact that vehicles are introduced a year after their introduction date. This will also relieve possible (rare) network desyncs.  
						
						
						
						
					 
					
						2006-02-06 10:05:41 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						0755bbead0 
					 
					
						
						
							
							(svn r3563) Simplify the code for calculating the highscore table in network games and saving of old ecenomy data  
						
						
						
						
					 
					
						2006-02-06 08:43:05 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						89916f533b 
					 
					
						
						
							
							(svn r3562) Remove pointless buffer copies  
						
						
						
						
					 
					
						2006-02-06 08:28:31 +00:00 
						 
				 
			
				
					
						
							
							
								tron 
							
						 
					 
					
						
						
							
						
						84fb96fe85 
					 
					
						
						
							
							(svn r3511) More whitespace ([FS#46] by Rubidium)  
						
						
						
						
					 
					
						2006-02-01 07:36:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						f2448ebfd4 
					 
					
						
						
							
							(svn r3500) - Workaround the inaccurate count of spectators/companies that can happen in certain border-cases. For now just dynamically get this value when requested so it is always right. To do properly all player/client creation/destruction needs a hook for networking.  
						
						
						
						
					 
					
						2006-01-31 22:16:15 +00:00