src/network/network_gui.h
author smatz
Thu, 17 Jan 2008 19:49:06 +0000
changeset 8838 1549b7f9d0a8
parent 8494 88f26cafc858
child 10429 1b99254f9607
child 10724 68a692eacf22
permissions -rw-r--r--
(svn r11908) -Fix: update crossing when merging a company, when building a crossing and after loading older savegame
/* $Id$ */

#ifndef NETWORK_GUI_H
#define NETWORK_GUI_H

#ifdef ENABLE_NETWORK

#include "network_data.h"

void ShowNetworkNeedPassword(NetworkPasswordType npt);
void ShowNetworkGiveMoneyWindow(PlayerID player); // PlayerID
void ShowNetworkChatQueryWindow(DestType type, int dest);
void ShowJoinStatusWindow();
void ShowNetworkGameWindow();
void ShowClientList();
void ShowNetworkCompanyPasswordWindow();

#else /* ENABLE_NETWORK */
/* Network function stubs when networking is disabled */

static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {}
static inline void ShowClientList() {}
static inline void ShowNetworkGameWindow() {}
static inline void ShowNetworkCompanyPasswordWindow() {}

#endif /* ENABLE_NETWORK */

#endif /* NETWORK_GUI_H */