From 100b706352533018570c106bcdff7435f266dfe8 Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Sat, 7 Dec 2024 21:11:58 +0100 Subject: [PATCH] lint --- goal_src/jak2/engine/gfx/foreground/ripple.gc | 4 ++-- goal_src/jak2/engine/gfx/hw/video.gc | 4 ++-- goal_src/jak2/levels/common/elec-gate.gc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/goal_src/jak2/engine/gfx/foreground/ripple.gc b/goal_src/jak2/engine/gfx/foreground/ripple.gc index 803cfa2f17..394c317f53 100644 --- a/goal_src/jak2/engine/gfx/foreground/ripple.gc +++ b/goal_src/jak2/engine/gfx/foreground/ripple.gc @@ -27,7 +27,7 @@ (defun ripple-make-request ((waveform ripple-wave) (effect merc-effect)) "Iterate through [[*ripple-globals*]] `requests` looking for the one that matches the provided `effect` If NOT found, append a new [[ripple-request]] with the providded `effect` and `waveform` to the end of the `requests`. - + NOTE: There can only be 16 effects at a given time, NOOP if already at that limit!" (let ((v1-1 (-> *ripple-globals* count)) (a2-1 (-> *ripple-globals* requests)) @@ -76,7 +76,7 @@ "Iterate through [[*ripple-globals*]] requests, from the end to index `0` For each request, if it has a `waveform` create the wave-table via `ripple-create-wave-table` Then for each `waveform` apply the `effect` using `ripple-apply-wave-table` - + Once completed, all `requests` have been processed and the `count` is reset to `0`" (when (-> *ripple-globals* count) (ripple-execute-init) diff --git a/goal_src/jak2/engine/gfx/hw/video.gc b/goal_src/jak2/engine/gfx/hw/video.gc index f59e130f5e..7242d2cce8 100644 --- a/goal_src/jak2/engine/gfx/hw/video.gc +++ b/goal_src/jak2/engine/gfx/hw/video.gc @@ -12,9 +12,9 @@ (defun set-video-mode ((tv-format symbol)) "Set related settings to the video mode in the settings, [[*video-params*]] and the [[*video-mode*]] `ntsc` has a [[*video-mode*]] value of `0`, where as `pal` has a value of `1` - + Will also set a bunch of common settings related to profiling and the camera to finalize the switch - + @param tv-format Recognizes `ntsc` and `pal`" (case tv-format (('ntsc) diff --git a/goal_src/jak2/levels/common/elec-gate.gc b/goal_src/jak2/levels/common/elec-gate.gc index 48d766d2e4..1c6cfb993c 100644 --- a/goal_src/jak2/levels/common/elec-gate.gc +++ b/goal_src/jak2/levels/common/elec-gate.gc @@ -775,7 +775,7 @@ (defmethod set-state! ((this elec-gate)) "If either [[actor-option::17]] is set on the [[elec-gate]] or the related subtask is completed make the gate `idle`. - + Otherwise, the gate will be `active`." (if (or (logtest? (actor-option user17) (-> this fact options)) (and (-> this entity) (logtest? (-> this entity extra perm status) (entity-perm-status subtask-complete)))