summaryrefslogtreecommitdiff
path: root/lib/physics.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/physics.h')
-rw-r--r--lib/physics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/physics.h b/lib/physics.h
index 7aa2b31..e1c53f3 100644
--- a/lib/physics.h
+++ b/lib/physics.h
@@ -4,11 +4,11 @@ struct snapshot;
/* A game world */
struct context {
- size_t snapshots_len;
+ int32_t snapshots_len;
struct snapshot *snapshots;
};
-struct context *dp_physics_context_create(size_t snapshots);
+struct context *dp_physics_context_create(int32_t snapshots, int32_t players, int32_t balls);
void dp_physics_context_free(struct context *);
struct snapshot *dp_physics_context_get_snapshot(struct context *);