mirror of
https://github.com/open-goal/jak-project
synced 2026-05-29 08:43:08 -04:00
7e5541d793
- `pov-camera-h` - `sync-info-h` - `trajectory-h` - `collide-target-h` (`control-info` just padded out for now) - `water-info-h` - `process-drawable-h` - `process-focusable` - `focus` - `effect-control-h` - `process-taskable-h` - `generic-obs-h` - `target-h`
49 lines
1.2 KiB
Common Lisp
49 lines
1.2 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: process-taskable-h.gc
|
|
;; name in dgo: process-taskable-h
|
|
;; dgos: GAME
|
|
|
|
;; +++process-taskable-flags
|
|
(defenum process-taskable-flags
|
|
:type uint32
|
|
:bitfield #t
|
|
)
|
|
;; ---process-taskable-flags
|
|
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(deftype process-taskable (process-focusable)
|
|
"The parent class for NPCs that can be talked to."
|
|
((flags process-taskable-flags)
|
|
(task game-task-control)
|
|
(ambient ambient-control :inline :offset 216)
|
|
(neck-joint-index int32)
|
|
(talk-message text-id)
|
|
(talk-distance meters)
|
|
(talk-height meters)
|
|
(last-talk time-frame)
|
|
(want-to-say time-frame)
|
|
(birth-time time-frame)
|
|
(slave handle)
|
|
)
|
|
(:state-methods
|
|
hide
|
|
idle
|
|
(active game-task-event)
|
|
die
|
|
(play-game game-task-event)
|
|
)
|
|
(:methods
|
|
(process-taskable-method-33 () none)
|
|
(process-taskable-method-34 () none)
|
|
(process-taskable-method-35 () none)
|
|
(process-taskable-method-36 () none)
|
|
(process-taskable-method-37 () none)
|
|
(process-taskable-method-38 () none)
|
|
(process-taskable-method-39 () none)
|
|
)
|
|
)
|