diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 11:13:27 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-01 11:13:27 +0100 |
| commit | ac81e02f5afe98e55d2d3d8bc0da2b7d8e084a6f (patch) | |
| tree | f90f8c5d1f62ef3bc7541d9b7e571014c0a90a82 /src/object.hpp | |
| parent | fa8fb9598ed255057badc888da7e22227c45de1c (diff) | |
ok
Diffstat (limited to 'src/object.hpp')
| -rw-r--r-- | src/object.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object.hpp b/src/object.hpp index b2cf2884..e462c8db 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -85,7 +85,8 @@ struct object void move_to(size_t& i, Vector2i delta, rotation new_r); void move_to(Vector2i delta); - static uint32_t allocate_frame_time(uint16_t& accum, Ns dt, float speed, uint32_t hz); + static uint32_t allocate_frame_time(Ns dt, uint16_t& accum, uint32_t hz); + uint32_t allocate_frame_time(Ns dt); protected: object(object_id id, class chunk& c, const object_proto& proto); |
