Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-06 | Fix 5880f147: Integer width warnings | Niels Martin Hansen | |
2020-02-04 | Feature #7756: Allow server to supply a reason to kicked/banned clients | Bjarni Thor | |
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-01-26 | Feature: NewGRF callback profiling (#7868) | Niels Martin Hansen | |
Adds a console command newgrf_profile to collect some profiling data about NewGRF action 2 callbacks and produce a CSV file. | |||
2020-01-04 | Feature: Minimap screenshot | TELK | |
2019-12-21 | Codechange: Replace FOR_ALL_COMPANIES with range-based for loops | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-08-04 | Add: 'getsysdate' console command (#7658) | TELK | |
Add `getsysdate` console command to display system's local time, which is might be useful to check current time in script logging. | |||
2019-04-29 | Codechange: Remove Company/OwnerByte types | Charles Pigott | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-09 | Codechange: If something is a vector of strings, use a vector of strings ↵ | Michael Lutz | |
instead of an AutoFreeSmallVector. | |||
2019-04-05 | Fix #7439: don't overwrite CompanyRemoveReason with ClientID (#7465) | glx22 | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + n | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-20 | Remove: ENABLE_NETWORK switch | Patric Stout | |
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-02-04 | Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actions | glx | |
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-07-19 | Feature: Framerate display window (#6822) | Niels Martin Hansen | |
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. | |||
2017-09-10 | (svn r27914) -Fix/Feature: 'unban' console command - fix invalid help text ↵ | adf88 | |
and be more verbose | |||
2017-09-10 | (svn r27913) -Fix: 'unban' console command was not handling IPv6 adresses ↵ | adf88 | |
properly | |||
2016-09-04 | (svn r27653) -Fix(r27647): Rename FileOperation enum and values to ↵ | alberth | |
SaveLoadOperation to avoid nameclash with windows compiler toolkit. | |||
2016-09-04 | (svn r27651) -Codechange: Introduce methods for setting the name and title ↵ | alberth | |
of _file_to_saveload. | |||
2016-09-04 | (svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and ↵ | alberth | |
DetailedFileType. | |||
2016-09-04 | (svn r27649) -Codechange: Introduce detailed file type enum, rebuild ↵ | alberth | |
FiosType with it. | |||
2016-09-04 | (svn r27647) -Codechange: Introduce file operations, and use it to replace ↵ | alberth | |
most of SaveLoadDialogMode | |||
2016-09-04 | (svn r27645) -Add: Give console commands their own file list storage. | alberth | |
2016-09-04 | (svn r27644) -Codechange: Split GetFiosItem into BuildFileList and FindItem, ↵ | alberth | |
and move both to FileList. | |||
2016-09-04 | (svn r27642) -Codechange: FiosGet* file query functions take a destination ↵ | alberth | |
file list. | |||
2016-09-04 | (svn r27641) -Codechange: Fold the _fios_items file list vector into its own ↵ | alberth | |
class. | |||
2016-09-04 | (svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType ↵ | alberth | |
function. | |||
2016-09-04 | (svn r27633) -Codechange: Extract _saveload_mode use from BuildFileList | alberth | |
2014-04-25 | (svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵ | rubidium | |
the return is not NULL) | |||
2014-04-23 | (svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵ | rubidium | |
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values | |||
2013-11-14 | (svn r26000) -Add: Optional filter parameter to the 'content state' console ↵ | zuu | |
command, to limit the content list to only content where the name match the filter | |||
2013-11-14 | (svn r25999) -Add: When calling the 'content select' console command without ↵ | zuu | |
args, display all selected content | |||
2013-08-09 | (svn r25705) -Fix: a number of typos (inspired by ↵ | rubidium | |
90c920601c84975acb694f3673e2beb08b013753) | |||
2013-01-08 | (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵ | planetmaker | |
Eagle_rainbow) | |||
2012-12-09 | (svn r24807) -Add [FS#2820]: Enable usage of 'companies' console command ↵ | frosch | |
also in singleplayer. | |||
2012-11-13 | (svn r24722) -Add: Display unique ID and md5sum in console content info. | frosch | |
2012-01-03 | (svn r23741) -Revert (r23740): the few parts that the Windows / non-network ↵ | rubidium | |
compiles stumble on | |||
2012-01-03 | (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files | rubidium | |
2011-12-28 | (svn r23680) -Fix [FS#4915]: prevent removal of the (AI) company the local ↵ | rubidium | |
player is in | |||
2011-12-21 | (svn r23647) -Add: add rescan_game as console command (patch by Xaroth) | truebrain | |
2011-12-19 | (svn r23612) -Add: allow importing libraries in the same way as AI does, ↵ | truebrain | |
only with GS prefix (and in game/library) | |||
2011-12-19 | (svn r23606) -Add: GameScanner, to auto-detect game scripts, and wire it in ↵ | truebrain | |
the console | |||
2011-12-19 | (svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from ↵ | truebrain | |
that directory | |||
2011-12-10 | (svn r23470) -Codechange: move declaration of SwitchToMode to a header ↵ | rubidium | |
instead of declaring it in 6 other files | |||
2011-12-01 | (svn r23384) -Remove: no longer allow a binary to be without AI support; the ↵ | truebrain | |
parts some compilers failed at, are integrated in other parts of the code now too | |||
2011-11-29 | (svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig | truebrain | |