summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-09-26 07:53:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-09-26 07:53:00 +0200
commit3e51922e2cfd9430c1a45074107d467f6c1e5e0e (patch)
tree19e5147f14a8ddb02bce3cbfc306e9deb09e93e1
parent4c668acd91bdb9b7bb216d3ee45e4d2a1e2f50f5 (diff)
add todo
-rw-r--r--src/object.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/object.hpp b/src/object.hpp
index 2abd49b5..fca4640d 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -24,6 +24,7 @@ struct object_proto
object_type type : 3 = object_type::none;
rotation r : rotation_BITS = rotation::N;
pass_mode pass : pass_mode_BITS = pass_mode::see_through; // todo move to struct scenery, add inherit bit
+ bool inherit_pass_mode = true; // todo
object_proto& operator=(const object_proto&);
object_proto();
@@ -49,6 +50,8 @@ struct object
uint16_t delta = 0, frame = 0;
const rotation r = rotation::N;
const pass_mode pass = pass_mode::see_through;
+ const bool inherit_pass_mode = true; // todo
+ //char pad[3]; // got 3 bytes left
virtual ~object() noexcept;