Sara
2dec4da52c
feat: colliders now have a separate 'mask' and 'layers'
...
The mask decides the layers a collider collides with
2024-01-15 22:07:46 +01:00
Sara
0c6f1dd8cf
feat: reworked typeclasses to forward-declare then define
...
forward declarations are simplified with decl_typeclass_impl
impl_Typeclass_for now instead only define
static inline impl_Typeclass_for can be used to achieve the old behaviour
2024-01-12 09:02:42 +01:00
Sara
1a3c4c9676
fix: removed includes of deleted DamageEvent.h
2024-01-11 23:31:47 +01:00
Sara
bf23ff877a
feat: replaced messagereceiver with mirror
2024-01-11 23:28:42 +01:00
Sara
39f89d5127
feat: Prop now detects damage with #define-d message constant
...
As opposed to a magic number 1
2023-12-02 15:46:36 +01:00
Sara
9af31f6695
feat: prop uses damage events
2023-12-01 21:45:52 +01:00
Sara
04ade25772
chore: removed debug draws
2023-11-29 14:20:40 +01:00
Sara
29a40ce082
feat: changed handle message signature to (T*, MessageID, uintptr_t)
2023-11-29 14:18:51 +01:00
Sara
71d8ebd45c
feat: prop now destroys itself when receiving message id 1
2023-11-27 17:41:44 +01:00
Sara
f2159a31a9
feat: collision shape is for prop now initialized with physics entity and PHYSICS_LAYER_DEFAULT
2023-11-26 13:15:07 +01:00
Sara
240186c8de
feat(physics): reworked physics to use colliders, allowing for bodies with multiple colliders
2023-11-25 21:52:12 +01:00
Sara
29b2852cea
chore: removed debug logs from prop
2023-11-25 11:34:24 +01:00
Sara
14e006344e
feat(game): added prop object to represent simple static props
2023-11-24 23:20:25 +01:00