Charles Pigott 
							
						 
					 
					
						
						
							
						
						8800225bdb 
					 
					
						
						
							
							Fix   #7993 : Compile warning in kick/ban debug messages  
						
						
						
						
					 
					
						2020-02-09 23:25:53 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						805ecd32be 
					 
					
						
						
							
							Fix  5880f147: Integer width warnings  
						
						
						
						
					 
					
						2020-02-06 16:09:36 +00:00 
						 
				 
			
				
					
						
							
							
								Bjarni Thor 
							
						 
					 
					
						
						
							
						
						5880f1479f 
					 
					
						
						
							
							Feature  #7756 : Allow server to supply a reason to kicked/banned clients  
						
						... 
						
						
						
						This commit adds the missing feature of allowing the server owner to
    provide a reason for kicking/banning a client, which the client sees in
    a pop-up window after being kicked. The implementation extends the
    network protocol by adding a new network action called
    NETWORK_ACTION_KICKED that is capable of having an error string, unlike
    the other network error packages.  Additionally, the kick function
    broadcasts a message to all clients about the kicked client and the
    reason for the kick. 
						
						
					 
					
						2020-02-04 22:17:39 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						c8779fb311 
					 
					
						
						
							
							Feature: NewGRF callback profiling ( #7868 )  
						
						... 
						
						
						
						Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file. 
						
						
					 
					
						2020-01-26 13:45:51 +01:00 
						 
				 
			
				
					
						
							
							
								TELK 
							
						 
					 
					
						
						
							
						
						e04ca904a9 
					 
					
						
						
							
							Feature: Minimap screenshot  
						
						
						
						
					 
					
						2020-01-04 18:21:38 +01:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						3a14cea068 
					 
					
						
						
							
							Codechange: Replace FOR_ALL_COMPANIES with range-based for loops  
						
						
						
						
					 
					
						2019-12-21 20:13:03 +01:00 
						 
				 
			
				
					
						
							
							
								S. D. Cloudt 
							
						 
					 
					
						
						
							
						
						13cc8a0cee 
					 
					
						
						
							
							Cleanup: Removed SVN  headers  
						
						
						
						
					 
					
						2019-11-10 17:59:20 +00:00 
						 
				 
			
				
					
						
							
							
								JMcKiern 
							
						 
					 
					
						
						
							
						
						04f659e768 
					 
					
						
						
							
							Fix: Some typos found using codespell  
						
						
						
						
					 
					
						2019-09-29 21:27:32 +01:00 
						 
				 
			
				
					
						
							
							
								TELK 
							
						 
					 
					
						
						
							
						
						bcc73bd40d 
					 
					
						
						
							
							Add: 'getsysdate' console command ( #7658 )  
						
						... 
						
						
						
						Add `getsysdate` console command to display system's local time, which is might be useful to check current time in script logging. 
						
						
					 
					
						2019-08-04 20:35:56 +02:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						5b34c8019f 
					 
					
						
						
							
							Codechange: Remove Company/OwnerByte types  
						
						
						
						
					 
					
						2019-04-29 17:40:22 +01:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						7c8e7c6b6e 
					 
					
						
						
							
							Codechange: Use null pointer literal instead of the NULL macro  
						
						
						
						
					 
					
						2019-04-10 23:22:20 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						e804173595 
					 
					
						
						
							
							Codechange: If something is a vector of strings, use a vector of strings instead of an AutoFreeSmallVector.  
						
						
						
						
					 
					
						2019-04-09 22:45:15 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						a1e492d0d8 
					 
					
						
						
							
							Fix   #7439 : don't overwrite CompanyRemoveReason with ClientID ( #7465 )  
						
						
						
						
					 
					
						2019-04-05 15:11:52 +02:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						ab711e6942 
					 
					
						
						
							
							Codechange: Replaced SmallVector::[Begin|End]() with std alternatives  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						aa7ca7fe64 
					 
					
						
						
							
							Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + n  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						a690936ed7 
					 
					
						
						
							
							Codechange: Replace SmallVector::Length() with std::vector::size()  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						e3c639a09f 
					 
					
						
						
							
							Remove: ENABLE_NETWORK switch  
						
						... 
						
						
						
						This switch has been a pain for years. Often disabling broke
compilation, as no developer compiles OpenTTD without, neither do
any of our official binaries.
Additionaly, it has grown so hugely in our codebase, that it
clearly shows that the current solution was a poor one. 350+
instances of "#ifdef ENABLE_NETWORK" were in the code, of which
only ~30 in the networking code itself. The rest were all around
the code to do the right thing, from GUI to NewGRF.
A more proper solution would be to stub all the functions, and
make sure the rest of the code can simply assume network is
available. This was also partially done, and most variables were
correct if networking was disabled. Despite that, often the #ifdefs
were still used.
With the recent removal of DOS, there is also no platform anymore
which we support where networking isn't working out-of-the-box.
All in all, it is time to remove the ENABLE_NETWORK switch. No
replacement is planned, but if you feel we really need this option,
we welcome any Pull Request which implements this in a way that
doesn't crawl through the code like this diff shows we used to. 
						
						
					 
					
						2019-03-20 19:24:55 +01:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						8e7fe3973f 
					 
					
						
						
							
							Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actions  
						
						
						
						
					 
					
						2019-02-04 21:08:36 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						f5b1115039 
					 
					
						
						
							
							Doc: Lots and lots of doxymentation fixes  
						
						
						
						
					 
					
						2018-10-31 12:35:54 +01:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						2a868b9f3b 
					 
					
						
						
							
							Feature: Framerate display window ( #6822 )  
						
						... 
						
						
						
						Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command. 
						
						
					 
					
						2018-07-19 21:17:07 +02:00 
						 
				 
			
				
					
						
							
							
								adf88 
							
						 
					 
					
						
						
							
						
						56ffa35511 
					 
					
						
						
							
							(svn r27914) -Fix/Feature: 'unban' console command - fix invalid help text and be more verbose  
						
						
						
						
					 
					
						2017-09-10 14:03:29 +00:00 
						 
				 
			
				
					
						
							
							
								adf88 
							
						 
					 
					
						
						
							
						
						f3fbf6beb8 
					 
					
						
						
							
							(svn r27913) -Fix: 'unban' console command was not handling IPv6 adresses properly  
						
						
						
						
					 
					
						2017-09-10 14:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						0adfb1ac6f 
					 
					
						
						
							
							(svn r27653) -Fix(r27647): Rename FileOperation enum and values to SaveLoadOperation to avoid nameclash with windows compiler toolkit.  
						
						
						
						
					 
					
						2016-09-04 16:06:50 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						6f201ce4a8 
					 
					
						
						
							
							(svn r27651) -Codechange: Introduce methods for setting the name and title of _file_to_saveload.  
						
						
						
						
					 
					
						2016-09-04 12:58:04 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						597380e099 
					 
					
						
						
							
							(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.  
						
						
						
						
					 
					
						2016-09-04 12:57:43 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						df9a9f074a 
					 
					
						
						
							
							(svn r27649) -Codechange: Introduce detailed file type enum, rebuild FiosType with it.  
						
						
						
						
					 
					
						2016-09-04 12:57:20 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						75ad6d0100 
					 
					
						
						
							
							(svn r27647) -Codechange: Introduce file operations, and use it to replace most of SaveLoadDialogMode  
						
						
						
						
					 
					
						2016-09-04 12:56:23 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						5969685954 
					 
					
						
						
							
							(svn r27645) -Add: Give console commands their own file list storage.  
						
						
						
						
					 
					
						2016-09-04 12:55:21 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						d6cd3b1605 
					 
					
						
						
							
							(svn r27644) -Codechange: Split GetFiosItem into BuildFileList and FindItem, and move both to FileList.  
						
						
						
						
					 
					
						2016-09-04 12:54:52 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						caf3379746 
					 
					
						
						
							
							(svn r27642) -Codechange: FiosGet* file query functions take a destination file list.  
						
						
						
						
					 
					
						2016-09-04 12:54:03 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						bc08fe7c5f 
					 
					
						
						
							
							(svn r27641) -Codechange: Fold the _fios_items file list vector into its own class.  
						
						
						
						
					 
					
						2016-09-04 12:50:22 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						2fa0fdb176 
					 
					
						
						
							
							(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function.  
						
						
						
						
					 
					
						2016-09-04 12:47:07 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						a52864ef27 
					 
					
						
						
							
							(svn r27633) -Codechange: Extract _saveload_mode use from BuildFileList  
						
						
						
						
					 
					
						2016-09-04 12:44:42 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						9ed12b0f07 
					 
					
						
						
							
							(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)  
						
						
						
						
					 
					
						2014-04-25 15:40:32 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						0463dbdc9e 
					 
					
						
						
							
							(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values  
						
						
						
						
					 
					
						2014-04-23 20:13:33 +00:00 
						 
				 
			
				
					
						
							
							
								zuu 
							
						 
					 
					
						
						
							
						
						a31b46ba84 
					 
					
						
						
							
							(svn r26000) -Add: Optional filter parameter to the 'content state' console command, to limit the content list to only content where the name match the filter  
						
						
						
						
					 
					
						2013-11-14 22:50:16 +00:00 
						 
				 
			
				
					
						
							
							
								zuu 
							
						 
					 
					
						
						
							
						
						9088972738 
					 
					
						
						
							
							(svn r25999) -Add: When calling the 'content select' console command without args, display all selected content  
						
						
						
						
					 
					
						2013-11-14 22:48:03 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						13855f0a09 
					 
					
						
						
							
							(svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753)  
						
						
						
						
					 
					
						2013-08-09 18:43:44 +00:00 
						 
				 
			
				
					
						
							
							
								planetmaker 
							
						 
					 
					
						
						
							
						
						c24374f99c 
					 
					
						
						
							
							(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)  
						
						
						
						
					 
					
						2013-01-08 22:46:42 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						870eab53d2 
					 
					
						
						
							
							(svn r24807) -Add [FS#2820]: Enable usage of 'companies' console command also in singleplayer.  
						
						
						
						
					 
					
						2012-12-09 16:53:41 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						4aa17c5109 
					 
					
						
						
							
							(svn r24722) -Add: Display unique ID and md5sum in console content info.  
						
						
						
						
					 
					
						2012-11-13 21:46:09 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d8d2f74559 
					 
					
						
						
							
							(svn r23741) -Revert (r23740): the few parts that the Windows / non-network compiles stumble on  
						
						
						
						
					 
					
						2012-01-03 21:47:01 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						6d6be50ae0 
					 
					
						
						
							
							(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files  
						
						
						
						
					 
					
						2012-01-03 21:32:51 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						98fdf81320 
					 
					
						
						
							
							(svn r23680) -Fix [FS#4915]: prevent removal of the (AI) company the local player is in  
						
						
						
						
					 
					
						2011-12-28 17:33:12 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						726ce254ff 
					 
					
						
						
							
							(svn r23647) -Add: add rescan_game as console command (patch by Xaroth)  
						
						
						
						
					 
					
						2011-12-21 12:25:17 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						963802e9a7 
					 
					
						
						
							
							(svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library)  
						
						
						
						
					 
					
						2011-12-19 20:56:59 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						c99950c215 
					 
					
						
						
							
							(svn r23606) -Add: GameScanner, to auto-detect game scripts, and wire it in the console  
						
						
						
						
					 
					
						2011-12-19 20:55:56 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						b4f832f29f 
					 
					
						
						
							
							(svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory  
						
						
						
						
					 
					
						2011-12-19 20:54:37 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						b231e80125 
					 
					
						
						
							
							(svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files  
						
						
						
						
					 
					
						2011-12-10 08:31:14 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						cc12942d70 
					 
					
						
						
							
							(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too  
						
						
						
						
					 
					
						2011-12-01 12:03:34 +00:00