Commit Graph

10 Commits

Author SHA1 Message Date
2b7033b685 cycle effect now tracks the heap leakage of the running effects. Cause somewhere's a memory leak leading to restarts of the ESP every about 2 days... 2019-10-04 12:03:03 +02:00
083564caef Reorganized effect selection stuff: No longer a big case clause comparing CRC32. Instead an array of structs. Much nicer. Also, other code can now see which effects there are. 2019-10-02 06:16:07 +02:00
382631d7d7 Effect#loop now gets the time since the last run of the loop in ms. This enables
the effects to show animations that stay fluid independent of the current frame rate.
2019-10-01 06:29:32 +02:00
36edb94ff0 Metrics now include the current effect's name. 2019-09-25 18:11:03 +02:00
1912772da3 Effects now use Constructor and Destructor to initialize or delete their data, instead of using start() and stop(). 2019-06-18 18:09:05 +02:00
c5856a6f7a Whitespace stuff. Tabs rule!
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-07 06:24:16 +02:00
94687bab36 CycleEffect now uses the ID of an effect within cycle_effects to prevent repeating an effect instead of comparing the objects. 2019-06-04 05:56:33 +02:00
a7d956209a Added Effect::start() and Effect::stop() to allow effects to reserve memory on start and free it afterwards. 2019-05-31 05:46:17 +02:00
0d3896ca0d Got rid of (most of) all of the warnings. 2019-05-30 11:26:13 +02:00
2f58fd14d0 Splitting the code into single files is done. \o/ 2019-05-30 00:49:54 +02:00