[collision] add notes on -h files, add some enums (#1068)

* temp

* add enums
This commit is contained in:
water111
2022-01-08 20:57:57 -05:00
committed by GitHub
parent bc94822ed1
commit a96396e140
277 changed files with 21698 additions and 26699 deletions
+4 -4
View File
@@ -1183,10 +1183,10 @@
(defmethod initialize-collision process-taskable ((obj process-taskable) (arg0 int) (arg1 vector))
(let ((s5-0 (new 'process 'collide-shape obj (collide-list-enum hit-by-player))))
(let ((s4-0 (new 'process 'collide-shape-prim-sphere s5-0 (the-as uint 0))))
(set! (-> s4-0 prim-core collide-as) (the-as uint 256))
(set! (-> s4-0 collide-with) (the-as uint 16))
(set! (-> s4-0 prim-core action) (the-as uint 1))
(set! (-> s4-0 prim-core offense) 4)
(set! (-> s4-0 prim-core collide-as) (collide-kind enemy))
(set! (-> s4-0 collide-with) (collide-kind target))
(set! (-> s4-0 prim-core action) (collide-action solid))
(set! (-> s4-0 prim-core offense) (collide-offense indestructible))
(set! (-> s4-0 transform-index) arg0)
(set-vector! (-> s4-0 local-sphere) (-> arg1 x) (-> arg1 y) (-> arg1 z) (-> arg1 w))
(set-root-prim! s5-0 s4-0)