|
|
/* $Id$ */
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
#include "debug.h"
|
|
|
#include "string.h"
|
|
|
#include "strings.h"
|
|
|
#include "network_data.h"
|
|
|
#include "date.h"
|
|
|
|
|
|
#ifdef ENABLE_NETWORK
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
#include "functions.h"
|
|
|
#include "network_client.h"
|
|
|
#include "network_gamelist.h"
|
|
|
#include "saveload.h"
|
|
|
#include "command.h"
|
|
|
#include "gfx.h"
|
|
|
#include "window.h"
|
|
|
#include "console.h"
|
|
|
#include "variables.h"
|
|
|
#include "ai/ai.h"
|
|
|
|
|
|
|
|
|
// This file handles all the client-commands
|
|
|
|
|
|
|
|
|
extern const char _openttd_revision[];
|
|
|
|
|
|
// So we don't make too much typos ;)
|
|
|
#define MY_CLIENT DEREF_CLIENT(0)
|
|
|
|
|
|
static uint32 last_ack_frame;
|
|
|
|
|
|
// **********
|
|
|
// Sending functions
|
|
|
// DEF_CLIENT_SEND_COMMAND has no parameters
|
|
|
// **********
|
|
|
|
|
|
DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_COMPANY_INFO)
|
|
|
{
|
|
|
//
|