Files
jak-project/goal_src/engine/game/task/hint-control-h.gc
T
Tyler Wilding 17aedd894d decomp: hint-control | menu | default-menu (as much as possible) (#632)
* 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
2021-07-04 18:25:08 -04:00

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))