equal
deleted
inserted
replaced
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 |