summaryrefslogtreecommitdiffhomepage
path: root/src/object.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-03 09:37:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-04 06:58:10 +0100
commit4011338e2911f70c426f3981b2afb18e0ebfcead (patch)
tree6588a4d608757e88b8bb60b1484c48322f282712 /src/object.hpp
parent89d90859bd9a6788528ca2b6dec342d22ccfb925 (diff)
c
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object.hpp b/src/object.hpp
index 9f029efa..3976088e 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -47,7 +47,8 @@ struct object
const global_coords coord;
const Vector2b offset, bbox_offset;
const Vector2ub bbox_size;
- uint16_t delta = 0, frame = 0;
+ uint16_t delta = 0; // todo! switch to Vector2ui due to `allocate_frame_time'
+ uint16_t frame = 0;
const rotation r = rotation::N; // todo remove bitfield?
const pass_mode pass = pass_mode::see_through;
bool ephemeral : 1 = false;