mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
[game] Scale first-person and progress HUD for pc 16:9 (#1504)
* [game] Scale first-person and progress HUD for pc 16:9 * oops
This commit is contained in:
parent
c188efff10
commit
65f47f2bfc
|
@ -224,7 +224,7 @@
|
|||
)
|
||||
(case (get-aspect-ratio)
|
||||
(('aspect4x3)
|
||||
(set! (-> self sides-x-scale) 3.5)
|
||||
(set! (-> self sides-x-scale) (if (= (-> *pc-settings* aspect-custom-x) 16) 5.0 3.5))
|
||||
(set! (-> self sides-y-scale) 13.0)
|
||||
(set! (-> self x-offset) 0)
|
||||
0
|
||||
|
|
|
@ -700,9 +700,9 @@
|
|||
(let ((f0-1 (* (1/ METER_LENGTH) (the float (-> obj in-out-position)))))
|
||||
(set! (-> obj particles 2 init-pos x) (the float (+ (-> obj right-x-offset) 409 (the int (* 301.5 f0-1)))))
|
||||
(set! (-> obj particles 1 init-pos x) (the float (+ (-> obj left-x-offset) 59)))
|
||||
(set! (-> obj left-side-x-scale) (meters (+ (/ 3.5 (-> obj sides-x-scale)) (* 10.0 f0-1))))
|
||||
(set! (-> obj left-side-x-scale) (meters (+ (/ (if (= (-> *pc-settings* aspect-custom-x) 16) 5.0 3.5) (-> obj sides-x-scale)) (* 10.0 f0-1))))
|
||||
(set! (-> obj left-side-y-scale) (meters (+ (-> obj sides-y-scale) (* 10.0 f0-1))))
|
||||
(set! (-> obj right-side-x-scale) (meters (+ (/ 6.0 (-> obj sides-x-scale)) (* 4.0 f0-1))))
|
||||
(set! (-> obj right-side-x-scale) (meters (+ (/ (if (= (-> *pc-settings* aspect-custom-x) 16) 8.5 6.0) (-> obj sides-x-scale)) (* 4.0 f0-1))))
|
||||
(set! (-> obj right-side-y-scale) (meters (+ (-> obj sides-y-scale) (* 4.0 f0-1))))
|
||||
)
|
||||
(dotimes (s5-0 (-> obj nb-of-particles))
|
||||
|
|
Loading…
Reference in a new issue