src/network/network_gui.h
branchNewGRF_ports
changeset 6719 4cc327ad39d5
parent 6573 7624f942237f
child 6871 5a9dc001e1ad
equal deleted inserted replaced
6718:5a8b295aa345 6719:4cc327ad39d5
     7 
     7 
     8 #include "network_data.h"
     8 #include "network_data.h"
     9 
     9 
    10 void ShowNetworkNeedPassword(NetworkPasswordType npt);
    10 void ShowNetworkNeedPassword(NetworkPasswordType npt);
    11 void ShowNetworkGiveMoneyWindow(PlayerID player); // PlayerID
    11 void ShowNetworkGiveMoneyWindow(PlayerID player); // PlayerID
    12 void ShowNetworkChatQueryWindow(DestType type, byte dest);
    12 void ShowNetworkChatQueryWindow(DestType type, int dest);
    13 void ShowJoinStatusWindow();
    13 void ShowJoinStatusWindow();
    14 void ShowNetworkGameWindow();
    14 void ShowNetworkGameWindow();
    15 void ShowClientList();
    15 void ShowClientList();
    16 
    16 
    17 #else /* ENABLE_NETWORK */
    17 #else /* ENABLE_NETWORK */
    18 /* Network function stubs when networking is disabled */
    18 /* Network function stubs when networking is disabled */
    19 
    19 
    20 static inline void ShowNetworkChatQueryWindow(byte desttype, byte dest) {}
    20 static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {}
    21 static inline void ShowClientList() {}
    21 static inline void ShowClientList() {}
    22 static inline void ShowNetworkGameWindow() {}
    22 static inline void ShowNetworkGameWindow() {}
    23 
    23 
    24 #endif /* ENABLE_NETWORK */
    24 #endif /* ENABLE_NETWORK */
    25 
    25