summaryrefslogtreecommitdiff
path: root/src/network/network_content.h
AgeCommit message (Collapse)Author
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Include() with include()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Get() const with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Find() non-const with std::find()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-24Codechange: Use override keyword in networking classes.peter1138
2019-03-20Remove: ENABLE_NETWORK switchPatric 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.
2015-12-10(svn r27468) -Fix (r27444): Game Scripts were not displayed in the content ↵zuu
download window when opened from the AI/GS settings window.
2011-12-09(svn r23465) -Feature [FS#4827]: add 'find missing content online' button to ↵yexo
'load savegame' and 'find network game' windows
2011-05-04(svn r22423) -Document: some network stuffrubidium
2011-05-01(svn r22399) -Codechange: replace some defines in the tcp/content code so ↵rubidium
doxygen can create better documentation
2011-03-06(svn r22208) -Fix [FS#4543]: When downloading a file via HTTP failed mid-way ↵rubidium
and OpenTTD fell back to the old system the partial downloaded amount would be counted twice
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2010-02-03(svn r18994) -Change: content mirroring support (based on work by TrueBrain).rubidium
2010-02-03(svn r18992) -Codechange: move the file opening/closing out of the content ↵rubidium
download function
2010-02-03(svn r18991) -Codechange: simplify memory management of DownloadSelectedContentrubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-10-04(svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the ↵rubidium
'generic' includes so compilation without network support doesn't get broken as easily by changes in header files
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-01-23(svn r15221) -Change [FS#2574]: only show missing NewGRFs when opening the ↵rubidium
content download window from a NewGRF list and there are missing NewGRFs, otherwise show just all NewGRFs the system knows.
2009-01-20(svn r15178) -Change: rename 'update' to 'upgrade' as that's a bit more clearrubidium
2009-01-20(svn r15176) -Fix [FS#2554]: querying the content server could free when ↵rubidium
resolving the hostname or connecting takes long/is timing out.
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.