Files @ r5299:1a5e005aa3e9
Branch filter:

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

rubidium
(svn r7452) -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time.
/* $Id$ */

#ifndef NETWORK_GAMELIST_H
#define NETWORK_GAMELIST_H

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

#endif /* NETWORK_GAMELIST_H */