# HG changeset patch # User Matti Hamalainen # Date 1527809227 -10800 # Node ID 51ce7edd505459bcd0e06895fc66bb875a64d11b # Parent 383ca5f6e78b52a3072512c00d1d0351402234e7 Add few comments. diff -r 383ca5f6e78b -r 51ce7edd5054 src/dmengine.h --- a/src/dmengine.h Fri Jun 01 02:21:24 2018 +0300 +++ b/src/dmengine.h Fri Jun 01 02:27:07 2018 +0300 @@ -122,8 +122,13 @@ char * name; int type; + // init() - called at demo start/loading phase int (*init)(struct DMEngineData *, const struct _DMEffect *eff, void **data); + + // shutdown() - called at demo shutdown void (*shutdown)(struct DMEngineData *, const struct _DMEffect *eff, void *data); + + // called to render a frame int (*render)(struct DMEngineData *, const struct _DMEffect *eff, void *data, const DMTimelineEventParam *params, const int time); int nparams;