aboutsummaryrefslogtreecommitdiff
path: root/software/effects.h
blob: 745c1498e82cb8b2d61278f1bd6c68d0d31d4931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

// slideshow config
#define SLIDESHOW_SIZE     (int) 3
// uncomment for fixed slide length
// #define SLIDESHOW_DURATION (int) 5e3

// definition of done sprint 3
void fx_roundabout (unsigned long relative_time);
void fx_wipexyz    (unsigned long relative_time);
void fx_rainfall   (unsigned long relative_time);

// evil function pointer array
extern void ( * slideshow_effects [SLIDESHOW_SIZE] )( unsigned long relative_time );
#ifndef SLIDESHOW_DURATION
extern unsigned long slideshow_lengths[SLIDESHOW_SIZE];
#endif