Files
jak-project/test/decompiler/reference/jak3/engine/draw/drawable-tree-h_REF.gc
T
Hat Kid 93afb02cf4 decomp3: spawn target, add merc and particle buckets and some temporary hacks (#3445)
This includes all the collision stuff needed to spawn `target`,
decompiles the sparticle code and adds some of the PC hacks needed for
merc to run (it doesn't work quite right and looks bad, likely due to a
combination of code copied from Jak 2 and the time of day hacks).

There are a bunch of temporary hacks (see commits) in place to prevent
the game from crashing quite as much, but it is still extremely prone to
doing so due to lots of missing functions/potentially bad decomp.

---------

Co-authored-by: water <awaterford111445@gmail.com>
2024-04-05 00:07:39 -04:00

22 lines
712 B
Common Lisp
Vendored
Generated

;;-*-Lisp-*-
(in-package goal)
;; definition of type drawable-tree
(deftype drawable-tree (drawable-group)
"A drawable tree is a container of drawables of a specific rendering type.
Instead of having a single large tree of mixed types, there will be a tree of tfrags, a tree of ties, etc.
The top-level tfrag tree will have a type that's a child of drawable-tree.
Generally, the object passed to a large renderer is a drawable-tree."
()
)
;; definition of type drawable-tree-array
(deftype drawable-tree-array (drawable-group)
"Collection of drawable trees. This might have a tfrag tree, tie tree, etc."
((trees drawable-tree :dynamic :offset 32)
)
)
;; failed to figure out what this is:
0