mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-21 07:37:45 -04:00
9351bf782e
And everything else needed for them! A couple functions are bad currently. - fixes #1929 - untested on linux - fixes #1924 - now you need to type `,` before a lambda you want to put in a pair. - fix debugger symbol table in jak 2 - made the decompiler output `(meters 2)` instead of `(meters 2.0)` - fixed a bug with the bitfield enum special -1 case - made bad game text decomp not exit the decompiler - added `editable-player` and `script`
40 lines
1.1 KiB
Common Lisp
40 lines
1.1 KiB
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: geometry-h.gc
|
|
;; name in dgo: geometry-h
|
|
;; dgos: ENGINE, GAME
|
|
|
|
(define-extern quaternion-from-two-vectors-max-angle! (function quaternion vector vector float quaternion))
|
|
|
|
;; DECOMP BEGINS
|
|
|
|
(deftype curve (structure)
|
|
((cverts (inline-array vector) :offset-assert 0)
|
|
(num-cverts int32 :offset-assert 4)
|
|
(knots (pointer float) :offset-assert 8)
|
|
(num-knots int32 :offset-assert 12)
|
|
(length float :offset-assert 16)
|
|
)
|
|
:method-count-assert 9
|
|
:size-assert #x14
|
|
:flag-assert #x900000014
|
|
)
|
|
|
|
|
|
(deftype border-plane (basic)
|
|
((name symbol :offset-assert 4)
|
|
(action basic :offset-assert 8)
|
|
(slot int8 :offset-assert 12)
|
|
(trans vector :inline :offset-assert 16)
|
|
(normal vector :inline :offset-assert 32)
|
|
)
|
|
:method-count-assert 11
|
|
:size-assert #x30
|
|
:flag-assert #xb00000030
|
|
(:methods
|
|
(debug-draw (_type_) int 9)
|
|
(point-past-plane? (_type_ vector) symbol 10)
|
|
)
|
|
)
|