mirror of
https://github.com/open-goal/jak-project
synced 2026-08-20 14:24:45 -04:00
[decompile] decomp time-of-day-h, fix mood-h, update sky-h, make art-h almost work (#415)
* [decompiler] make certain floats decompile to constants * update various types in `mood-h`, `time-of-day-h` and `art-h` * fix `time-of-day-context` * add some offline tests * make `new-dynamic-structure` decompile at least * formatting * Update all-types.gc * Update all-types.gc
This commit is contained in:
@@ -138,6 +138,12 @@
|
||||
(define-extern quaternion-from-two-vectors-max-angle! (function quaternion vector vector float quaternion))
|
||||
(define-extern vector-xz-length (function vector float))
|
||||
|
||||
;; trigonometry
|
||||
(defconstant PI (the-as float #x40490fda))
|
||||
(defconstant MINUS_PI (the-as float #xc0490fda))
|
||||
(define-extern sin-rad (function float float))
|
||||
(define-extern cos-rad (function float float))
|
||||
|
||||
(defmacro .sync.l ()
|
||||
`(none))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user