mirror of https://github.com/OpenTTD/OpenTTD
(svn r7076) -Codechange: Prefer includes instead of using extern. Move UpdateNetworkGameWindow
declaration to network.h, and remove stale externs of NetworkPopulateCompanyInforelease/0.5
parent
c9a19c29fe
commit
d327ffb0f4
|
@ -221,6 +221,7 @@ void NetworkAddServer(const char *b);
|
|||
void NetworkRebuildHostList(void);
|
||||
bool NetworkChangeCompanyPassword(byte argc, char *argv[]);
|
||||
void NetworkPopulateCompanyInfo(void);
|
||||
void UpdateNetworkGameWindow(bool unselect);
|
||||
void CheckMinPlayers(void);
|
||||
|
||||
void NetworkStartUp(void);
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
// This file handles the GameList
|
||||
// Also, it handles the request to a server for data about the server
|
||||
|
||||
extern void UpdateNetworkGameWindow(bool unselect);
|
||||
|
||||
/** Add a new item to the linked gamelist. If the IP and Port match
|
||||
* return the existing item instead of adding it again
|
||||
* @param ip the IP-address (inet_addr) of the to-be added item
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
// This file handles all the server-commands
|
||||
|
||||
static void NetworkHandleCommandQueue(NetworkClientState* cs);
|
||||
void NetworkPopulateCompanyInfo(void);
|
||||
|
||||
// **********
|
||||
// Sending functions
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
#include "network_udp.h"
|
||||
#include "variables.h"
|
||||
|
||||
extern void UpdateNetworkGameWindow(bool unselect);
|
||||
extern void NetworkPopulateCompanyInfo(void);
|
||||
|
||||
//
|
||||
// This file handles all the LAN-stuff
|
||||
// Stuff like:
|
||||
|
|
Loading…
Reference in New Issue