modular stuffs
[carveJwlIkooP6JGAAIwe30JlM.git] / network.h
index b47f518dd514b5003923f523cb12d8fa9fc1866b..fc454c75afbf7cf643aefe861def63250a2ed0a7 100644 (file)
--- a/network.h
+++ b/network.h
@@ -11,6 +11,8 @@
 #include "network_msg.h"
 #include "highscores.h"
 
+VG_STATIC int network_scores_updated = 0;
+
 /* 
  * Interface
  */
@@ -23,7 +25,7 @@ VG_STATIC void network_init(void);
 VG_STATIC void network_update(void);
 
 /* Call it at shutdown */
-VG_STATIC void network_end(void*_);
+VG_STATIC void network_end(void);
 
 /* 
  * Can buffer up a bunch of these by calling many times, they will be
@@ -349,7 +351,7 @@ VG_STATIC void network_init(void)
    }
 }
 
-VG_STATIC void network_end(void*_)
+VG_STATIC void network_end(void)
 {
    /* TODO: Fire off any buffered highscores that need to be setn */
    if( cremote_state == k_ESteamNetworkingConnectionState_Connected ||
@@ -364,7 +366,7 @@ VG_STATIC void network_end(void*_)
 
 VG_STATIC void network_init(void){}
 VG_STATIC void network_update(void){}
-VG_STATIC void network_end(void*_){}
+VG_STATIC void network_end(void){}
 
 #endif /* SR_NETWORKED */
 #endif /* NETWORK_H */