Files
jak-project/goal_src/jak2/pc/progress/progress-h-pc.gc
T

44 lines
773 B
Common Lisp

;;-*-Lisp-*-
(in-package goal)
#|
Additional PC port specific file for overriding/expanding the progress menu
This gives us more freedom to write code how we want.
|#
(deftype progress-global-state-pc (basic)
((decoration-draw-time uint64)
(display-mode-choice-index int8)
(aspect-ratio-choice-index int8)
)
)
(defmacro when-not-drawn-decoration (&rest body)
`(when (> (get-integral-current-time) (-> *progress-state-pc* decoration-draw-time))
,@body
(set! (-> *progress-state-pc* decoration-draw-time) (get-integral-current-time))))
(deftype menu-display-mode-option (menu-option)
()
)
(deftype menu-aspect-ratio-pc-option (menu-option)
()
)
(deftype menu-on-off-vsync-option (menu-on-off-option)
()
)