jak-project/goal_src/engine/debug/debug-h.gc
ManDude 9d84ba8ca4
Decomp assert and debug-h (#282)
* [assert-h] decomp

* [assert] decomp

* Update assert.gc

* [debug-h] decomp

* oops
2021-02-24 22:58:20 -05:00

44 lines
1 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
)