mirror of
https://github.com/open-goal/jak-project
synced 2026-09-01 17:59:55 -04:00
[collision] add notes on -h files, add some enums (#1068)
* temp * add enums
This commit is contained in:
+4
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user