mirror of
https://github.com/open-goal/jak-project
synced 2026-08-20 14:24:45 -04:00
@@ -592,6 +592,47 @@
|
||||
`(.lvf vf0 (new 'static 'vector :x 0.0 :y 0.0 :z 0.0 :w 1.0))
|
||||
)
|
||||
|
||||
(defenum bucket-id
|
||||
:type int32
|
||||
:bitfield #f
|
||||
|
||||
(tfrag-tex0 5)
|
||||
;; merc0 10
|
||||
;; generic0 11
|
||||
|
||||
(tfrag-tex1 12)
|
||||
;; merc1 17
|
||||
;; generic1 18
|
||||
|
||||
(shrub-tex0 19)
|
||||
|
||||
(shrub-tex1 25)
|
||||
|
||||
(alpha-tex0 31)
|
||||
|
||||
(alpha-tex1 38)
|
||||
|
||||
(pris-tex0 48)
|
||||
;; merc0 49
|
||||
;; generic0 50
|
||||
|
||||
(pris-tex1 51)
|
||||
;; merc1 52
|
||||
;; generic1 53
|
||||
|
||||
(water-tex0 57)
|
||||
;; merc0 58 (+ default)
|
||||
;; generic0 59 (+ default)
|
||||
|
||||
(water-tex1 60)
|
||||
;; merc1 61
|
||||
;; generic1 62
|
||||
;; debug spheres? 67
|
||||
(debug-draw0 67)
|
||||
;; debug text 68
|
||||
(debug-draw1 68)
|
||||
)
|
||||
|
||||
;; TODO - for trajectory.gc
|
||||
(declare-type trajectory structure)
|
||||
(deftype rgba (uint32)
|
||||
@@ -602,7 +643,7 @@
|
||||
)
|
||||
:flag-assert #x900000004
|
||||
)
|
||||
(define-extern add-debug-line (function symbol int vector vector rgba symbol int int))
|
||||
(define-extern add-debug-line (function symbol bucket-id vector vector rgba symbol rgba symbol))
|
||||
|
||||
;; early declarations for draw-control
|
||||
(declare-type ripple-control basic)
|
||||
@@ -613,7 +654,7 @@
|
||||
(declare-type merc-ctrl basic)
|
||||
|
||||
;; TODO - for ripple
|
||||
(define-extern add-debug-sphere (function symbol int vector float int int))
|
||||
(define-extern add-debug-sphere (function symbol bucket-id vector float rgba symbol))
|
||||
|
||||
(defconstant SYM_TO_STRING_OFFSET #xff38)
|
||||
(defmacro symbol->string (sym)
|
||||
@@ -758,50 +799,11 @@
|
||||
(reset 7) ;; 128
|
||||
)
|
||||
|
||||
(defenum bucket-id
|
||||
:type uint32
|
||||
:bitfield #f
|
||||
|
||||
(tfrag-tex0 5)
|
||||
;; merc0 10
|
||||
;; generic0 11
|
||||
|
||||
(tfrag-tex1 12)
|
||||
;; merc1 17
|
||||
;; generic1 18
|
||||
|
||||
(shrub-tex0 19)
|
||||
|
||||
(shrub-tex1 25)
|
||||
|
||||
(alpha-tex0 31)
|
||||
|
||||
(alpha-tex1 38)
|
||||
|
||||
(pris-tex0 48)
|
||||
;; merc0 49
|
||||
;; generic0 50
|
||||
|
||||
(pris-tex1 51)
|
||||
;; merc1 52
|
||||
;; generic1 53
|
||||
|
||||
(water-tex0 57)
|
||||
;; merc0 58 (+ default)
|
||||
;; generic0 59 (+ default)
|
||||
|
||||
(water-tex1 60)
|
||||
;; merc1 61
|
||||
;; generic1 62
|
||||
;; debug text 68
|
||||
(debug-draw 68)
|
||||
)
|
||||
|
||||
(define-extern cspace<-parented-transformq-joint! (function cspace transformq none))
|
||||
(define-extern cspace<-transformq! (function cspace transformq matrix))
|
||||
(define-extern vector<-cspace! (function vector cspace vector))
|
||||
(define-extern add-debug-text-sphere (function symbol bucket-id vector float string rgba none))
|
||||
(define-extern add-debug-matrix (function symbol bucket-id matrix none))
|
||||
(define-extern add-debug-text-sphere (function symbol bucket-id vector float string rgba symbol))
|
||||
(define-extern add-debug-matrix (function symbol bucket-id matrix matrix))
|
||||
|
||||
(define-extern vector-flatten! (function vector vector vector vector))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user