Files @ r715:f920f6262d41
Branch filter:

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

dominik
(svn r1167) Feature: Added the possibility to add validation functions to NewsItems. This is now done for "Train in depot" messages. Before displaying such a message, it checks if the train really still is in the depot. Can be applied to other news items as well.
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 */