mirror of
https://github.com/open-goal/jak-project
synced 2026-07-31 08:16:02 -04:00
17aedd894d
* decomp: mostly done `hint-control` * decomp: Started and decent chunk of `menu` done * temp stash * decomp: escape from `menu` hell * decomp: starting on `default-menu` * decomp: As much as i can do in `default-menu` at this time * decomp: clean up `hint-control` * decomp: fix reference tests * temp stash * decomp: finalize `menu` * decomp: add `menu` to goal_src * decomp: finalize `hint-control` * decomp: Resolve TypeConsistency issues * and fix reference tests * address feedback * format and lint * fix tests
40 lines
1.2 KiB
Common Lisp
40 lines
1.2 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: hint-control-h.gc
|
|
;; name in dgo: hint-control-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
(deftype level-hint-control (structure)
|
|
((delay-before-playing uint64 :offset-assert 0)
|
|
(id uint32 :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 uint64 :offset-assert 16)
|
|
(last-time-called uint64 :offset-assert 24)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x20
|
|
:flag-assert #x900000020
|
|
)
|
|
|
|
(deftype task-hint-control (structure)
|
|
((task uint8 :offset-assert 0)
|
|
(delay uint64 :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)) |