network_client.c
changeset 2817 cdf488223c23
parent 2702 9172e3030a35
child 2879 365ecd52f2db
equal deleted inserted replaced
2816:9b55f64bff29 2817:cdf488223c23
    30 // So we don't make too much typos ;)
    30 // So we don't make too much typos ;)
    31 #define MY_CLIENT DEREF_CLIENT(0)
    31 #define MY_CLIENT DEREF_CLIENT(0)
    32 
    32 
    33 static uint32 last_ack_frame;
    33 static uint32 last_ack_frame;
    34 
    34 
    35 void NetworkRecvPatchSettings(NetworkClientState *cs, Packet *p);
    35 static void NetworkRecvPatchSettings(NetworkClientState* cs, Packet* p);
    36 
    36 
    37 // **********
    37 // **********
    38 // Sending functions
    38 // Sending functions
    39 //   DEF_CLIENT_SEND_COMMAND has no parameters
    39 //   DEF_CLIENT_SEND_COMMAND has no parameters
    40 // **********
    40 // **********
   821 extern const SettingDesc patch_settings[];
   821 extern const SettingDesc patch_settings[];
   822 
   822 
   823 // This is a TEMPORARY solution to get the patch-settings
   823 // This is a TEMPORARY solution to get the patch-settings
   824 //  to the client. When the patch-settings are saved in the savegame
   824 //  to the client. When the patch-settings are saved in the savegame
   825 //  this should be removed!!
   825 //  this should be removed!!
   826 void NetworkRecvPatchSettings(NetworkClientState *cs, Packet *p)
   826 static void NetworkRecvPatchSettings(NetworkClientState* cs, Packet* p)
   827 {
   827 {
   828 	const SettingDesc *item;
   828 	const SettingDesc *item;
   829 
   829 
   830 	item = patch_settings;
   830 	item = patch_settings;
   831 
   831