mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 23:30:16 -04:00
[graphics] First part of shrub extraction (#1258)
* decompile 90% of shrubbery * some more progress * some more * big function decompiled * went through `draw-prototype-inline-array-shrub` and made more notes * shrub: start implementing extract_shrub * read through current notes and add the info to current decomp * decomp: allow skipping inline-asm from output * add code to BspHeader to get GOAL types for shrubs * add doc * wip * fix bad merge Co-authored-by: Tyler Wilding <xtvaser@gmail.com> Co-authored-by: Tyler Wilding <xTVaser@users.noreply.github.com>
This commit is contained in:
+3
-9
@@ -635,13 +635,7 @@
|
||||
(let ((s3-0 (-> (the-as drawable-tree-instance-shrub v1-7) info prototype-inline-array-shrub)))
|
||||
(dotimes (s2-0 (-> s3-0 length))
|
||||
(let ((a1-4
|
||||
(new
|
||||
'global
|
||||
'debug-menu-item-flag
|
||||
(the-as string (-> s3-0 data s2-0 name))
|
||||
(-> s3-0 data s2-0 name)
|
||||
dm-instance-pick-func
|
||||
)
|
||||
(new 'global 'debug-menu-item-flag (-> s3-0 data s2-0 name) (-> s3-0 data s2-0 name) dm-instance-pick-func)
|
||||
)
|
||||
)
|
||||
(debug-menu-append-item *instance-shrub-menu* a1-4)
|
||||
@@ -656,7 +650,7 @@
|
||||
(new
|
||||
'debug
|
||||
'debug-menu-item-flag
|
||||
(the-as string (-> s3-1 array-data s2-1 name))
|
||||
(-> s3-1 array-data s2-1 name)
|
||||
(-> s3-1 array-data s2-1 name)
|
||||
dm-instance-pick-func
|
||||
)
|
||||
@@ -668,7 +662,7 @@
|
||||
(new
|
||||
'debug
|
||||
'debug-menu-item-flag
|
||||
(the-as string (-> s3-1 array-data s2-1 name))
|
||||
(-> s3-1 array-data s2-1 name)
|
||||
(-> s3-1 array-data s2-1 name)
|
||||
dm-enable-instance-func
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user