|
@@ -18,26 +18,24 @@
|
|
|
#include "saveload.h"
|
|
|
#include "vehicle.h"
|
|
|
#include "station.h"
|
|
|
#include "settings.h"
|
|
|
#include "variables.h"
|
|
|
|
|
|
// This file handles all the server-commands
|
|
|
|
|
|
void NetworkHandleCommandQueue(NetworkClientState *cs);
|
|
|
void NetworkPopulateCompanyInfo(void);
|
|
|
void NetworkSendPatchSettings(NetworkClientState *cs);
|
|
|
|
|
|
extern const char _openttd_revision[];
|
|
|
|
|
|
// Is the network enabled?
|
|
|
|
|
|
// **********
|
|
|
// Sending functions
|
|
|
// DEF_SERVER_SEND_COMMAND has parameter: NetworkClientState *cs
|
|
|
// **********
|
|
|
|
|
|
DEF_SERVER_SEND_COMMAND_PARAM(PACKET_SERVER_CLIENT_INFO)(NetworkClientState *cs, NetworkClientInfo *ci)
|
|
|
{
|
|
|
//
|
|
|
// Packet: SERVER_CLIENT_INFO
|
|
|
// Function: Sends info about a client
|