network_gui.h

00001 /* $Id: network_gui.h 11556 2007-12-02 14:48:26Z rubidium $ */
00002 
00003 #ifndef NETWORK_GUI_H
00004 #define NETWORK_GUI_H
00005 
00006 #ifdef ENABLE_NETWORK
00007 
00008 #include "network_data.h"
00009 
00010 void ShowNetworkNeedPassword(NetworkPasswordType npt);
00011 void ShowNetworkGiveMoneyWindow(PlayerID player); // PlayerID
00012 void ShowNetworkChatQueryWindow(DestType type, int dest);
00013 void ShowJoinStatusWindow();
00014 void ShowNetworkGameWindow();
00015 void ShowClientList();
00016 void ShowNetworkCompanyPasswordWindow();
00017 
00018 #else /* ENABLE_NETWORK */
00019 /* Network function stubs when networking is disabled */
00020 
00021 static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {}
00022 static inline void ShowClientList() {}
00023 static inline void ShowNetworkGameWindow() {}
00024 static inline void ShowNetworkCompanyPasswordWindow() {}
00025 
00026 #endif /* ENABLE_NETWORK */
00027 
00028 #endif /* NETWORK_GUI_H */

Generated on Wed Oct 1 17:03:21 2008 for openttd by  doxygen 1.5.6