mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-08 13:29:42 +01:00
- Fix: Crash when destroying bridge with train partially on it [FS#738] (r9726) - Fix: Planes made a 270 degree turn instead of a 90 degree turn on the southern runway of the intercontinental airport [FS#743] (r9725) - Fix: In-game private messages did not work for clients with high ClientIDs (r9719) - Fix: Do not allow building of rail vehicles whose railtype is not available (r9718) - Fix: [YAPF] The guessed path was ignored for ships [FS#736] (r9694)
28 lines
749 B
C
28 lines
749 B
C
/* $Id$ */
|
|
|
|
#ifndef NETWORK_GUI_H
|
|
#define NETWORK_GUI_H
|
|
|
|
#ifdef ENABLE_NETWORK
|
|
|
|
#include "network_data.h"
|
|
|
|
void ShowNetworkNeedPassword(NetworkPasswordType npt);
|
|
void ShowNetworkGiveMoneyWindow(byte player); // PlayerID
|
|
void ShowNetworkChatQueryWindow(DestType type, int dest);
|
|
void ShowJoinStatusWindowAfterJoin(void);
|
|
void ShowNetworkGameWindow(void);
|
|
void ShowClientList(void);
|
|
|
|
#else /* ENABLE_NETWORK */
|
|
/* Network function stubs when networking is disabled */
|
|
|
|
static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {}
|
|
static inline void ShowClientList(void) {}
|
|
static inline void ShowJoinStatusWindowAfterJoin(void) {}
|
|
static inline void ShowNetworkGameWindow(void) {}
|
|
|
|
#endif /* ENABLE_NETWORK */
|
|
|
|
#endif /* NETWORK_GUI_H */
|