mirror of
https://github.com/open-goal/jak-project
synced 2026-07-10 15:14:15 -04:00
cd68cb671e
Major change to how `deftype` shows up in our code: - the decompiler will no longer emit the `offset-assert`, `method-count-assert`, `size-assert` and `flag-assert` parameters. There are extremely few cases where having this in the decompiled code is helpful, as the types there come from `all-types` which already has those parameters. This also doesn't break type consistency because: - the asserts aren't compared. - the first step of the test uses `all-types`, which has the asserts, which will throw an error if they're bad. - the decompiler won't emit the `heap-base` parameter unless necessary now. - the decompiler will try its hardest to turn a fixed-offset field into an `overlay-at` field. It falls back to the old offset if all else fails. - `overlay-at` now supports field "dereferencing" to specify the offset that's within a field that's a structure, e.g.: ```lisp (deftype foobar (structure) ((vec vector :inline) (flags int32 :overlay-at (-> vec w)) ) ) ``` in this structure, the offset of `flags` will be 12 because that is the final offset of `vec`'s `w` field within this structure. - **removed ID from all method declarations.** IDs are only ever automatically assigned now. Fixes #3068. - added an `:overlay` parameter to method declarations, in order to declare a new method that goes on top of a previously-defined method. Syntax is `:overlay <method-name>`. Please do not ever use this. - added `state-methods` list parameter. This lets you quickly specify a list of states to be put in the method table. Same syntax as the `states` list parameter. The decompiler will try to put as many states in this as it can without messing with the method ID order. Also changes `defmethod` to make the first type definition (before the arguments) optional. The type can now be inferred from the first argument. Fixes #3093. --------- Co-authored-by: Hat Kid <6624576+Hat-Kid@users.noreply.github.com>
1070 lines
21 KiB
Common Lisp
Vendored
Generated
1070 lines
21 KiB
Common Lisp
Vendored
Generated
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; definition of type hud-string
|
|
(deftype hud-string (basic)
|
|
((text string)
|
|
(scale float)
|
|
(color font-color)
|
|
(flags font-flags)
|
|
(pos int32 4 :offset 32)
|
|
)
|
|
:allow-misaligned
|
|
)
|
|
|
|
;; definition for method 3 of type hud-string
|
|
(defmethod inspect ((this hud-string))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(format #t "[~8x] ~A~%" this (-> this type))
|
|
(format #t "~1Ttext: ~A~%" (-> this text))
|
|
(format #t "~1Tscale: ~f~%" (-> this scale))
|
|
(format #t "~1Tcolor: ~D~%" (-> this color))
|
|
(format #t "~1Tflags: ~D~%" (-> this flags))
|
|
(format #t "~1Tpos: #<vector4w @ #x~X>~%" (-> this pos))
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-sprite
|
|
(deftype hud-sprite (structure)
|
|
((pos vector4w :inline)
|
|
(color vector4w :inline)
|
|
(color2 int32 4 :overlay-at (-> color data 0))
|
|
(flags uint32)
|
|
(scale-x float)
|
|
(scale-y float)
|
|
(angle float)
|
|
(tex texture)
|
|
)
|
|
(:methods
|
|
(draw (_type_ dma-buffer level) none)
|
|
(hud-sprite-method-10 (_type_ dma-buffer level int int int int) object)
|
|
)
|
|
)
|
|
|
|
;; definition for method 3 of type hud-sprite
|
|
(defmethod inspect ((this hud-sprite))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(format #t "[~8x] ~A~%" this 'hud-sprite)
|
|
(format #t "~1Tpos: #<vector4w @ #x~X>~%" (-> this pos))
|
|
(format #t "~1Tcolor: #<vector4w @ #x~X>~%" (-> this color2))
|
|
(format #t "~1Tflags: ~D~%" (-> this flags))
|
|
(format #t "~1Tscale-x: ~f~%" (-> this scale-x))
|
|
(format #t "~1Tscale-y: ~f~%" (-> this scale-y))
|
|
(format #t "~1Tangle: ~f~%" (-> this angle))
|
|
(format #t "~1Ttex: ~A~%" (-> this tex))
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-box
|
|
(deftype hud-box (structure)
|
|
((min vector2 :inline)
|
|
(max vector2 :inline)
|
|
(color vector4w :inline)
|
|
)
|
|
(:methods
|
|
(draw-box-prim-only (_type_ dma-buffer) none)
|
|
(draw-box-alpha-1 (_type_ dma-buffer) none)
|
|
(draw-box-alpha-2 (_type_ dma-buffer) none)
|
|
(draw-box-alpha-3 (_type_ dma-buffer) none)
|
|
(draw-scan-and-line (_type_ dma-buffer float) int)
|
|
(setup-scissor (_type_ dma-buffer) none)
|
|
(restore-scissor (_type_ dma-buffer) none)
|
|
)
|
|
)
|
|
|
|
;; definition for method 3 of type hud-box
|
|
(defmethod inspect ((this hud-box))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(format #t "[~8x] ~A~%" this 'hud-box)
|
|
(format #t "~1Tmin: #<vector2 @ #x~X>~%" (-> this min))
|
|
(format #t "~1Tmax: #<vector2 @ #x~X>~%" (-> this max))
|
|
(format #t "~1Tcolor: #<vector4w @ #x~X>~%" (-> this color))
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-icon
|
|
(deftype hud-icon (basic)
|
|
((icon (pointer manipy))
|
|
(pos int32 4 :offset 16)
|
|
(scale-x float)
|
|
(scale-y float)
|
|
)
|
|
:allow-misaligned
|
|
)
|
|
|
|
;; definition for method 3 of type hud-icon
|
|
(defmethod inspect ((this hud-icon))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(format #t "[~8x] ~A~%" this (-> this type))
|
|
(format #t "~1Ticon: #x~X~%" (-> this icon))
|
|
(format #t "~1Tpos: #<vector4w @ #x~X>~%" (-> this pos))
|
|
(format #t "~1Tscale-x: ~f~%" (-> this scale-x))
|
|
(format #t "~1Tscale-y: ~f~%" (-> this scale-y))
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-value
|
|
(deftype hud-value (basic)
|
|
((current int32)
|
|
(target int32)
|
|
(flags uint16)
|
|
(counter uint16)
|
|
)
|
|
:allow-misaligned
|
|
)
|
|
|
|
;; definition for method 3 of type hud-value
|
|
(defmethod inspect ((this hud-value))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(format #t "[~8x] ~A~%" this (-> this type))
|
|
(format #t "~1Tcurrent: ~D~%" (-> this current))
|
|
(format #t "~1Ttarget: ~D~%" (-> this target))
|
|
(format #t "~1Tflags: ~D~%" (-> this flags))
|
|
(format #t "~1Tcounter: ~D~%" (-> this counter))
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud
|
|
(deftype hud (process)
|
|
((trigger-time time-frame)
|
|
(last-hide-time time-frame)
|
|
(offset float)
|
|
(flags hud-flags)
|
|
(values hud-value 8 :inline :overlay-at flags)
|
|
(strings hud-string 14 :inline :offset 284)
|
|
(sprites hud-sprite 30 :inline :offset 960)
|
|
(icons hud-icon 2 :inline :offset 2876)
|
|
(gui-id sound-id :offset 2976)
|
|
)
|
|
(:methods
|
|
(hidden? (_type_) symbol)
|
|
(draw (_type_) none)
|
|
(update-values (_type_) none)
|
|
(init-callback (_type_) none)
|
|
(event-callback (_type_ process int symbol event-message-block) symbol)
|
|
(hud-method-19 (_type_) none)
|
|
(hud-method-20 (_type_) none)
|
|
(hud-method-21 (_type_) none)
|
|
(hud-method-22 (_type_) none)
|
|
(hud-method-23 (_type_) none)
|
|
(check-ready-and-maybe-show (_type_ symbol) symbol)
|
|
(update-value-callback (_type_ int int) none)
|
|
(alloc-string-if-needed (_type_ int) none)
|
|
)
|
|
(:states
|
|
hud-arriving
|
|
hud-hidden
|
|
hud-in
|
|
(hud-leaving float)
|
|
)
|
|
)
|
|
|
|
;; definition for method 3 of type hud
|
|
(defmethod inspect ((this hud))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type process inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(format #t "~2Ttrigger-time: ~D~%" (-> this trigger-time))
|
|
(format #t "~2Tlast-hide-time: ~D~%" (-> this last-hide-time))
|
|
(format #t "~2Toffset: ~f~%" (-> this offset))
|
|
(format #t "~2Tflags: ~D~%" (-> this flags))
|
|
(format #t "~2Tvalues[8] @ #x~X~%" (-> this values))
|
|
(format #t "~2Tstrings[14] @ #x~X~%" (-> this strings))
|
|
(format #t "~2Tsprites[30] @ #x~X~%" (-> this sprites))
|
|
(format #t "~2Ticons[2] @ #x~X~%" (-> this icons))
|
|
(format #t "~2Tgui-id: ~D~%" (-> this gui-id))
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-ashelin
|
|
(deftype hud-ashelin (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-ashelin
|
|
(defmethod inspect ((this hud-ashelin))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-cargo
|
|
(deftype hud-cargo (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-cargo
|
|
(defmethod inspect ((this hud-cargo))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-citizen
|
|
(deftype hud-citizen (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-citizen
|
|
(defmethod inspect ((this hud-citizen))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-cpanel
|
|
(deftype hud-cpanel (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-cpanel
|
|
(defmethod inspect ((this hud-cpanel))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-dig-clasp
|
|
(deftype hud-dig-clasp (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-dig-clasp
|
|
(defmethod inspect ((this hud-dig-clasp))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-gun
|
|
(deftype hud-gun (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-gun
|
|
(defmethod inspect ((this hud-gun))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-health
|
|
(deftype hud-health (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-health
|
|
(defmethod inspect ((this hud-health))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-dark-eco-symbol
|
|
(deftype hud-dark-eco-symbol (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-dark-eco-symbol
|
|
(defmethod inspect ((this hud-dark-eco-symbol))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-helldog
|
|
(deftype hud-helldog (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-helldog
|
|
(defmethod inspect ((this hud-helldog))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-lurker
|
|
(deftype hud-lurker (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-lurker
|
|
(defmethod inspect ((this hud-lurker))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-map
|
|
(deftype hud-map (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-map
|
|
(defmethod inspect ((this hud-map))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-moneybag
|
|
(deftype hud-moneybag (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-moneybag
|
|
(defmethod inspect ((this hud-moneybag))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-pegasus
|
|
(deftype hud-pegasus (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-pegasus
|
|
(defmethod inspect ((this hud-pegasus))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-plasmite
|
|
(deftype hud-plasmite (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-plasmite
|
|
(defmethod inspect ((this hud-plasmite))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-dig-button
|
|
(deftype hud-dig-button (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-dig-button
|
|
(defmethod inspect ((this hud-dig-button))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-predator
|
|
(deftype hud-predator (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-predator
|
|
(defmethod inspect ((this hud-predator))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-heatmeter
|
|
(deftype hud-heatmeter (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-heatmeter
|
|
(defmethod inspect ((this hud-heatmeter))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-progress
|
|
(deftype hud-progress (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-progress
|
|
(defmethod inspect ((this hud-progress))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-rocketsensor
|
|
(deftype hud-rocketsensor (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-rocketsensor
|
|
(defmethod inspect ((this hud-rocketsensor))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-ruffians
|
|
(deftype hud-ruffians (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-ruffians
|
|
(defmethod inspect ((this hud-ruffians))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-score
|
|
(deftype hud-score (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-score
|
|
(defmethod inspect ((this hud-score))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-sig
|
|
(deftype hud-sig (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-sig
|
|
(defmethod inspect ((this hud-sig))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-skill
|
|
(deftype hud-skill (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-skill
|
|
(defmethod inspect ((this hud-skill))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-skullgem
|
|
(deftype hud-skullgem (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-skullgem
|
|
(defmethod inspect ((this hud-skullgem))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-timer
|
|
(deftype hud-timer (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-timer
|
|
(defmethod inspect ((this hud-timer))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-turret
|
|
(deftype hud-turret (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-turret
|
|
(defmethod inspect ((this hud-turret))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-squid
|
|
(deftype hud-squid (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-squid
|
|
(defmethod inspect ((this hud-squid))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-gunturret
|
|
(deftype hud-gunturret (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-gunturret
|
|
(defmethod inspect ((this hud-gunturret))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-gruntegg
|
|
(deftype hud-gruntegg (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-gruntegg
|
|
(defmethod inspect ((this hud-gruntegg))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-crimsonhover
|
|
(deftype hud-crimsonhover (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-crimsonhover
|
|
(defmethod inspect ((this hud-crimsonhover))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-metalkor
|
|
(deftype hud-metalkor (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-metalkor
|
|
(defmethod inspect ((this hud-metalkor))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-big-score
|
|
(deftype hud-big-score (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-big-score
|
|
(defmethod inspect ((this hud-big-score))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-goal
|
|
(deftype hud-goal (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-goal
|
|
(defmethod inspect ((this hud-goal))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-miss
|
|
(deftype hud-miss (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-miss
|
|
(defmethod inspect ((this hud-miss))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-race-timer
|
|
(deftype hud-race-timer (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-race-timer
|
|
(defmethod inspect ((this hud-race-timer))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-race-lap-counter
|
|
(deftype hud-race-lap-counter (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-race-lap-counter
|
|
(defmethod inspect ((this hud-race-lap-counter))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-race-turbo-counter
|
|
(deftype hud-race-turbo-counter (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-race-turbo-counter
|
|
(defmethod inspect ((this hud-race-turbo-counter))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-race-position
|
|
(deftype hud-race-position (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-race-position
|
|
(defmethod inspect ((this hud-race-position))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-race-map
|
|
(deftype hud-race-map (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-race-map
|
|
(defmethod inspect ((this hud-race-map))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-samos-old
|
|
(deftype hud-samos-old (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-samos-old
|
|
(defmethod inspect ((this hud-samos-old))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-samos-young
|
|
(deftype hud-samos-young (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-samos-young
|
|
(defmethod inspect ((this hud-samos-young))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-lurker-button
|
|
(deftype hud-lurker-button (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-lurker-button
|
|
(defmethod inspect ((this hud-lurker-button))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-widow
|
|
(deftype hud-widow (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-widow
|
|
(defmethod inspect ((this hud-widow))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-race-final-stats
|
|
(deftype hud-race-final-stats (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-race-final-stats
|
|
(defmethod inspect ((this hud-race-final-stats))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-mech-air-tank
|
|
(deftype hud-mech-air-tank (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-mech-air-tank
|
|
(defmethod inspect ((this hud-mech-air-tank))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-homing-beacon
|
|
(deftype hud-homing-beacon (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-homing-beacon
|
|
(defmethod inspect ((this hud-homing-beacon))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-dark-eco-pickup
|
|
(deftype hud-dark-eco-pickup (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-dark-eco-pickup
|
|
(defmethod inspect ((this hud-dark-eco-pickup))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; definition of type hud-green-eco-pickup
|
|
(deftype hud-green-eco-pickup (hud)
|
|
()
|
|
)
|
|
|
|
;; definition for method 3 of type hud-green-eco-pickup
|
|
(defmethod inspect ((this hud-green-eco-pickup))
|
|
(when (not this)
|
|
(set! this this)
|
|
(goto cfg-4)
|
|
)
|
|
(let ((t9-0 (method-of-type hud inspect)))
|
|
(t9-0 this)
|
|
)
|
|
(label cfg-4)
|
|
this
|
|
)
|
|
|
|
;; failed to figure out what this is:
|
|
0
|