aboutsummaryrefslogtreecommitdiff
path: root/prob.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-04-07 14:32:29 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-04-07 14:32:29 +0000
commit1baf1d957e195290cfd59089767ca63a547a9917 (patch)
tree38a48f9bffeb97d2f69934447be073a1728bf779 /prob.h
This commit was generated by cvs2svn to compensate for changes in r1560,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/mjlib/; revision=1561
Diffstat (limited to 'prob.h')
-rw-r--r--prob.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/prob.h b/prob.h
new file mode 100644
index 0000000..8781ab3
--- /dev/null
+++ b/prob.h
@@ -0,0 +1,18 @@
+
+typedef struct _prob
+{
+ t_object x_obj;
+ t_clock *x_clock;
+ t_float x_time;
+ t_float x_probability;
+ t_float x_running;
+} t_prob;
+
+static void prob_tick(t_prob *x);
+static void prob_start(t_prob *x);
+static void prob_stop(t_prob *x);
+static void prob_free(t_prob *x);
+static void *prob_new( t_float , t_float);
+static void prob_set_time( t_prob *x, t_float f );
+static void prob_set_probability( t_prob *x, t_float f );
+static int prob_event(t_prob *x);