summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_admin.h
AgeCommit message (Collapse)Author
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.
2019-02-12Fix: CompanyEconomy documentationThomas den Hollander
Company income was described as an unsigned integer, but it should be signed.
2013-07-11(svn r25588) -Feature [FS#5643]: PING and PONG packets for admin port (Xaroth)planetmaker
2013-07-11(svn r25587) -Add FS#5643: Conclude rcon output sent to admin clients with ↵planetmaker
an RCON_END packet (Xaroth)
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2011-12-19(svn r23623) -Add: allow bi-directional communication with the AdminPort and ↵truebrain
GameScript
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-10-15(svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction ↵rubidium
between bankruptcy and manual removal of companies even though the API suggested that
2011-09-15(svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin ↵rubidium
port when a new game is started
2011-06-04(svn r22536) -Fix [FS#4632]: documentation omission regarding admin protocolrubidium
2011-05-01(svn r22403) -Document: some more network/core coderubidium
2011-05-01(svn r22398) -Codechange: remove some defines from the tcp/admin code, so ↵rubidium
doxygen can create better documentation
2011-01-22(svn r21887) -Fix-ish: some headers weren't including the headers they depend onrubidium
2010-12-30(svn r21668) -Feature: command logging using the admin interface (dihedral)rubidium
2010-11-30(svn r21358) -Codechange: make some network function names conform to coding ↵rubidium
style
2010-11-21(svn r21285) -Codechange: prevent ICC warningsmatz
2010-10-17(svn r20975) -Add: logging of console output for remote admins (dihedral)rubidium
2010-10-17(svn r20974) -Add: remote console (rcon) for remote admins (dihedral)rubidium
2010-10-17(svn r20973) -Add: chat sending and receiving support for remote admins ↵rubidium
(dihedral)
2010-10-17(svn r20972) -Add: company statistics updates at intervals to remote admins ↵rubidium
(dihedral)
2010-10-17(svn r20971) -Add: company economy updates at intervals to remote admins ↵rubidium
(dihedral)
2010-10-17(svn r20970) -Add: company change notification to remote admins (dihedral)rubidium
2010-10-17(svn r20969) -Add: client info change notification to remote admins (dihedral)rubidium
2010-10-17(svn r20968) -Add: date notification of remote admins (dihedral)rubidium
2010-10-17(svn r20967) -Add: infrastructure to send information to remote admins at ↵rubidium
specific intervals (dihedral)
2010-10-17(svn r20963) -Add: stubs for a remote administration connectionrubidium