;;-*-Lisp-*-
(in-package goal)

;; name: collide.gc
;; name in dgo: collide
;; dgos: ENGINE, GAME

#|@file
this is some vif setup stuff that was in jak 1 as well - some code in collide-cache
uses VIF's unpack/upload to modify collision data. This gets ported to c++, just
keeping it here for reference.
|#

(deftype collide-query-with-vec (structure)
  "A custom type added because of weirdness discovered in task-arrow::23"
  ((cquery collide-query :inline)
   (vec    vector :inline))
  )

(deftype collide-query-with-2vec (structure)
  "A custom type added because of weirdness discovered in krew-collection-item::22"
  ((cquery collide-query :inline)
   (vec    vector :inline)
   (vec2   vector :inline)
   )
  )

;; DECOMP BEGINS

(define *collide-vif0-init* (new 'static 'boxed-array :type uint32
                              #x30000000 ;; strow
                              #x4d000000 ;; row x
                              #x4d000000 ;; row y
                              #x4d000000 ;; row z
                              #x3f800000 ;; row w
                              #x5000001  ;; stmod 1
                              #x20000000 ;; stmask
                              #x40404040 ;; 1's on all w's
                              #x1000404  ;; stcycl cl 4 wl 4
                              #x0
                              #x0
                              #x0
                              )
        )




