mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
g/j2: fix hud positioning when in mirror mode (#3630)
Fixes #3627 
This commit is contained in:
@@ -588,10 +588,12 @@
|
||||
(* (-> this icons v1-55 scale-x) (-> *video-params* relative-x-scale))
|
||||
1.0
|
||||
)
|
||||
(if (-> *blit-displays-work* horizontal-flip-flag)
|
||||
(set! (-> this icons v1-55 icon 0 root trans x) (the float (- 256 (-> this icons v1-55 pos 0))))
|
||||
(set! (-> this icons v1-55 icon 0 root trans x) (the float (+ (-> this icons v1-55 pos 0) -256)))
|
||||
)
|
||||
;; og:preserve-this not needed with how mirror mode is currently being done
|
||||
;; (if (-> *blit-displays-work* horizontal-flip-flag)
|
||||
;; (set! (-> this icons v1-55 icon 0 root trans x) (the float (- 256 (-> this icons v1-55 pos 0))))
|
||||
;; (set! (-> this icons v1-55 icon 0 root trans x) (the float (+ (-> this icons v1-55 pos 0) -256)))
|
||||
;; )
|
||||
(set! (-> this icons v1-55 icon 0 root trans x) (the float (+ (-> this icons v1-55 pos 0) -256)))
|
||||
(set! (-> this icons v1-55 icon 0 root trans y) (the float (* (+ (-> this icons v1-55 pos 1) -208) 2)))
|
||||
(set! (-> this icons v1-55 icon 0 root trans z) (the float (-> this icons v1-55 pos 2)))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user