jak-project/goal_src/jak2/engine/gfx/generic/generic-vu1-h.gc
Tyler Wilding e7bb0fb68d
d/jak2: decompile ambient | speech and bigmap-data (#1954)
fma-sphere not completed due to #1888
2022-10-16 18:09:15 -04:00

96 lines
2.8 KiB
Common Lisp

;;-*-Lisp-*-
(in-package goal)
;; name: generic-vu1-h.gc
;; name in dgo: generic-vu1-h
;; dgos: ENGINE, GAME
;; DECOMP BEGINS
(deftype pris-mtx (structure)
((data float 32 :offset-assert 0)
(vector vector 8 :offset 0)
(t-mtx matrix :inline :offset 0)
(n-mtx matrix3 :inline :offset 64)
(scale vector :inline :offset 112)
)
:method-count-assert 9
:size-assert #x80
:flag-assert #x900000080
)
(deftype generic-pris-mtx-save (structure)
((loc-mtx pris-mtx :inline :offset-assert 0)
(par-mtx pris-mtx :inline :offset-assert 128)
(dif-mtx pris-mtx :inline :offset-assert 256)
)
:method-count-assert 9
:size-assert #x180
:flag-assert #x900000180
)
(deftype generic-constants (structure)
((fog vector :inline :offset-assert 0)
(adgif gs-gif-tag :inline :offset-assert 16)
(hvdf-offset vector :inline :offset-assert 32)
(hmge-scale vector :inline :offset-assert 48)
(invh-scale vector :inline :offset-assert 64)
(guard vector :inline :offset-assert 80)
(flush qword :inline :offset-assert 96)
(stores qword :inline :offset-assert 112)
)
:method-count-assert 9
:size-assert #x80
:flag-assert #x900000080
)
(deftype generic-shrub-constants (structure)
((shrub-giftag generic-gif-tag :inline :offset-assert 0)
(shrub-adnop qword :inline :offset-assert 16)
)
:method-count-assert 9
:size-assert #x20
:flag-assert #x900000020
)
(deftype gcf-shader (structure)
((adgif uint128 5 :offset-assert 0)
(shader adgif-shader :inline :offset 0)
(pos uint32 :offset 12)
(num uint32 :offset 28)
)
:method-count-assert 9
:size-assert #x50
:flag-assert #x900000050
)
(deftype gcf-control (structure)
((matrix matrix :inline :offset-assert 0)
(giftag generic-gif-tag :inline :offset-assert 64)
(adnops gs-adcmd 2 :inline :offset-assert 80)
(num-strips uint32 :offset 76)
(num-dps uint32 :offset 92)
(kick-offset uint32 :offset 108)
(shader gcf-shader :inline :dynamic :offset-assert 112)
)
:method-count-assert 9
:size-assert #x70
:flag-assert #x900000070
)
(deftype gcf-vertex (structure)
((tex vector4w :inline :offset-assert 0)
(clr gs-packed-rgba :inline :offset-assert 16)
(pos gs-packed-xyzw :inline :offset-assert 32)
)
:method-count-assert 9
:size-assert #x30
:flag-assert #x900000030
)