summaryrefslogtreecommitdiffhomepage
path: root/src/object.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-06 21:29:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-07 00:45:24 +0100
commit58f95047db869bf14b8b1dda0240ac50a8d340c2 (patch)
tree39920782964047f2e21133d1428b61cb861465af /src/object.hpp
parent5a48da35d255753010ea9f9937050c06982a6d40 (diff)
src: move tile defs that need Vector2 into their own file
Diffstat (limited to 'src/object.hpp')
-rw-r--r--src/object.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.hpp b/src/object.hpp
index 6db9d8bc..10a900d1 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -19,7 +19,7 @@ struct object_proto
{
std::shared_ptr<anim_atlas> atlas;
Vector2b offset, bbox_offset;
- Vector2ub bbox_size = Vector2ub(iTILE_SIZE2);
+ Vector2ub bbox_size = Vector2ub(tile_size_xy);
uint16_t delta = 0, frame = 0;
object_type type : 3 = object_type::none;
rotation r : rotation_BITS = rotation::N;