projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e72c36
)
defs: Added actor last collision values
author
Lukas Krickl
<lukas@krickl.dev>
Mon, 11 Aug 2025 15:52:08 +0000
(17:52 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Mon, 11 Aug 2025 15:52:08 +0000
(17:52 +0200)
src/defs.s
patch
|
blob
|
history
diff --git
a/src/defs.s
b/src/defs.s
index 7c44c45b8144c8c848b4e07ae9ba6af880b5a6c6..a282bc93db4b70e61eb4aa3941984296a2e89c7c 100644
(file)
--- a/
src/defs.s
+++ b/
src/defs.s
@@
-168,6
+168,11
@@
; last collision with actor
; set during unit_collision_woth_any_other
.de act_rt_collided_with, 2
+ ; last collision flags
+.de act_rt_collision_cf, 1
+ ; last collision tile position
+.de act_rt_collision_pos_y, 1
+.de act_rt_collision_pos_x, 1
; sub-tile drawing vars
; during this animation the actor is already technically in its new