[decomp] clean up files 50-100 (#1443)

* [decomp] clean up files 50-100

* update file, fix crash on too many prims

* spelling is hard
This commit is contained in:
water111
2022-06-12 12:58:10 -04:00
committed by GitHub
parent df991470f7
commit c235280b91
162 changed files with 968 additions and 846 deletions
+10 -9
View File
@@ -29,7 +29,7 @@
(deftype memory-usage-block (basic)
((work-bsp basic :offset-assert 4)
(length int32 :offset-assert 8)
(data memory-usage-info 109 :inline :offset-assert 16) ;; guess
(data memory-usage-info 109 :inline :offset-assert 16)
)
:method-count-assert 12
:size-assert #x6e0
@@ -58,14 +58,13 @@
;; bit 3 : count tie colors 2 (geom 2)
;; bit 4 : ?? (geom 3)
;; Memory usage stats are organized by the type of object.
;; This enum allows you to go from type to the index in the memory-usage-block's data array.
(defenum mem-usage-id
:bitfield #f
:type uint32
(drawable-group 0)
(tfragment-unknown 1) ;; made up name
(tfragment 1)
(tfragment-base 2)
(tfragment-common 3)
(tfragment-level0 4)
@@ -75,11 +74,11 @@
(tfragment-pal 8)
(tie-fragment 9)
(tie-gif 10)
(tie-point 11)
(tie-points 11)
(tie-colors 12)
(tie-draw-points 13)
(tie-debug 14)
;; 15??
(tie-near 15)
(tie-pal 16)
(tie-generic 17)
(instance-tie 18)
@@ -87,7 +86,7 @@
(instance-tie-colors1 20)
(instance-tie-colors2 21)
(instance-tie-colors3 22)
(instance-tie-colors 23)
(instance-tie-colors* 23)
(prototype-bucket-shrub 24)
(generic-shrub 25)
(generic-shrub-data 26)
@@ -98,7 +97,9 @@
(shrubbery-stq 31)
(shrubbery-pal 32)
(billboard 33)
;; ???
(instance-shrubbery 34)
(pris-fragment 35)
;; ??
(entity 43)
(camera 44)
(nav-mesh 45)
@@ -138,10 +139,10 @@
(string 80)
(array 81)
(sprite 82)
;;
(depth-cue 83)
(debug-dma 84) ;; maybe
(sky-dma 85) ;; maybe
;;
(pris-generic)
(4k-dead-pool 87)
(8k-dead-pool 88)
(16k-dead-pool 89)