mirror of
https://github.com/open-goal/jak-project
synced 2026-08-10 19:17:55 -04:00
24578b64b9
* hardcode `time-frame`things * Update cam-states_REF.gc * Update level-info_REF.gc * update refs 1 * update refs 2 * update refs 3 * update refs 4 * update refs 5 * update detection and casting * Update FormExpressionAnalysis.cpp * update refs 6 * update mood decomp * update refs 7 * update refs 8 * remove temp entity birth code * update time-frame casts * fix compiler * hardcode stuff and fix some types * fix some bitfield detection being wrong * bug fixes * detect seconds on adds with immediate * update refs 9 * fix casts and rand-vu-int-range bugs (update refs 10) * update refs 11 * update 12 * update 13 * update 14 * Update game-info_REF.gc * improve cpad macros detection * remove unused code * update refs * clang * update source code * Update cam-states.gc * `lavatube-energy` finish * update refs * fix actor bank stuff * Update navigate.gc * reduce entity default stack size * Update transformq-h.gc * oops forgot these * fix code and tests * fix mood sound stuff * Update load-dgo.gc * Update README.md
61 lines
1.7 KiB
Common Lisp
61 lines
1.7 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: hint-control-h.gc
|
|
;; name in dgo: hint-control-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
(defenum hint-command
|
|
(if-unknown 0)
|
|
(if-known 1)
|
|
(if-resolved 2)
|
|
(if-need-introduction 3)
|
|
(if-need-reminder 4)
|
|
(if-need-reminder-a 5)
|
|
(if-need-reward-speech 6)
|
|
(close-need-hint 7)
|
|
(close-need-introduction 8)
|
|
(close-need-reminder 9)
|
|
(close-need-reminder-a 10)
|
|
(close-need-reward-speech 11)
|
|
(close-need-resolution 12)
|
|
(if-at-most-need-reminder-a 13)
|
|
)
|
|
|
|
(deftype level-hint-control (structure)
|
|
((delay-before-playing time-frame :offset-assert 0)
|
|
(id game-text-id :offset-assert 8)
|
|
(num-attempts-before-playing int8 :offset-assert 12)
|
|
(num-success-before-killing int8 :offset-assert 13)
|
|
(num-attempts int8 :offset-assert 14)
|
|
(num-success int8 :offset-assert 15)
|
|
(start-time time-frame :offset-assert 16)
|
|
(last-time-called time-frame :offset-assert 24)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x20
|
|
:flag-assert #x900000020
|
|
)
|
|
|
|
(deftype task-hint-control (structure)
|
|
((task game-task :offset-assert 0)
|
|
(delay time-frame :offset-assert 8)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x10
|
|
:flag-assert #x900000010
|
|
)
|
|
|
|
(deftype task-hint-control-group (structure)
|
|
((tasks (array task-hint-control) :offset-assert 0)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x4
|
|
:flag-assert #x900000004
|
|
)
|
|
|
|
(define-extern reset-all-hint-controls (function none))
|
|
(define-extern kill-current-level-hint (function pair pair symbol none))
|
|
(define-extern level-hint-spawn (function game-text-id string entity process-tree game-task none))
|
|
|