mirror of
https://github.com/open-goal/jak-project
synced 2026-09-02 10:11:44 -04:00
[decomp2] game-info, game-task and task-control (#1884)
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`
This commit is contained in:
+5
-5
@@ -1283,11 +1283,11 @@
|
||||
bucket
|
||||
position
|
||||
(the-as vector (-> mat vector))
|
||||
(meters 2.0)
|
||||
(meters 2)
|
||||
(new 'static 'rgba :r #xff :a #x80)
|
||||
)
|
||||
(add-debug-vector enable bucket position (-> mat vector 1) (meters 2.0) (new 'static 'rgba :g #xff :a #x80))
|
||||
(add-debug-vector enable bucket position (-> mat vector 2) (meters 2.0) (new 'static 'rgba :b #xff :a #x80))
|
||||
(add-debug-vector enable bucket position (-> mat vector 1) (meters 2) (new 'static 'rgba :g #xff :a #x80))
|
||||
(add-debug-vector enable bucket position (-> mat vector 2) (meters 2) (new 'static 'rgba :b #xff :a #x80))
|
||||
mat
|
||||
)
|
||||
|
||||
@@ -1305,7 +1305,7 @@
|
||||
|
||||
;; definition (debug) for function add-debug-cspace
|
||||
(defun-debug add-debug-cspace ((enable symbol) (bucket bucket-id) (csp cspace))
|
||||
(add-debug-matrix enable bucket (-> csp bone transform) (meters 2.0))
|
||||
(add-debug-matrix enable bucket (-> csp bone transform) (meters 2))
|
||||
csp
|
||||
)
|
||||
|
||||
@@ -1636,7 +1636,7 @@
|
||||
bucket
|
||||
position
|
||||
(-> light direction)
|
||||
(meters 3.0)
|
||||
(meters 3)
|
||||
(new 'static 'rgba :r #xff :g #xff :b #xff :a #x80)
|
||||
)
|
||||
(let ((sphere-pos (new-stack-vector0)))
|
||||
|
||||
Reference in New Issue
Block a user