Files
jak-project/test/decompiler/reference/engine/game/task/hint-control-h_REF.gc
T
ManDude 24578b64b9 proper support for hardcoded "time" types (#1141)
* 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
2022-02-12 12:26:19 -05:00

70 lines
2.4 KiB
Common Lisp
Vendored
Generated

;;-*-Lisp-*-
(in-package goal)
;; definition of type level-hint-control
(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
)
;; definition for method 3 of type level-hint-control
(defmethod inspect level-hint-control ((obj level-hint-control))
(format #t "[~8x] ~A~%" obj 'level-hint-control)
(format #t "~Tdelay-before-playing: ~D~%" (-> obj delay-before-playing))
(format #t "~Tid: ~D~%" (-> obj id))
(format #t "~Tnum-attempts-before-playing: ~D~%" (-> obj num-attempts-before-playing))
(format #t "~Tnum-success-before-killing: ~D~%" (-> obj num-success-before-killing))
(format #t "~Tnum-attempts: ~D~%" (-> obj num-attempts))
(format #t "~Tnum-success: ~D~%" (-> obj num-success))
(format #t "~Tstart-time: ~D~%" (-> obj start-time))
(format #t "~Tlast-time-called: ~D~%" (-> obj last-time-called))
obj
)
;; definition of type task-hint-control
(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
)
;; definition for method 3 of type task-hint-control
(defmethod inspect task-hint-control ((obj task-hint-control))
(format #t "[~8x] ~A~%" obj 'task-hint-control)
(format #t "~Ttask: ~D~%" (-> obj task))
(format #t "~Tdelay: ~D~%" (-> obj delay))
obj
)
;; definition of type task-hint-control-group
(deftype task-hint-control-group (structure)
((tasks (array task-hint-control) :offset-assert 0)
)
:method-count-assert 9
:size-assert #x4
:flag-assert #x900000004
)
;; definition for method 3 of type task-hint-control-group
(defmethod inspect task-hint-control-group ((obj task-hint-control-group))
(format #t "[~8x] ~A~%" obj 'task-hint-control-group)
(format #t "~Ttasks: ~A~%" (-> obj tasks))
obj
)
;; failed to figure out what this is:
0