diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-27 16:50:12 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-27 16:50:12 +0100 |
commit | 0a7ab6ad108d4c1820975e05e1429bad708da662 (patch) | |
tree | 2daea2e35adbbe79f0f4f7783391b8869f2af9ee /src/object.hpp | |
parent | 1756ee2afde0659430f3a8f7e50a6734ce7519c7 (diff) |
add ephemeral object flag
Used to prevent objects from being stored in save files.
Diffstat (limited to 'src/object.hpp')
-rw-r--r-- | src/object.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object.hpp b/src/object.hpp index 10a900d1..2d33885d 100644 --- a/src/object.hpp +++ b/src/object.hpp @@ -49,6 +49,7 @@ struct object uint16_t delta = 0, frame = 0; const rotation r = rotation::N; const pass_mode pass = pass_mode::see_through; + bool ephemeral : 1 = false; //char _pad[4]; // got 4 bytes left virtual ~object() noexcept; |