dbf-udg

diff libs/dsys2/dsys.c @ 11:5f99c4c7a9fe

now it looks pretty much ok
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 20 Feb 2013 04:55:03 +0200
parents 7056437a361b
children 1abbed71e9c9
line diff
     1.1 --- a/libs/dsys2/dsys.c	Tue Feb 19 23:46:44 2013 +0200
     1.2 +++ b/libs/dsys2/dsys.c	Wed Feb 20 04:55:03 2013 +0200
     1.3 @@ -357,6 +357,11 @@
     1.4  	return 0;
     1.5  }
     1.6  
     1.7 +void dsys_set_event_eval(struct dsys_event *ev, float (*eval)(struct dsys_event*, demotime_t))
     1.8 +{
     1.9 +	ev->eval = eval;
    1.10 +}
    1.11 +
    1.12  enum dsys_evtype dsys_event_type(struct dsys_event *ev)
    1.13  {
    1.14  	return ev->type;