Continue cleanup of source files (#1138)

* more cleanup

* tests
This commit is contained in:
water111
2022-02-06 18:53:43 -05:00
committed by GitHub
parent f142f46045
commit bcbd1159dd
61 changed files with 358 additions and 204 deletions
+6 -7
View File
@@ -60,7 +60,7 @@
;; definition of type joint-anim-compressed
(deftype joint-anim-compressed (joint-anim)
((data joint-anim-compressed-hdr :dynamic :offset-assert 12)
((data uint32 :dynamic :offset-assert 12)
)
:method-count-assert 9
:size-assert #xc
@@ -78,8 +78,8 @@
;; definition of type joint-anim-frame
(deftype joint-anim-frame (structure)
((matrices matrix 2 :inline :offset-assert 0)
(data uint32 :dynamic :offset-assert 128)
((matrices matrix 2 :inline :offset-assert 0)
(data matrix :inline :dynamic :offset-assert 128)
)
:method-count-assert 9
:size-assert #x80
@@ -111,7 +111,6 @@
;; definition of type joint-anim-compressed-hdr
(deftype joint-anim-compressed-hdr (structure)
((control-bits uint32 14 :offset-assert 0)
(unknown-half int16 :offset 6)
(num-joints uint32 :offset-assert 56)
(matrix-bits uint32 :offset-assert 60)
)
@@ -214,8 +213,8 @@
:flag-assert #xd00000014
(:methods
(login (_type_) _type_ 9)
(dummy-10 (_type_ string type) joint 10)
(dummy-11 (_type_ string type) int 11)
(lookup-art (_type_ string type) joint 10)
(lookup-idx-of-art (_type_ string type) int 11)
(needs-link? (_type_) symbol 12)
)
)
@@ -376,7 +375,7 @@
:size-assert #x21
:flag-assert #xa00000021
(:methods
(dummy-9 (_type_ skeleton-group art-group entity) _type_ 9)
(setup-lods! (_type_ skeleton-group art-group entity) _type_ 9)
)
)