mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-21 07:37:45 -04:00
1b2db09f51
A big one... I figure even if we would like to change the way the particle/scene code is output -- it'd be easier to find patterns with it all decompiled. I've updated my script so it can easily be used to mass update these files: ```bash task update-gsrc-glob GLOB="**/*-part*.gc" ``` > for example will update gsrc files with `part` in their name -- if they are in ref tests (so uncompleted ones aren't touched) I found a few issues along the way that I'll have to make issues for soon.
48 lines
1.5 KiB
Common Lisp
48 lines
1.5 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: whack.gc
|
|
;; name in dgo: whack
|
|
;; dgos: LWHACK
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(deftype whack-a-metal (process-drawable)
|
|
(
|
|
(cabinet handle :offset-assert 200)
|
|
(bopper uint32 :offset-assert 208)
|
|
(mole object 8 :offset-assert 212)
|
|
(score-part basic 2 :offset-assert 244)
|
|
(wave int32 :offset-assert 252)
|
|
(event int32 :offset-assert 256)
|
|
(event-time time-frame :offset-assert 264)
|
|
(event-length time-frame :offset-assert 272)
|
|
(hud-score int64 :offset-assert 280)
|
|
(hud-goal int64 :offset-assert 288)
|
|
(score float :offset-assert 296)
|
|
(score-time time-frame :offset-assert 304)
|
|
(dizzy? symbol :offset-assert 312)
|
|
(miss-count int32 :offset-assert 316)
|
|
(air-attack-count int32 :offset-assert 320)
|
|
(slot-buffer int32 4 :offset-assert 324)
|
|
(speech-time time-frame :offset-assert 344)
|
|
(speech-count int32 :offset-assert 352)
|
|
(speech-last basic 4 :offset-assert 356)
|
|
)
|
|
:method-count-assert 30
|
|
:size-assert #x174
|
|
:flag-assert #x1e01000174
|
|
(:methods
|
|
(whack-a-metal-method-21 () none 20)
|
|
(whack-a-metal-method-22 () none 21)
|
|
(whack-a-metal-method-23 () none 22)
|
|
(whack-a-metal-method-24 () none 23)
|
|
(whack-a-metal-method-25 () none 24)
|
|
(whack-a-metal-method-26 () none 25)
|
|
(whack-a-metal-method-27 () none 26)
|
|
(whack-a-metal-method-28 () none 27)
|
|
(whack-a-metal-method-29 () none 28)
|
|
(whack-a-metal-method-30 () none 29)
|
|
)
|
|
)
|