src/network/network_gui.h
branchgamebalance
changeset 9911 0b8b245a2391
parent 9895 7bd07f43b0e3
child 6871 5a9dc001e1ad
equal deleted inserted replaced
9910:0b2aebc8283e 9911:0b8b245a2391
     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