shithub: orca

Download patch

ref: 5d6b4dbaf02e23ef1ba18ab90db8d5927d427505
parent: a26788ea9532ec6166f0e6eaea57c0068c7d28b1
author: cancel <cancel@cancel.fm>
date: Thu Jan 2 11:40:43 EST 2020

Remove unused define

Was used in old UTURN operator. Not used any longer.

--- a/sim.c
+++ b/sim.c
@@ -254,10 +254,6 @@
   _('Y', yump)                                                                 \
   _('Z', lerp)
 
-#define MOVEMENT_CASES                                                         \
-  'N' : case 'n' : case 'E' : case 'e' : case 'S' : case 's' : case 'W'        \
-      : case 'w'
-
 BEGIN_OPERATOR(movement)
   if (glyph_is_lowercase(This_oper_char) &&
       !oper_has_neighboring_bang(gbuffer, height, width, y, x))
@@ -668,8 +664,8 @@
   POKE(1, 0, PEEK(0, read_val_x));
 END_OPERATOR
 
-// optimized starting from from
-// https://www.computermusicdesign.com/simplest-euclidean-rhythm-algorithm-explained/
+// https://www.computermusicdesign.com/
+// simplest-euclidean-rhythm-algorithm-explained/
 BEGIN_OPERATOR(uclid)
   LOWERCASE_REQUIRES_BANG;
   PORT(0, -1, IN | PARAM);