mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
[jak2] also allow analog for play select fast scroll (#3015)
This commit is contained in:
parent
2e43e18e1d
commit
4871f5dfc7
|
@ -2881,14 +2881,14 @@
|
|||
)
|
||||
)
|
||||
;; og:preserve-this - Added to make scrolling these menus faster (jak3 has this)
|
||||
((or (cpad-pressed? 0 left) (and (cpad-hold? 0 left) (>= (- (current-time) (-> obj last-move)) (seconds 0.075))))
|
||||
((or (cpad-pressed? 0 left l-analog-left) (and (cpad-hold? 0 left l-analog-left) (>= (- (current-time) (-> obj last-move)) (seconds 0.075))))
|
||||
(when (> (-> obj task-index) 0)
|
||||
(set! (-> obj last-move) (current-time))
|
||||
(set! s4-0 #t)
|
||||
(set! (-> obj task-index) (max (- (-> obj task-index) 5) 0))
|
||||
(set! (-> arg0 sliding-height) 0.0)))
|
||||
;; og:preserve-this - Added to make scrolling these menus faster (jak3 has this)
|
||||
((or (cpad-pressed? 0 right) (and (cpad-hold? 0 right) (>= (- (current-time) (-> obj last-move)) (seconds 0.075))))
|
||||
((or (cpad-pressed? 0 right l-analog-right) (and (cpad-hold? 0 right l-analog-right) (>= (- (current-time) (-> obj last-move)) (seconds 0.075))))
|
||||
(let ((max-task-index -1))
|
||||
(dotimes (s2-0 (-> *game-info* play-list length))
|
||||
(let* ((v1-41 (-> *game-info* play-list s2-0))
|
||||
|
|
Loading…
Reference in a new issue