summaryrefslogtreecommitdiffhomepage
path: root/src/object.hpp
diff options
context:
space:
mode:
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;