summaryrefslogtreecommitdiff
path: root/src/plasma-node.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-12-12 20:01:25 -0800
committerVito Caputo <vcaputo@pengaru.com>2022-12-12 20:01:25 -0800
commitf79699d4c8b40e43847ec5f75993b5a39b598e53 (patch)
treefd1632ce31ad361965aece121eca1a10cf8b2336 /src/plasma-node.h
parente3085a3505bb30cf975804c519a3352bdc74d0dd (diff)
plasma-node: link infects_rate_smoothed to plasma
For now just scale the intensity of the plasma by the infections rate. When the infections rate sustain the maximum rate, the plasma eventually turns black. Will probably have to iterate a bit on this
Diffstat (limited to 'src/plasma-node.h')
-rw-r--r--src/plasma-node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plasma-node.h b/src/plasma-node.h
index 2c52431..9f2dc47 100644
--- a/src/plasma-node.h
+++ b/src/plasma-node.h
@@ -21,6 +21,6 @@ typedef struct m4f_t m4f_t;
typedef struct stage_t stage_t;
typedef struct stage_conf_t stage_conf_t;
-stage_t * plasma_node_new(const stage_conf_t *conf, m4f_t *projection_x);
+stage_t * plasma_node_new(const stage_conf_t *conf, m4f_t *projection_x, float *gloom);
#endif
© All Rights Reserved