network_client.c
changeset 4840 176bc2a66322
parent 4826 63b1eb7c966b
child 4848 56549aa3e234
equal deleted inserted replaced
4839:a8b963413d15 4840:176bc2a66322
    22 
    22 
    23 
    23 
    24 // This file handles all the client-commands
    24 // This file handles all the client-commands
    25 
    25 
    26 
    26 
    27 extern const char _openttd_revision[];
       
    28 
       
    29 // So we don't make too much typos ;)
    27 // So we don't make too much typos ;)
    30 #define MY_CLIENT DEREF_CLIENT(0)
    28 #define MY_CLIENT DEREF_CLIENT(0)
    31 
    29 
    32 static uint32 last_ack_frame;
    30 static uint32 last_ack_frame;
    33 
    31 
    63 	//    uint8:  Play as Player id (1..MAX_PLAYERS)
    61 	//    uint8:  Play as Player id (1..MAX_PLAYERS)
    64 	//    uint8:  Language ID
    62 	//    uint8:  Language ID
    65 	//    String: Unique id to find the player back in server-listing
    63 	//    String: Unique id to find the player back in server-listing
    66 	//
    64 	//
    67 
    65 
       
    66 	extern const char _openttd_revision[];
    68 	Packet *p;
    67 	Packet *p;
    69 	_network_join_status = NETWORK_JOIN_STATUS_AUTHORIZING;
    68 	_network_join_status = NETWORK_JOIN_STATUS_AUTHORIZING;
    70 	InvalidateWindow(WC_NETWORK_STATUS_WINDOW, 0);
    69 	InvalidateWindow(WC_NETWORK_STATUS_WINDOW, 0);
    71 
    70 
    72 	p = NetworkSend_Init(PACKET_CLIENT_JOIN);
    71 	p = NetworkSend_Init(PACKET_CLIENT_JOIN);