Files @ r715:f920f6262d41
Branch filter:

Location: cpp/openttd-patchpack/source/network_udp.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.
#ifndef NETWORK_LAN_H
#define NETWORK_LAN_H

void NetworkUDPInitialize(void);
bool NetworkUDPListen(uint32 host, uint16 port);
void NetworkUDPReceive(void);
void NetworkUDPSearchGame(void);
void NetworkUDPQueryServer(const byte* host, unsigned short port);
void NetworkUDPAdvertise();

#endif /* NETWORK_LAN_H */