summaryrefslogtreecommitdiff
path: root/src/eetg.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2025-07-07 23:20:36 +0200
committerRichard Braun <rbraun@sceen.net>2025-07-07 23:33:24 +0200
commitbad173c52be8ebfe75a4a46465b2d89669432246 (patch)
tree1757009d45d2fbbf97d5d63fc00809d2775aca1e /src/eetg.h
parentec598949b407d86d0d35548566c70c18fbce76aa (diff)
Update embedded invadersdev/et
Diffstat (limited to 'src/eetg.h')
-rw-r--r--src/eetg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eetg.h b/src/eetg.h
index 56856c8..f691894 100644
--- a/src/eetg.h
+++ b/src/eetg.h
@@ -51,6 +51,10 @@ typedef void (*eetg_write_fn)(const void *buffer, size_t size, void *arg);
*
* This function may not call any other function that could trigger
* another collision.
+ *
+ * If an object is removed from its world while handling a collision,
+ * it must persist in memory until the operation that triggered the
+ * collision is complete.
*/
typedef bool (*eetg_handle_collision_fn)(struct eetg_object *object1,
struct eetg_object *object2,