mirror of
https://github.com/open-goal/jak-project
synced 2026-06-11 21:19:11 -04:00
42 lines
1.5 KiB
Common Lisp
42 lines
1.5 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: plat-button.gc
|
|
;; name in dgo: plat-button
|
|
;; dgos: GAME, COMMON, L1
|
|
|
|
;; TODO - for sunken-elevator
|
|
(deftype plat-button (process-drawable)
|
|
((root-override collide-shape-moving :score 100 :offset 112)
|
|
(go-back-if-lost-player? symbol :offset-assert 176)
|
|
(grab-player? symbol :offset-assert 180)
|
|
(should-grab-player? symbol :offset-assert 184)
|
|
(path-pos float :offset-assert 188)
|
|
(bidirectional? symbol :offset-assert 192)
|
|
(allow-auto-kill symbol :offset-assert 196)
|
|
(sound-id sound-id :offset-assert 200)
|
|
(trans-off vector :inline :offset-assert 208)
|
|
(spawn-pos vector :inline :offset-assert 224)
|
|
)
|
|
:method-count-assert 33
|
|
:size-assert #xf0
|
|
:heap-base #x80
|
|
:flag-assert #x21008000f0
|
|
;; inherited inspect of process-drawable
|
|
(:methods
|
|
(plat-button-at-end () none 20) ;; state
|
|
(dummy-21 () none 21)
|
|
(plat-button-pressed () none 22) ;; state
|
|
(plat-button-move-downward () none 23) ;; state
|
|
(plat-button-move-upward () none 24) ;; state
|
|
(dummy-25 () none 25)
|
|
(dummy-26 () none 26)
|
|
(TODO-RENAME-27 (_type_) none 27)
|
|
(dummy-28 () none 28)
|
|
(TODO-RENAME-29 (_type_) float 29)
|
|
(should-teleport? (_type_) symbol 30)
|
|
(TODO-RENAME-31 (_type_) none 31) ;; TODO - need to know super::14
|
|
(dummy-32 () none 32)
|
|
)
|
|
)
|