projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync time between clients to utc
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world.h
diff --git
a/world.h
b/world.h
index 76d43d6e66d6e58f4c5a841983fb1feaa5aa286a..98b9df90bc7e120bfea347fcad2e088037b444cc 100644
(file)
--- a/
world.h
+++ b/
world.h
@@
-6,6
+6,7
@@
#define WORLD_H
#include "render.h"
#define WORLD_H
#include "render.h"
+#include "network_msg.h"
/* types
*/
/* types
*/
@@
-22,6
+23,13
@@
enum world_purpose{
k_world_max
};
k_world_max
};
+struct leaderboard_cache {
+ enum request_status status;
+ f64 cache_time;
+ u8 *data;
+ u32 data_len;
+};
+
typedef struct world_instance world_instance;
static void skaterift_world_get_save_path( enum world_purpose which,
typedef struct world_instance world_instance;
static void skaterift_world_get_save_path( enum world_purpose which,
@@
-194,6
+202,9
@@
struct world_instance {
u32 cubemap_cooldown, cubemap_side;
rb_object rb_geo;
u32 cubemap_cooldown, cubemap_side;
rb_object rb_geo;
+
+ /* leaderboards */
+ struct leaderboard_cache *leaderboard_cache;
};
struct world_static {
};
struct world_static {