diff options
| author | Joel Stålnacke <joel@saker.fi> | 2026-03-20 21:38:46 +0200 |
|---|---|---|
| committer | Joel Stålnacke <joel@saker.fi> | 2026-03-20 21:38:46 +0200 |
| commit | 3870982f640260822bf605e693782ce9f5d79cf6 (patch) | |
| tree | 29cba57f08ae2d0ea32968cba49b1c4e6f69987f /lib/physics.h | |
| parent | 745406dc65aecc438a53f96badc387a32b7a338f (diff) | |
Diffstat (limited to 'lib/physics.h')
| -rw-r--r-- | lib/physics.h | 4 |
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 *); |
