Files @ r690:f69eb4b03951
Branch filter:

Location: cpp/openttd-patchpack/source/network_gamelist.h

truelight
(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set autoclean_companies on/off').
When enabled, empty companies (companies with no active clients) with no
password are declared bankrupt after 1 year of emptyness.
For empty companies with password, the password is removed after 3 years
of emptyness.
The delay of removing company/password can be configured via:
- 'set autoclean_protected <months>'
- 'set autoclean_unprotected <months>'
1
2
3
4
5
6
7
8
#ifndef NETWORK_GAMELIST_H
#define NETWORK_GAMELIST_H

void NetworkGameListClear(void);
NetworkGameList *NetworkGameListAddItem(uint32 ip, uint16 port);
void NetworkGameListAddQueriedItem(NetworkGameInfo *info, bool server_online);

#endif /* NETWORK_GAMELIST_H */