src/network/network_gui.h
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 5838 9c3129cb019b
child 6719 4cc327ad39d5
equal deleted inserted replaced
9894:70d78ac95d6c 9895:7bd07f43b0e3
     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, byte dest);
    13 void ShowJoinStatusWindow(void);
    13 void ShowJoinStatusWindow();
    14 void ShowNetworkGameWindow(void);
    14 void ShowNetworkGameWindow();
    15 void ShowClientList(void);
    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, byte dest) {}
    21 static inline void ShowClientList(void) {}
    21 static inline void ShowClientList() {}
    22 static inline void ShowNetworkGameWindow(void) {}
    22 static inline void ShowNetworkGameWindow() {}
    23 
    23 
    24 #endif /* ENABLE_NETWORK */
    24 #endif /* ENABLE_NETWORK */
    25 
    25 
    26 #endif /* NETWORK_GUI_H */
    26 #endif /* NETWORK_GUI_H */