mirror of
https://github.com/open-goal/jak-project
synced 2026-08-16 13:17:34 -04:00
[jak2] fill in a lot of flags for decomp + mouse macros (#2927)
Also changed the default type of enums to `int64` (same as `int`).
This commit is contained in:
+5
-6
@@ -1605,6 +1605,7 @@
|
||||
)
|
||||
|
||||
;; definition for method 3 of type debug-vertex-stats
|
||||
;; INFO: this function exists in multiple non-identical object files
|
||||
(defmethod inspect debug-vertex-stats ((obj debug-vertex-stats))
|
||||
(format #t "[~8x] ~A~%" obj (-> obj type))
|
||||
(format #t "~Tlength: ~D~%" (-> obj length))
|
||||
@@ -1726,8 +1727,7 @@
|
||||
|
||||
;; definition (debug) for function add-debug-cursor
|
||||
;; INFO: Used lq/sq
|
||||
;; WARN: Return type mismatch int vs none.
|
||||
(defun-debug add-debug-cursor ((enable symbol) (bucket bucket-id) (x int) (y int) (arg4 int))
|
||||
(defun-debug add-debug-cursor ((enable symbol) (bucket bucket-id) (x int) (y int) (arg4 mouse-buttons))
|
||||
(when enable
|
||||
(with-dma-buffer-add-bucket ((buf (-> *display* frames (-> *display* on-screen) global-buf))
|
||||
bucket
|
||||
@@ -1740,13 +1740,13 @@
|
||||
(+ x -5)
|
||||
(+ y -4)
|
||||
(cond
|
||||
((= v1-7 1)
|
||||
((= v1-7 (mouse-buttons left))
|
||||
(font-color red)
|
||||
)
|
||||
((= v1-7 2)
|
||||
((= v1-7 (mouse-buttons right))
|
||||
(font-color yellow)
|
||||
)
|
||||
((= v1-7 4)
|
||||
((= v1-7 (mouse-buttons middle))
|
||||
(font-color green)
|
||||
)
|
||||
(else
|
||||
@@ -1759,7 +1759,6 @@
|
||||
)
|
||||
)
|
||||
0
|
||||
(none)
|
||||
)
|
||||
|
||||
;; this part is debug only
|
||||
|
||||
Reference in New Issue
Block a user