mirror of
https://github.com/open-goal/jak-project
synced 2026-05-30 00:47:20 -04:00
lint
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user