summaryrefslogtreecommitdiff
path: root/src/til.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-29 14:08:03 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-29 14:08:03 -0800
commit7076aa56d7a2b18d02152696f0e4082223bf86e7 (patch)
tree191a1b55c3fc9a487898ddbdd5a315e021d71cff /src/til.c
parentf23dfda6a1256cbdf849612b1b484a1cc66040d2 (diff)
modules/pan: implement a panning overlay module
This is primarily intended for overlay use, but when not an overlay uses a little builtin seed-derived tile as a fallback. Currently the only settings are {x,y}=-1..1 for the direction vector. Speed is currently fixed to 1, the vector is always normalized. Nothing terribly exciting.
Diffstat (limited to 'src/til.c')
-rw-r--r--src/til.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/til.c b/src/til.c
index a74ff86..b773e99 100644
--- a/src/til.c
+++ b/src/til.c
@@ -39,6 +39,7 @@ extern til_module_t meta2d_module;
extern til_module_t mixer_module;
extern til_module_t moire_module;
extern til_module_t montage_module;
+extern til_module_t pan_module;
extern til_module_t pixbounce_module;
extern til_module_t plasma_module;
extern til_module_t plato_module;
@@ -80,6 +81,7 @@ static const til_module_t *modules[] = {
&mixer_module,
&moire_module,
&montage_module,
+ &pan_module,
&pixbounce_module,
&plasma_module,
&plato_module,
© All Rights Reserved