# HG changeset patch # User nenolod # Date 1164260694 28800 # Node ID 44ad758c2d9853f4be1813ca5bcea33ab218fe22 # Parent 0f3ed1b6b273eee1951e743dd861227c6feda95a [svn] - better default values for Scope. diff -r 0f3ed1b6b273 -r 44ad758c2d98 ChangeLog --- a/ChangeLog Wed Nov 22 21:30:18 2006 -0800 +++ b/ChangeLog Wed Nov 22 21:44:54 2006 -0800 @@ -1,3 +1,11 @@ +2006-11-23 05:30:18 +0000 William Pitcock + revision [646] + - fix handling of strings + + trunk/src/paranormal/actuators.c | 2 ++ + 1 file changed, 2 insertions(+) + + 2006-11-23 04:25:17 +0000 Yoshiki Yazawa revision [644] - modify parser.y for warnings diff -r 0f3ed1b6b273 -r 44ad758c2d98 src/paranormal/wave.c --- a/src/paranormal/wave.c Wed Nov 22 21:30:18 2006 -0800 +++ b/src/paranormal/wave.c Wed Nov 22 21:44:54 2006 -0800 @@ -405,9 +405,9 @@ static struct pn_actuator_option_desc wave_scope_opts[] = { - {"init_script", "Initialization script.", OPT_TYPE_STRING, {sval: "value=255; points=128;"} }, - {"frame_script", "Script to run at the beginning of each frame.", OPT_TYPE_STRING, {sval: "x=0; y=0; step=width/points;"} }, - {"sample_script", "Script to run for each sample.", OPT_TYPE_STRING, {sval: "y = value; x = x + step;" }}, + {"init_script", "Initialization script.", OPT_TYPE_STRING, {sval: "n = 800; t = -0.05;"} }, + {"frame_script", "Script to run at the beginning of each frame.", OPT_TYPE_STRING, {sval: "t = t + 0.05;"} }, + {"sample_script", "Script to run for each sample.", OPT_TYPE_STRING, {sval: "d = index + value; r = t + index * 3.141952924 * 4; x = cos(r) * d; y = sin(r) * d;"} }, {"lines", "Use lines instead of dots.", OPT_TYPE_BOOLEAN, {bval: TRUE} }, { NULL } };