mirror of
https://github.com/open-goal/jak-project
synced 2026-09-07 19:40:48 -04:00
[graphics] MERC (#1124)
* merc dma generation * wip very early version of merc * small fixes * fix * fix more merc bugs * derp fixed min * oops we did need something weird on max * merc for everything * program optimization 1 * more optimization * windows * windows 2 * clean up * fix test * BLERC
This commit is contained in:
+2
-2
@@ -792,8 +792,8 @@
|
||||
)
|
||||
)
|
||||
(if (or (guard-band-cull s4-0) (< cam-dist (* 1.2 (-> *math-camera* d))))
|
||||
(logior! (-> arg1 status) (draw-status drwf00))
|
||||
(logclear! (-> arg1 status) (draw-status drwf00))
|
||||
(logior! (-> arg1 status) (draw-status needs-clip))
|
||||
(logclear! (-> arg1 status) (draw-status needs-clip))
|
||||
)
|
||||
(logior! (-> arg1 status) (draw-status drwf03))
|
||||
(if (logtest? (-> arg1 status) (draw-status drwf05))
|
||||
|
||||
+1
-1
@@ -1061,7 +1061,7 @@
|
||||
)
|
||||
)
|
||||
(when (and *display-actor-vis* *display-actor-anim*)
|
||||
(let ((s5-3 (entity-by-name (the-as string *display-actor-anim*))))
|
||||
(let ((s5-3 (entity-by-name *display-actor-anim*)))
|
||||
(when s5-3
|
||||
(let ((v0-35 (res-lump-data s5-3 'visvol pointer))
|
||||
(a1-31 (-> s5-3 extra vis-id))
|
||||
|
||||
+2
-2
@@ -193,8 +193,8 @@
|
||||
;; definition for symbol *display-water-marks*, type symbol
|
||||
(define *display-water-marks* #f)
|
||||
|
||||
;; definition for symbol *display-actor-anim*, type symbol
|
||||
(define *display-actor-anim* #f)
|
||||
;; definition for symbol *display-actor-anim*, type string
|
||||
(define *display-actor-anim* (the-as string #f))
|
||||
|
||||
;; definition for symbol *display-process-anim*, type (pointer process)
|
||||
(define *display-process-anim* (the-as (pointer process) #f))
|
||||
|
||||
-2
@@ -385,7 +385,6 @@
|
||||
)
|
||||
|
||||
;; definition for function merc-vu1-initialize-chain
|
||||
;; INFO: Return type mismatch dma-packet vs none.
|
||||
;; Used lq/sq
|
||||
(defun merc-vu1-initialize-chain ((arg0 dma-gif-packet))
|
||||
(let ((gp-0 (the-as object (merc-vu1-add-vu-function (the-as dma-packet arg0) merc-vu1-block 1))))
|
||||
@@ -421,7 +420,6 @@
|
||||
(&+ v1-20 16)
|
||||
)
|
||||
)
|
||||
(none)
|
||||
)
|
||||
|
||||
;; definition for function merc-vu1-init-buffer
|
||||
|
||||
Reference in New Issue
Block a user