jak-project icon indicating copy to clipboard operation
jak-project copied to clipboard

decompiler: jak 3 `defskelgroup` macro detection

Open Hat-Kid opened this issue 1 year ago • 0 comments

Jak 3 changes skeleton-groups yet again, adding new stuff for the cloth system:

  (let ((a0-0
          (new 'static 'skeleton-group
            :name "skel-hud-ring"
            :extra #f
            :info #f
            :art-group-name "hud-ring"
            :bounds (new 'static 'vector :w 225280.0)
            :version 8
            :clothing #f
            )
          )
        )
    (when #f
      (set! (-> a0-0 clothing) (new 'static 'boxed-array :type cloth-params))
      (set! (-> a0-0 clothing length) (-> a0-0 clothing allocated-length))
      )
    (set! (-> a0-0 jgeo) 0)
    (set! (-> a0-0 janim) 2)
    (set! (-> a0-0 mgeo 0) 1)
    (set! (-> a0-0 lod-dist 0) 4095996000.0)
    ((method-of-object a0-0 skeleton-group-method-16))
    )

Hat-Kid avatar Feb 03 '24 15:02 Hat-Kid