mirror of
https://github.com/open-goal/jak-project
synced 2026-05-30 00:47:20 -04:00
7ce58f709f
* some jp support to fix some errors in the original game * music fade toggle * recognize `process-new` macros!! * strip casts in this macro * rename macro * fix cast typecheck * update source 1 * detect kernel stack case * less boilerplate * `manipy-spawn` special case * pretty printer improvements * revert dumb thing from earlier * use shell detection on `send-event` * fix some events * remove unused argument * detect `static-attack-info` and add `CondNoElse` to shell detect * better `attack-info` detect * support `process-spawn` in multi-lets * detect `rand-float-gen` pt 1 * detect as return value * detect in `countdown` and `dotimes` * oops this wasnt working * fancier `send-event`s * clang * update source!! * fix tests * fine jeez * uh okay * fix some accidental regressions * fix more regressions * regression fixes * fix big bug... * extra safety!
33 lines
927 B
Common Lisp
Vendored
Generated
33 lines
927 B
Common Lisp
Vendored
Generated
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; definition for symbol EulSafe, type (array int32)
|
|
(define EulSafe (the-as (array int32) (new 'static 'boxed-array :type int32 0 1 2 0)))
|
|
|
|
;; definition for symbol EulNext, type (array int32)
|
|
(define EulNext (the-as (array int32) (new 'static 'boxed-array :type int32 1 2 0 1)))
|
|
|
|
;; definition of type euler-angles
|
|
(deftype euler-angles (vector)
|
|
()
|
|
:method-count-assert 9
|
|
:size-assert #x10
|
|
:flag-assert #x900000010
|
|
)
|
|
|
|
;; definition for method 3 of type euler-angles
|
|
;; Used lq/sq
|
|
(defmethod inspect euler-angles ((obj euler-angles))
|
|
(format #t "[~8x] ~A~%" obj 'euler-angles)
|
|
(format #t "~Tdata[4] @ #x~X~%" (&-> obj x))
|
|
(format #t "~Tx: ~f~%" (-> obj x))
|
|
(format #t "~Ty: ~f~%" (-> obj y))
|
|
(format #t "~Tz: ~f~%" (-> obj z))
|
|
(format #t "~Tw: ~f~%" (-> obj w))
|
|
(format #t "~Tquad: ~D~%" (-> obj quad))
|
|
obj
|
|
)
|
|
|
|
;; failed to figure out what this is:
|
|
0
|