mirror of
https://github.com/open-goal/jak-project
synced 2026-05-26 15:46:14 -04:00
54f72e9b10
* decompile joint-mod-h * format' * missing include * fix test
45 lines
1.2 KiB
Common Lisp
45 lines
1.2 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: debug-h.gc
|
|
;; name in dgo: debug-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
|
|
(deftype pos-history (structure)
|
|
((points uint32 :offset-assert 0)
|
|
(num-points int32 :offset-assert 4)
|
|
(h-first int32 :offset-assert 8)
|
|
(h-last int32 :offset-assert 12)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x10
|
|
:flag-assert #x900000010
|
|
)
|
|
|
|
(deftype debug-vertex (structure)
|
|
((trans vector4w :inline :offset-assert 0)
|
|
(normal vector3h :inline :offset-assert 16)
|
|
(st vector2h :inline :offset-assert 22)
|
|
(color uint32 :offset-assert 28)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x20
|
|
:flag-assert #x900000020
|
|
)
|
|
|
|
|
|
(deftype debug-vertex-stats (basic)
|
|
((length int32 :offset-assert 4)
|
|
(pos-count int32 :offset-assert 8)
|
|
(vertex debug-vertex 600 :inline :offset-assert 16)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x4b10
|
|
:flag-assert #x900004b10
|
|
;; inspect method is overriden in debug.gc
|
|
)
|
|
|
|
|
|
(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 none)) |