changeset 349:65b19a8cc84f

Add event time parameter to effect rendering function.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 16 Oct 2012 01:13:36 +0300
parents c3f32de11458
children 834f3b686ad3
files dmtimeline.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dmtimeline.h	Tue Oct 16 00:39:53 2012 +0300
+++ b/dmtimeline.h	Tue Oct 16 01:13:36 2012 +0300
@@ -81,7 +81,7 @@
     
     int     (*init)(void **data);
     void    (*shutdown)(void *data);
-    int     (*render)(SDL_Surface *screen, void *data, const DMTimelineEventParam *params);
+    int     (*render)(SDL_Surface *screen, void *data, const DMTimelineEventParam *params, const int time);
 
     int     nparams;
     DMTimelineEventParam params[DT_MAX_EFFECT_PARAMS];